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,
14,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
22,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
17,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
6,
55
],
[
55,
56
]
]
| [
"import java.util.Scanner;\n\nclass Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int x = in.nextInt();\n if (x >= 0 && x <= 1) {\n if (x == 0) {\n System.out.println(1);\n } else if (x == 1) {\n System.out.println(0);\n }\n } else {\n System.out.println(\"error\");\n }\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int x = in.nextInt();\n if (x >= 0 && x <= 1) {\n if (x == 0) {\n System.out.println(1);\n } else if (x == 1) {\n System.out.println(0);\n }\n } else {\n System.out.println(\"error\");\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int x = in.nextInt();\n if (x >= 0 && x <= 1) {\n if (x == 0) {\n System.out.println(1);\n } else if (x == 1) {\n System.out.println(0);\n }\n } else {\n System.out.println(\"error\");\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n int x = in.nextInt();\n if (x >= 0 && x <= 1) {\n if (x == 0) {\n System.out.println(1);\n } else if (x == 1) {\n System.out.println(0);\n }\n } else {\n System.out.println(\"error\");\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"if (x >= 0 && x <= 1) {\n if (x == 0) {\n System.out.println(1);\n } else if (x == 1) {\n System.out.println(0);\n }\n } else {\n System.out.println(\"error\");\n }",
"x >= 0 && x <= 1",
"x >= 0",
"x",
"0",
"x <= 1",
"x",
"1",
"{\n if (x == 0) {\n System.out.println(1);\n } else if (x == 1) {\n System.out.println(0);\n }\n }",
"if (x == 0) {\n System.out.println(1);\n } else if (x == 1) {\n System.out.println(0);\n }",
"x == 0",
"x",
"0",
"{\n System.out.println(1);\n }",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"if (x == 1) {\n System.out.println(0);\n }",
"x == 1",
"x",
"1",
"{\n System.out.println(0);\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"{\n System.out.println(\"error\");\n }",
"System.out.println(\"error\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"error\"",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int x = in.nextInt();
if (x >= 0 && x <= 1) {
if (x == 0) {
System.out.println(1);
} else if (x == 1) {
System.out.println(0);
}
} else {
System.out.println("error");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
30,
41,
13,
20,
4,
18,
20,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
8,
2,
13,
17,
17,
17,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
22,
29
],
[
29,
30
],
[
30,
31
],
[
15,
32
],
[
32,
33
],
[
13,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
34,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
40,
53
],
[
53,
54
],
[
40,
55
],
[
55,
56
],
[
34,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
68,
73
],
[
13,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
74,
81
],
[
81,
82
],
[
81,
83
],
[
74,
85
],
[
85,
86
],
[
85,
87
],
[
74,
88
],
[
88,
89
],
[
88,
90
],
[
74,
91
],
[
91,
92
],
[
91,
93
],
[
74,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
97,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
108,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
104,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
126,
127
],
[
127,
128
],
[
96,
129
],
[
129,
130
],
[
74,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
134,
142
],
[
142,
143
],
[
143,
144
],
[
74,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
153,
154
],
[
153,
155
],
[
145,
156
],
[
156,
157
],
[
74,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
162,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
168,
170
],
[
161,
171
],
[
171,
172
],
[
160,
173
],
[
173,
174
],
[
174,
175
],
[
74,
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
],
[
190,
191
],
[
178,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
192,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
197,
200
],
[
196,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
178,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
74,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
212,
216
],
[
216,
217
],
[
211,
218
],
[
218,
219
],
[
218,
220
],
[
211,
221
],
[
221,
222
],
[
221,
223
],
[
211,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
211,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
211,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
245,
246
],
[
245,
247
],
[
240,
248
],
[
248,
249
],
[
249,
250
],
[
211,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
255,
259
],
[
259,
260
],
[
259,
261
],
[
254,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
262,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
268,
270
],
[
254,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
272,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
271,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
283,
287
],
[
271,
288
],
[
288,
289
],
[
289,
290
],
[
253,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
74,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
297,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
306,
308
],
[
303,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
311,
313
],
[
302,
314
],
[
314,
315
],
[
297,
316
],
[
316,
317
],
[
74,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
322,
325
],
[
325,
326
],
[
74,
327
],
[
327,
328
],
[
327,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
329,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
336,
338
],
[
334,
339
],
[
339,
340
],
[
339,
341
],
[
334,
342
],
[
342,
343
],
[
343,
344
],
[
334,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
346,
350
],
[
350,
351
],
[
329,
352
],
[
352,
353
],
[
327,
354
],
[
354,
355
],
[
74,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
359,
360
],
[
359,
361
],
[
358,
363
],
[
363,
364
],
[
364,
365
],
[
365,
366
],
[
365,
367
],
[
363,
368
],
[
368,
369
],
[
368,
370
],
[
363,
371
],
[
371,
372
],
[
372,
373
],
[
363,
374
],
[
374,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
375,
379
],
[
379,
380
],
[
358,
381
],
[
381,
382
],
[
356,
383
],
[
383,
384
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.NoSuchElementException;\n\nclass Main {\n\n static class Solver {\n final FastScanner sc;\n final PrintWriter writer;\n\n Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }\n\n void run() {\n int x = sc.nextInt();\n writer.println(x == 0 ? \"1\" : \"0\");\n }\n }\n\n public static void main(final String[] args) {\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }\n\n // FastScanner\n static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n public FastScanner() {\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"class Main {\n\n static class Solver {\n final FastScanner sc;\n final PrintWriter writer;\n\n Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }\n\n void run() {\n int x = sc.nextInt();\n writer.println(x == 0 ? \"1\" : \"0\");\n }\n }\n\n public static void main(final String[] args) {\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }\n\n // FastScanner\n static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n public FastScanner() {\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n}",
"Main",
"public static void main(final String[] args) {\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }",
"main",
"{\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }",
"final FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }",
"{\n new Solver(sc, w).run();\n w.flush();\n }",
"final PrintWriter w = new PrintWriter(System.out)",
"final PrintWriter w = new PrintWriter(System.out)",
"new PrintWriter(System.out)",
"new Solver(sc, w).run()",
"new Solver(sc, w).run",
"new Solver(sc, w)",
"w.flush()",
"w.flush",
"w",
"final String[] args",
"args",
"static class Solver {\n final FastScanner sc;\n final PrintWriter writer;\n\n Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }\n\n void run() {\n int x = sc.nextInt();\n writer.println(x == 0 ? \"1\" : \"0\");\n }\n }",
"Solver",
"final FastScanner sc;",
"sc",
"final PrintWriter writer;",
"writer",
"Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }",
"Solver",
"{\n this.sc = sc;\n this.writer = writer;\n }",
"this.sc = sc",
"this.sc",
"this",
"this.sc",
"sc",
"this.writer = writer",
"this.writer",
"this",
"this.writer",
"writer",
"final FastScanner sc",
"sc",
"final PrintWriter writer",
"writer",
"void run() {\n int x = sc.nextInt();\n writer.println(x == 0 ? \"1\" : \"0\");\n }",
"run",
"{\n int x = sc.nextInt();\n writer.println(x == 0 ? \"1\" : \"0\");\n }",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"writer.println(x == 0 ? \"1\" : \"0\")",
"writer.println",
"writer",
"x == 0 ? \"1\" : \"0\"",
"x == 0",
"x",
"0",
"\"1\"",
"\"0\"",
"static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n public FastScanner() {\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"public FastScanner() {\n }",
"FastScanner",
"{\n }",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }",
"catch (final IOException e) {\n e.printStackTrace();\n }",
"final IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }",
"readByte",
"{\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }",
"if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }",
"isPrintableChar",
"{\n return 33 <= c && c <= 126;\n }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"final int c",
"c",
"public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }",
"hasNext",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext())\n throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"final StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextLong",
"{\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext())\n throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"nextInt",
"{\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"final long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"nextIntArray",
"{\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"final int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"final int n",
"n",
"public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"nextLongArray",
"{\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"final long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextLong();",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"final int n",
"n"
]
| import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.NoSuchElementException;
class Main {
static class Solver {
final FastScanner sc;
final PrintWriter writer;
Solver(final FastScanner sc, final PrintWriter writer) {
this.sc = sc;
this.writer = writer;
}
void run() {
int x = sc.nextInt();
writer.println(x == 0 ? "1" : "0");
}
}
public static void main(final String[] args) {
final FastScanner sc = new FastScanner();
try (final PrintWriter w = new PrintWriter(System.out)) {
new Solver(sc, w).run();
w.flush();
}
}
// FastScanner
static class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
public FastScanner() {
}
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (final IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte())
return buffer[ptr++];
else
return -1;
}
private boolean isPrintableChar(final int c) {
return 33 <= c && c <= 126;
}
public boolean hasNext() {
while (hasNextByte() && !isPrintableChar(buffer[ptr]))
ptr++;
return hasNextByte();
}
public String next() {
if (!hasNext())
throw new NoSuchElementException();
final StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext())
throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
final long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)
throw new NumberFormatException();
return (int) nl;
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] nextIntArray(final int n) {
final int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextLongArray(final int n) {
final long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
17,
17,
17,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
34,
5
],
[
34,
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
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
22,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
6,
31
],
[
31,
32
],
[
0,
33
],
[
33,
34
],
[
33,
35
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tSystem.out.println(a==1?0:1);\n\t\tscan.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tSystem.out.println(a==1?0:1);\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tSystem.out.println(a==1?0:1);\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tSystem.out.println(a==1?0:1);\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a=scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println(a==1?0:1)",
"System.out.println",
"System.out",
"System",
"System.out",
"a==1?0:1",
"a==1",
"a",
"1",
"0",
"1",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tSystem.out.println(a==1?0:1);\n\t\tscan.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tSystem.out.println(a==1?0:1);\n\t\tscan.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a=scan.nextInt();
System.out.println(a==1?0:1);
scan.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
0,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
39,
8
],
[
39,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
11,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
9,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.util.*;\nimport java.lang.Math;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \t\tint x = sc.nextInt(); \t\n \n \tif(x == 1) x = 0;\n \telse x = 1;\n \n \tSystem.out.println(x);\n \n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \t\tint x = sc.nextInt(); \t\n \n \tif(x == 1) x = 0;\n \telse x = 1;\n \n \tSystem.out.println(x);\n \n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \t\tint x = sc.nextInt(); \t\n \n \tif(x == 1) x = 0;\n \telse x = 1;\n \n \tSystem.out.println(x);\n \n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n \t\tint x = sc.nextInt(); \t\n \n \tif(x == 1) x = 0;\n \telse x = 1;\n \n \tSystem.out.println(x);\n \n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 1) x = 0;\n \telse x = 1;",
"x == 1",
"x",
"1",
"x = 0",
"x",
"0",
"x = 1",
"x",
"1",
"System.out.println(x)",
"System.out.println",
"System.out",
"System",
"System.out",
"x",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \t\tint x = sc.nextInt(); \t\n \n \tif(x == 1) x = 0;\n \telse x = 1;\n \n \tSystem.out.println(x);\n \n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \t\tint x = sc.nextInt(); \t\n \n \tif(x == 1) x = 0;\n \telse x = 1;\n \n \tSystem.out.println(x);\n \n\t}\n}",
"Main"
]
| import java.util.*;
import java.lang.Math;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
if(x == 1) x = 0;
else x = 1;
System.out.println(x);
}
}
|
[
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,
4,
18,
13,
4,
18,
13,
8,
2,
13,
17,
17,
17,
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,
4,
18,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
320,
35
],
[
320,
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
],
[
320,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
82,
87
],
[
71,
88
],
[
88,
89
],
[
71,
90
],
[
90,
91
],
[
71,
92
],
[
92,
93
],
[
320,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
98,
104
],
[
104,
105
],
[
94,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
106,
114
],
[
114,
115
],
[
94,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
94,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
122,
129
],
[
129,
130
],
[
320,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
131,
135
],
[
135,
136
],
[
135,
137
],
[
131,
139
],
[
139,
140
],
[
131,
141
],
[
141,
142
],
[
131,
143
],
[
143,
144
],
[
131,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
145,
153
],
[
153,
154
],
[
131,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
158,
163
],
[
163,
164
],
[
164,
165
],
[
157,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
174,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
183,
186
],
[
170,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
157,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
131,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
202,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
202,
216
],
[
216,
217
],
[
216,
218
],
[
202,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
219,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
223,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
202,
232
],
[
232,
233
],
[
232,
234
],
[
202,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
235,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
246,
248
],
[
241,
249
],
[
249,
250
],
[
250,
251
],
[
240,
252
],
[
252,
253
],
[
252,
254
],
[
240,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
257,
259
],
[
240,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
202,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
131,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
277,
280
],
[
270,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
268,
285
],
[
285,
286
],
[
131,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
290,
291
],
[
294,
292
],
[
304,
293
],
[
301,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
294,
298
],
[
298,
299
],
[
298,
300
],
[
301,
301
],
[
301,
302
],
[
301,
303
],
[
304,
304
],
[
304,
305
],
[
304,
306
],
[
294,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
287,
311
],
[
311,
312
],
[
131,
313
],
[
313,
314
],
[
313,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
0,
319
],
[
319,
320
],
[
319,
321
]
]
| [
"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 */\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 ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ANot {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = in.readInt();\n out.printLine(n == 0 ? 1 : 0);\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 close() {\n writer.close();\n }\n\n public void printLine(int i) {\n writer.println(i);\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 int readInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n 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 ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ANot {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = in.readInt();\n out.printLine(n == 0 ? 1 : 0);\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 close() {\n writer.close();\n }\n\n public void printLine(int i) {\n writer.println(i);\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 int readInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n 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 ANot solver = new ANot();\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 ANot solver = new ANot();\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)",
"ANot solver = new ANot();",
"solver",
"new ANot()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ANot {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = in.readInt();\n out.printLine(n == 0 ? 1 : 0);\n }\n\n }",
"ANot",
"public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = in.readInt();\n out.printLine(n == 0 ? 1 : 0);\n }",
"solve",
"{\n int n = in.readInt();\n out.printLine(n == 0 ? 1 : 0);\n }",
"int n = in.readInt();",
"n",
"in.readInt()",
"in.readInt",
"in",
"out.printLine(n == 0 ? 1 : 0)",
"out.printLine",
"out",
"n == 0 ? 1 : 0",
"n == 0",
"n",
"0",
"1",
"0",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"OutputWriter out",
"out",
"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 close() {\n writer.close();\n }\n\n public void printLine(int i) {\n writer.println(i);\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 close() {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"public void printLine(int i) {\n writer.println(i);\n }",
"printLine",
"{\n writer.println(i);\n }",
"writer.println(i)",
"writer.println",
"writer",
"i",
"int i",
"i",
"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 int readInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n 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 int readInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"readInt",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n 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 ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ANot {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = in.readInt();\n out.printLine(n == 0 ? 1 : 0);\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 close() {\n writer.close();\n }\n\n public void printLine(int i) {\n writer.println(i);\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 int readInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n 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 ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ANot {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = in.readInt();\n out.printLine(n == 0 ? 1 : 0);\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 close() {\n writer.close();\n }\n\n public void printLine(int i) {\n writer.println(i);\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 int readInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n 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
*/
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);
ANot solver = new ANot();
solver.solve(1, in, out);
out.close();
}
static class ANot {
public void solve(int testNumber, InputReader in, OutputWriter out) {
int n = in.readInt();
out.printLine(n == 0 ? 1 : 0);
}
}
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 close() {
writer.close();
}
public void printLine(int i) {
writer.println(i);
}
}
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 int readInt() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public 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,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
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
],
[
66,
35
],
[
66,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
38,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
36,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.io.*;\nimport java.math.*;\nimport java.security.*;\nimport java.text.*;\nimport java.util.*;\nimport java.util.concurrent.*;\nimport java.util.function.*;\nimport java.util.regex.*;\nimport java.util.stream.*;\nimport static java.util.stream.Collectors.joining;\nimport static java.util.stream.Collectors.toList;\n\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner in = new Scanner(System.in);\n int x=in.nextInt();\n if(x==1)\n System.out.println(0);\n else\n System.out.println(1);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.security.*;",
"security.*",
"java",
"import java.text.*;",
"text.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.concurrent.*;",
"concurrent.*",
"java.util",
"import java.util.function.*;",
"function.*",
"java.util",
"import java.util.regex.*;",
"regex.*",
"java.util",
"import java.util.stream.*;",
"stream.*",
"java.util",
"import static java.util.stream.Collectors.joining;",
"import static java.util.stream.Collectors.joining;",
"import static java.util.stream.Collectors.joining;",
"import static java.util.stream.Collectors.toList;",
"import static java.util.stream.Collectors.toList;",
"import static java.util.stream.Collectors.toList;",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner in = new Scanner(System.in);\n int x=in.nextInt();\n if(x==1)\n System.out.println(0);\n else\n System.out.println(1);\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner in = new Scanner(System.in);\n int x=in.nextInt();\n if(x==1)\n System.out.println(0);\n else\n System.out.println(1);\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n int x=in.nextInt();\n if(x==1)\n System.out.println(0);\n else\n System.out.println(1);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int x=in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"if(x==1)\n System.out.println(0);\n else\n System.out.println(1);",
"x==1",
"x",
"1",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"String[] args",
"args",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner in = new Scanner(System.in);\n int x=in.nextInt();\n if(x==1)\n System.out.println(0);\n else\n System.out.println(1);\n }\n}",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner in = new Scanner(System.in);\n int x=in.nextInt();\n if(x==1)\n System.out.println(0);\n else\n System.out.println(1);\n }\n}",
"Main"
]
| import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.function.*;
import java.util.regex.*;
import java.util.stream.*;
import static java.util.stream.Collectors.joining;
import static java.util.stream.Collectors.toList;
public class Main
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
int x=in.nextInt();
if(x==1)
System.out.println(0);
else
System.out.println(1);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
4,
18,
13,
13,
17,
0,
18,
13,
17,
17,
14,
2,
13,
17,
0,
18,
13,
17,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
18,
13,
13,
18,
13,
13,
13,
30,
0,
18,
13,
2,
13,
17,
17,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
30,
0,
18,
13,
2,
13,
17,
17,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
6,
13,
12,
13,
30,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
23,
13,
12,
13,
30,
41,
13,
42,
2,
2,
0,
13,
4,
13,
40,
17,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
41,
13,
20,
42,
2,
13,
40,
17,
30,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
3,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
42,
2,
2,
0,
13,
4,
13,
40,
17,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
41,
13,
20,
42,
2,
13,
40,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
2,
4,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
2,
4,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
2,
13,
17,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
0,
13,
2,
2,
13,
17,
0,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
17,
13,
14,
2,
13,
40,
17,
0,
18,
13,
17,
40,
17,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
14,
2,
13,
13,
4,
13,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
681,
8
],
[
681,
9
],
[
9,
10
],
[
9,
11
],
[
681,
12
],
[
12,
13
],
[
12,
14
],
[
681,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
23,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
17,
37
],
[
37,
38
],
[
38,
39
],
[
17,
40
],
[
40,
41
],
[
41,
42
],
[
15,
43
],
[
43,
44
],
[
681,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
47,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
47,
71
],
[
71,
72
],
[
71,
73
],
[
47,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
74,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
88,
96
],
[
87,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
98,
104
],
[
97,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
109,
111
],
[
97,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
87,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
121,
123
],
[
118,
124
],
[
45,
125
],
[
125,
126
],
[
681,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
135,
136
],
[
129,
137
],
[
137,
138
],
[
137,
139
],
[
129,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
140,
145
],
[
145,
146
],
[
145,
147
],
[
140,
148
],
[
148,
149
],
[
149,
150
],
[
140,
151
],
[
152,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
155,
157
],
[
129,
158
],
[
158,
159
],
[
127,
160
],
[
160,
161
],
[
681,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
164,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
172,
175
],
[
175,
176
],
[
175,
177
],
[
162,
178
],
[
178,
179
],
[
162,
180
],
[
180,
181
],
[
681,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
184,
186
],
[
182,
187
],
[
187,
188
],
[
187,
189
],
[
681,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
192,
194
],
[
681,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
199,
201
],
[
195,
202
],
[
202,
203
],
[
195,
204
],
[
204,
205
],
[
195,
206
],
[
206,
207
],
[
195,
208
],
[
208,
209
],
[
195,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
216,
217
],
[
216,
218
],
[
212,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
222,
224
],
[
195,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
228,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
227,
238
],
[
238,
239
],
[
238,
240
],
[
227,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
244,
246
],
[
225,
247
],
[
247,
248
],
[
195,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
251,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
256,
261
],
[
261,
262
],
[
255,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
268,
269
],
[
268,
270
],
[
263,
271
],
[
271,
272
],
[
271,
273
],
[
251,
274
],
[
274,
275
],
[
274,
276
],
[
251,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
277,
282
],
[
282,
283
],
[
283,
284
],
[
285,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
285,
289
],
[
289,
290
],
[
289,
291
],
[
285,
292
],
[
292,
293
],
[
292,
294
],
[
283,
295
],
[
282,
296
],
[
296,
297
],
[
297,
298
],
[
296,
299
],
[
282,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
251,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
195,
308
],
[
308,
309
],
[
308,
310
],
[
310,
311
],
[
311,
312
],
[
310,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
315,
320
],
[
320,
321
],
[
314,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
323,
327
],
[
327,
328
],
[
327,
329
],
[
322,
330
],
[
330,
331
],
[
330,
332
],
[
310,
333
],
[
333,
334
],
[
333,
335
],
[
310,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
339,
340
],
[
336,
341
],
[
341,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
343,
347
],
[
347,
348
],
[
347,
349
],
[
342,
350
],
[
341,
351
],
[
351,
352
],
[
352,
353
],
[
351,
354
],
[
341,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
310,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
195,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
365,
369
],
[
369,
370
],
[
369,
371
],
[
371,
372
],
[
365,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
373,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
365,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
383,
385
],
[
365,
386
],
[
386,
387
],
[
386,
388
],
[
388,
389
],
[
388,
390
],
[
390,
391
],
[
365,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
394,
399
],
[
393,
400
],
[
400,
401
],
[
400,
402
],
[
392,
403
],
[
403,
404
],
[
403,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
407,
409
],
[
406,
410
],
[
405,
411
],
[
365,
412
],
[
412,
413
],
[
412,
414
],
[
414,
415
],
[
415,
416
],
[
365,
417
],
[
417,
418
],
[
195,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
422,
423
],
[
422,
424
],
[
421,
426
],
[
426,
427
],
[
427,
428
],
[
428,
429
],
[
428,
430
],
[
426,
431
],
[
431,
432
],
[
431,
433
],
[
426,
434
],
[
434,
435
],
[
435,
436
],
[
426,
437
],
[
437,
438
],
[
438,
439
],
[
439,
440
],
[
439,
441
],
[
438,
442
],
[
442,
443
],
[
443,
444
],
[
442,
445
],
[
421,
446
],
[
446,
447
],
[
419,
448
],
[
448,
449
],
[
419,
450
],
[
450,
451
],
[
195,
452
],
[
452,
453
],
[
452,
454
],
[
454,
455
],
[
455,
456
],
[
455,
457
],
[
454,
458
],
[
458,
459
],
[
458,
460
],
[
460,
461
],
[
454,
462
],
[
462,
463
],
[
463,
464
],
[
463,
465
],
[
462,
466
],
[
466,
467
],
[
466,
468
],
[
468,
469
],
[
454,
470
],
[
470,
471
],
[
470,
472
],
[
472,
473
],
[
472,
474
],
[
454,
475
],
[
475,
476
],
[
475,
477
],
[
477,
478
],
[
477,
479
],
[
479,
480
],
[
454,
481
],
[
481,
482
],
[
482,
483
],
[
483,
484
],
[
484,
485
],
[
484,
486
],
[
486,
487
],
[
483,
488
],
[
482,
489
],
[
489,
490
],
[
489,
491
],
[
481,
492
],
[
492,
493
],
[
492,
494
],
[
494,
495
],
[
495,
496
],
[
496,
497
],
[
496,
498
],
[
495,
499
],
[
494,
500
],
[
454,
501
],
[
501,
502
],
[
501,
503
],
[
503,
504
],
[
504,
505
],
[
454,
506
],
[
506,
507
],
[
195,
508
],
[
508,
509
],
[
508,
510
],
[
510,
511
],
[
511,
512
],
[
511,
513
],
[
510,
515
],
[
515,
516
],
[
516,
517
],
[
517,
518
],
[
517,
519
],
[
515,
520
],
[
520,
521
],
[
520,
522
],
[
515,
523
],
[
523,
524
],
[
524,
525
],
[
515,
526
],
[
526,
527
],
[
527,
528
],
[
528,
529
],
[
528,
530
],
[
527,
531
],
[
531,
532
],
[
532,
533
],
[
531,
534
],
[
510,
535
],
[
535,
536
],
[
508,
537
],
[
537,
538
],
[
508,
539
],
[
539,
540
],
[
195,
541
],
[
541,
542
],
[
541,
543
],
[
543,
544
],
[
544,
545
],
[
544,
546
],
[
543,
547
],
[
547,
548
],
[
547,
549
],
[
543,
550
],
[
550,
551
],
[
550,
552
],
[
552,
553
],
[
543,
554
],
[
554,
555
],
[
555,
556
],
[
555,
557
],
[
554,
558
],
[
558,
559
],
[
558,
560
],
[
560,
561
],
[
543,
562
],
[
562,
563
],
[
562,
564
],
[
564,
565
],
[
564,
566
],
[
543,
567
],
[
567,
568
],
[
567,
569
],
[
569,
570
],
[
569,
571
],
[
571,
572
],
[
543,
573
],
[
573,
574
],
[
574,
575
],
[
575,
576
],
[
576,
577
],
[
576,
578
],
[
578,
579
],
[
575,
580
],
[
574,
581
],
[
581,
582
],
[
581,
583
],
[
573,
584
],
[
584,
585
],
[
584,
586
],
[
586,
587
],
[
587,
588
],
[
588,
589
],
[
588,
590
],
[
587,
591
],
[
586,
592
],
[
543,
593
],
[
593,
594
],
[
594,
595
],
[
594,
596
],
[
593,
597
],
[
597,
598
],
[
598,
599
],
[
599,
600
],
[
600,
601
],
[
600,
602
],
[
602,
603
],
[
599,
604
],
[
598,
605
],
[
605,
606
],
[
605,
607
],
[
597,
608
],
[
608,
609
],
[
608,
610
],
[
610,
611
],
[
611,
612
],
[
611,
613
],
[
610,
614
],
[
614,
615
],
[
614,
616
],
[
543,
617
],
[
617,
618
],
[
617,
619
],
[
619,
620
],
[
620,
621
],
[
543,
622
],
[
622,
623
],
[
195,
624
],
[
624,
625
],
[
624,
626
],
[
626,
627
],
[
627,
628
],
[
627,
629
],
[
629,
630
],
[
630,
631
],
[
629,
632
],
[
629,
633
],
[
633,
634
],
[
633,
635
],
[
629,
636
],
[
626,
637
],
[
637,
638
],
[
638,
639
],
[
638,
640
],
[
640,
641
],
[
637,
642
],
[
642,
643
],
[
643,
644
],
[
643,
645
],
[
642,
646
],
[
646,
647
],
[
195,
648
],
[
648,
649
],
[
648,
650
],
[
650,
651
],
[
651,
652
],
[
652,
653
],
[
652,
654
],
[
654,
655
],
[
655,
656
],
[
651,
657
],
[
657,
658
],
[
658,
659
],
[
659,
660
],
[
659,
661
],
[
658,
662
],
[
662,
663
],
[
657,
664
],
[
664,
665
],
[
665,
666
],
[
665,
667
],
[
667,
668
],
[
195,
669
],
[
669,
670
],
[
669,
671
],
[
671,
672
],
[
672,
673
],
[
673,
674
],
[
673,
675
],
[
672,
676
],
[
671,
677
],
[
677,
678
],
[
678,
679
],
[
0,
680
],
[
680,
681
],
[
680,
682
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tstatic final StdIn in = new StdIn();\n\tstatic final PrintWriter out = new PrintWriter(System.out);\n\n\tpublic static void main(String[] args) {\n int n = in.nextInt();\n\n\t\tif(n == 1) {\n\t\t\tout.println(\"0\");\n\t\t} else {\n\t\t\tout.println(\"1\");\n\t\t}\n\t\t\n \n\n out.println();\n\n\t\tout.close();\n }\n\n \n\n static class Pair {\n int first = 1;\n int second = 2;\n }\n\n public void fibonacci(int N) {\n boolean arr[] = new boolean[N];\n Arrays.fill(arr, false);\n arr[0] = true;\n if(N>1)\n arr[1] = true;\n\n Pair p = new Pair();\n for (int i = 3; i <= N; i++) {\n \n if(p.first + p.second == i) {\n arr[i-1] = true;\n p.first = p.second;\n p.second = i;\n } else {\n arr[i-1] = false;\n }\n }\n }\n\n public class Solver {\n\t\tSolver() {\n\t\t\t\n }\n \n }\n\n static long factorial(long x) {\n if(x <= 1) {\n return 1;\n }\n long res = 2;\n for (int i = 3; i <= x; i++) {\n res = res * i;\n }\n return res;\n }\n \n static long gcdOfFactorial(long a, long b) { \n if (b == 0) \n return a; \n return gcdOfFactorial(b, a % b);\n } \n\t\n\tstatic class StdIn {\n\t\tfinal private int BUFFER_SIZE = 1 << 16;\n\t\tprivate DataInputStream din;\n\t\tprivate byte[] buffer;\n\t\tprivate int bufferPointer, bytesRead;\n\t\tpublic StdIn() {\n\t\t\tdin = new DataInputStream(System.in);\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\t\tpublic StdIn(InputStream in) {\n\t\t\ttry{\n\t\t\t\tdin = new DataInputStream(in);\n\t\t\t} catch(Exception e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\t\tpublic String next() {\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == ' ' || c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc=read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}\n\t\tpublic String nextLine() {\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc = read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\tint ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tpublic int[] readIntArray(int n, int os) {\n\t\t\tint[] ar = new int[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextInt()+os;\n\t\t\treturn ar;\n\t\t}\n\t\tpublic long nextLong() {\n\t\t\tlong ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tpublic long[] readLongArray(int n, long os) {\n\t\t\tlong[] ar = new long[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextLong()+os;\n\t\t\treturn ar;\n\t\t}\n\t\tpublic double nextDouble() {\n\t\t\tdouble ret = 0, div = 1;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (c == '.')\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9')\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tprivate void fillBuffer() throws IOException {\n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n\t\t\tif (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;\n\t\t}\n\t\tprivate byte read() {\n\t\t\ttry{\n\t\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\t\tfillBuffer();\n\t\t\t\treturn buffer[bufferPointer++];\n\t\t\t} catch(IOException e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t}\n\t\tpublic void close() throws IOException {\n\t\t\tif (din == null)\n\t\t\t\treturn;\n\t\t\tdin.close();\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tstatic final StdIn in = new StdIn();\n\tstatic final PrintWriter out = new PrintWriter(System.out);\n\n\tpublic static void main(String[] args) {\n int n = in.nextInt();\n\n\t\tif(n == 1) {\n\t\t\tout.println(\"0\");\n\t\t} else {\n\t\t\tout.println(\"1\");\n\t\t}\n\t\t\n \n\n out.println();\n\n\t\tout.close();\n }\n\n \n\n static class Pair {\n int first = 1;\n int second = 2;\n }\n\n public void fibonacci(int N) {\n boolean arr[] = new boolean[N];\n Arrays.fill(arr, false);\n arr[0] = true;\n if(N>1)\n arr[1] = true;\n\n Pair p = new Pair();\n for (int i = 3; i <= N; i++) {\n \n if(p.first + p.second == i) {\n arr[i-1] = true;\n p.first = p.second;\n p.second = i;\n } else {\n arr[i-1] = false;\n }\n }\n }\n\n public class Solver {\n\t\tSolver() {\n\t\t\t\n }\n \n }\n\n static long factorial(long x) {\n if(x <= 1) {\n return 1;\n }\n long res = 2;\n for (int i = 3; i <= x; i++) {\n res = res * i;\n }\n return res;\n }\n \n static long gcdOfFactorial(long a, long b) { \n if (b == 0) \n return a; \n return gcdOfFactorial(b, a % b);\n } \n\t\n\tstatic class StdIn {\n\t\tfinal private int BUFFER_SIZE = 1 << 16;\n\t\tprivate DataInputStream din;\n\t\tprivate byte[] buffer;\n\t\tprivate int bufferPointer, bytesRead;\n\t\tpublic StdIn() {\n\t\t\tdin = new DataInputStream(System.in);\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\t\tpublic StdIn(InputStream in) {\n\t\t\ttry{\n\t\t\t\tdin = new DataInputStream(in);\n\t\t\t} catch(Exception e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\t\tpublic String next() {\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == ' ' || c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc=read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}\n\t\tpublic String nextLine() {\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc = read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\tint ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tpublic int[] readIntArray(int n, int os) {\n\t\t\tint[] ar = new int[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextInt()+os;\n\t\t\treturn ar;\n\t\t}\n\t\tpublic long nextLong() {\n\t\t\tlong ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tpublic long[] readLongArray(int n, long os) {\n\t\t\tlong[] ar = new long[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextLong()+os;\n\t\t\treturn ar;\n\t\t}\n\t\tpublic double nextDouble() {\n\t\t\tdouble ret = 0, div = 1;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (c == '.')\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9')\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tprivate void fillBuffer() throws IOException {\n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n\t\t\tif (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;\n\t\t}\n\t\tprivate byte read() {\n\t\t\ttry{\n\t\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\t\tfillBuffer();\n\t\t\t\treturn buffer[bufferPointer++];\n\t\t\t} catch(IOException e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t}\n\t\tpublic void close() throws IOException {\n\t\t\tif (din == null)\n\t\t\t\treturn;\n\t\t\tdin.close();\n\t\t}\n\t}\n}",
"Main",
"static final StdIn in = new StdIn();",
"in",
"new StdIn()",
"static final PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public static void main(String[] args) {\n int n = in.nextInt();\n\n\t\tif(n == 1) {\n\t\t\tout.println(\"0\");\n\t\t} else {\n\t\t\tout.println(\"1\");\n\t\t}\n\t\t\n \n\n out.println();\n\n\t\tout.close();\n }",
"main",
"{\n int n = in.nextInt();\n\n\t\tif(n == 1) {\n\t\t\tout.println(\"0\");\n\t\t} else {\n\t\t\tout.println(\"1\");\n\t\t}\n\t\t\n \n\n out.println();\n\n\t\tout.close();\n }",
"int n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"if(n == 1) {\n\t\t\tout.println(\"0\");\n\t\t} else {\n\t\t\tout.println(\"1\");\n\t\t}",
"n == 1",
"n",
"1",
"{\n\t\t\tout.println(\"0\");\n\t\t}",
"out.println(\"0\")",
"out.println",
"out",
"\"0\"",
"{\n\t\t\tout.println(\"1\");\n\t\t}",
"out.println(\"1\")",
"out.println",
"out",
"\"1\"",
"out.println()",
"out.println",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public void fibonacci(int N) {\n boolean arr[] = new boolean[N];\n Arrays.fill(arr, false);\n arr[0] = true;\n if(N>1)\n arr[1] = true;\n\n Pair p = new Pair();\n for (int i = 3; i <= N; i++) {\n \n if(p.first + p.second == i) {\n arr[i-1] = true;\n p.first = p.second;\n p.second = i;\n } else {\n arr[i-1] = false;\n }\n }\n }",
"fibonacci",
"{\n boolean arr[] = new boolean[N];\n Arrays.fill(arr, false);\n arr[0] = true;\n if(N>1)\n arr[1] = true;\n\n Pair p = new Pair();\n for (int i = 3; i <= N; i++) {\n \n if(p.first + p.second == i) {\n arr[i-1] = true;\n p.first = p.second;\n p.second = i;\n } else {\n arr[i-1] = false;\n }\n }\n }",
"boolean arr[] = new boolean[N];",
"arr",
"new boolean[N]",
"N",
"Arrays.fill(arr, false)",
"Arrays.fill",
"Arrays",
"arr",
"false",
"arr[0] = true",
"arr[0]",
"arr",
"0",
"true",
"if(N>1)\n arr[1] = true;",
"N>1",
"N",
"1",
"arr[1] = true",
"arr[1]",
"arr",
"1",
"true",
"Pair p = new Pair();",
"p",
"new Pair()",
"for (int i = 3; i <= N; i++) {\n \n if(p.first + p.second == i) {\n arr[i-1] = true;\n p.first = p.second;\n p.second = i;\n } else {\n arr[i-1] = false;\n }\n }",
"int i = 3;",
"int i = 3;",
"i",
"3",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n \n if(p.first + p.second == i) {\n arr[i-1] = true;\n p.first = p.second;\n p.second = i;\n } else {\n arr[i-1] = false;\n }\n }",
"{\n \n if(p.first + p.second == i) {\n arr[i-1] = true;\n p.first = p.second;\n p.second = i;\n } else {\n arr[i-1] = false;\n }\n }",
"if(p.first + p.second == i) {\n arr[i-1] = true;\n p.first = p.second;\n p.second = i;\n } else {\n arr[i-1] = false;\n }",
"p.first + p.second == i",
"p.first + p.second",
"p.first",
"p",
"p.first",
"p.second",
"p",
"p.second",
"i",
"{\n arr[i-1] = true;\n p.first = p.second;\n p.second = i;\n }",
"arr[i-1] = true",
"arr[i-1]",
"arr",
"i-1",
"i",
"1",
"true",
"p.first = p.second",
"p.first",
"p",
"p.first",
"p.second",
"p",
"p.second",
"p.second = i",
"p.second",
"p",
"p.second",
"i",
"{\n arr[i-1] = false;\n }",
"arr[i-1] = false",
"arr[i-1]",
"arr",
"i-1",
"i",
"1",
"false",
"int N",
"N",
"static long factorial(long x) {\n if(x <= 1) {\n return 1;\n }\n long res = 2;\n for (int i = 3; i <= x; i++) {\n res = res * i;\n }\n return res;\n }",
"factorial",
"{\n if(x <= 1) {\n return 1;\n }\n long res = 2;\n for (int i = 3; i <= x; i++) {\n res = res * i;\n }\n return res;\n }",
"if(x <= 1) {\n return 1;\n }",
"x <= 1",
"x",
"1",
"{\n return 1;\n }",
"return 1;",
"1",
"long res = 2;",
"res",
"2",
"for (int i = 3; i <= x; i++) {\n res = res * i;\n }",
"int i = 3;",
"int i = 3;",
"i",
"3",
"i <= x",
"i",
"x",
"i++",
"i++",
"i",
"{\n res = res * i;\n }",
"{\n res = res * i;\n }",
"res = res * i",
"res",
"res * i",
"res",
"i",
"return res;",
"res",
"long x",
"x",
"static long gcdOfFactorial(long a, long b) { \n if (b == 0) \n return a; \n return gcdOfFactorial(b, a % b);\n }",
"gcdOfFactorial",
"{ \n if (b == 0) \n return a; \n return gcdOfFactorial(b, a % b);\n }",
"if (b == 0) \n return a;",
"b == 0",
"b",
"0",
"return a;",
"a",
"return gcdOfFactorial(b, a % b);",
"gcdOfFactorial(b, a % b)",
"gcdOfFactorial",
"b",
"a % b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static class Pair {\n int first = 1;\n int second = 2;\n }",
"Pair",
"int first = 1;",
"first",
"1",
"int second = 2;",
"second",
"2",
"public class Solver {\n\t\tSolver() {\n\t\t\t\n }\n \n }",
"Solver",
"Solver() {\n\t\t\t\n }",
"Solver",
"{\n\t\t\t\n }",
"static class StdIn {\n\t\tfinal private int BUFFER_SIZE = 1 << 16;\n\t\tprivate DataInputStream din;\n\t\tprivate byte[] buffer;\n\t\tprivate int bufferPointer, bytesRead;\n\t\tpublic StdIn() {\n\t\t\tdin = new DataInputStream(System.in);\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\t\tpublic StdIn(InputStream in) {\n\t\t\ttry{\n\t\t\t\tdin = new DataInputStream(in);\n\t\t\t} catch(Exception e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\t\tpublic String next() {\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == ' ' || c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc=read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}\n\t\tpublic String nextLine() {\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc = read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\tint ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tpublic int[] readIntArray(int n, int os) {\n\t\t\tint[] ar = new int[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextInt()+os;\n\t\t\treturn ar;\n\t\t}\n\t\tpublic long nextLong() {\n\t\t\tlong ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tpublic long[] readLongArray(int n, long os) {\n\t\t\tlong[] ar = new long[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextLong()+os;\n\t\t\treturn ar;\n\t\t}\n\t\tpublic double nextDouble() {\n\t\t\tdouble ret = 0, div = 1;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (c == '.')\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9')\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tprivate void fillBuffer() throws IOException {\n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n\t\t\tif (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;\n\t\t}\n\t\tprivate byte read() {\n\t\t\ttry{\n\t\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\t\tfillBuffer();\n\t\t\t\treturn buffer[bufferPointer++];\n\t\t\t} catch(IOException e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t}\n\t\tpublic void close() throws IOException {\n\t\t\tif (din == null)\n\t\t\t\treturn;\n\t\t\tdin.close();\n\t\t}\n\t}",
"StdIn",
"final private int BUFFER_SIZE = 1 << 16;",
"BUFFER_SIZE",
"1 << 16",
"1",
"16",
"private DataInputStream din;",
"din",
"private byte[] buffer;",
"buffer",
"private int bufferPointer",
"bufferPointer",
"bytesRead;",
"bytesRead",
"public StdIn() {\n\t\t\tdin = new DataInputStream(System.in);\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}",
"StdIn",
"{\n\t\t\tdin = new DataInputStream(System.in);\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}",
"din = new DataInputStream(System.in)",
"din",
"new DataInputStream(System.in)",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"public StdIn(InputStream in) {\n\t\t\ttry{\n\t\t\t\tdin = new DataInputStream(in);\n\t\t\t} catch(Exception e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}",
"StdIn",
"{\n\t\t\ttry{\n\t\t\t\tdin = new DataInputStream(in);\n\t\t\t} catch(Exception e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}",
"try{\n\t\t\t\tdin = new DataInputStream(in);\n\t\t\t} catch(Exception e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}",
"catch(Exception e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}",
"throw new RuntimeException();",
"new RuntimeException()",
"{\n\t\t\t\tdin = new DataInputStream(in);\n\t\t\t}",
"din = new DataInputStream(in)",
"din",
"new DataInputStream(in)",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"InputStream in",
"in",
"public String next() {\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == ' ' || c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc=read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}",
"next",
"{\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == ' ' || c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc=read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}",
"int c;",
"c",
"while((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));",
"(c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r')",
"(c=read())!=-1",
"(c=read())",
"c",
"read()",
"read",
"-1",
"1",
"(c==' '||c=='\\n'||c=='\\r')",
"c==' '||c=='\\n'||c=='\\r'",
"c==' '",
"c",
"' '",
"c=='\\n'",
"c",
"'\\n'",
"c=='\\r'",
"c",
"'\\r'",
"StringBuilder s = new StringBuilder();",
"s",
"new StringBuilder()",
"while (c != -1)\n\t\t\t{\n\t\t\t\tif (c == ' ' || c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc=read();\n\t\t\t}",
"c != -1",
"c",
"-1",
"1",
"{\n\t\t\t\tif (c == ' ' || c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc=read();\n\t\t\t}",
"if (c == ' ' || c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;",
"c == ' ' || c == '\\n'||c=='\\r'",
"c == ' ' || c == '\\n'||c=='\\r'",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c=='\\r'",
"c",
"'\\r'",
"break;",
"s.append((char)c)",
"s.append",
"s",
"(char)c",
"c=read()",
"c",
"read()",
"read",
"return s.toString();",
"s.toString()",
"s.toString",
"s",
"public String nextLine() {\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc = read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}",
"nextLine",
"{\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc = read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}",
"int c;",
"c",
"while((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));",
"(c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r')",
"(c=read())!=-1",
"(c=read())",
"c",
"read()",
"read",
"-1",
"1",
"(c==' '||c=='\\n'||c=='\\r')",
"c==' '||c=='\\n'||c=='\\r'",
"c==' '",
"c",
"' '",
"c=='\\n'",
"c",
"'\\n'",
"c=='\\r'",
"c",
"'\\r'",
"StringBuilder s = new StringBuilder();",
"s",
"new StringBuilder()",
"while (c != -1)\n\t\t\t{\n\t\t\t\tif (c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc = read();\n\t\t\t}",
"c != -1",
"c",
"-1",
"1",
"{\n\t\t\t\tif (c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc = read();\n\t\t\t}",
"if (c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;",
"c == '\\n'||c=='\\r'",
"c == '\\n'",
"c",
"'\\n'",
"c=='\\r'",
"c",
"'\\r'",
"break;",
"s.append((char)c)",
"s.append",
"s",
"(char)c",
"c = read()",
"c",
"read()",
"read",
"return s.toString();",
"s.toString()",
"s.toString",
"s",
"public int nextInt() {\n\t\t\tint ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}",
"nextInt",
"{\n\t\t\tint ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}",
"int ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n\t\t\t\tc = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n\t\t\t\tc = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg)\n\t\t\t\treturn -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public int[] readIntArray(int n, int os) {\n\t\t\tint[] ar = new int[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextInt()+os;\n\t\t\treturn ar;\n\t\t}",
"readIntArray",
"{\n\t\t\tint[] ar = new int[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextInt()+os;\n\t\t\treturn ar;\n\t\t}",
"int[] ar = new int[n];",
"ar",
"new int[n]",
"n",
"for(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextInt()+os;",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"++i",
"++i",
"i",
"ar[i]=nextInt()+os;",
"ar[i]=nextInt()+os",
"ar[i]",
"ar",
"i",
"nextInt()+os",
"nextInt()",
"nextInt",
"os",
"return ar;",
"ar",
"int n",
"n",
"int os",
"os",
"public long nextLong() {\n\t\t\tlong ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}",
"nextLong",
"{\n\t\t\tlong ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}",
"long ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n\t\t\t\tc = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n\t\t\t\tc = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg)\n\t\t\t\treturn -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public long[] readLongArray(int n, long os) {\n\t\t\tlong[] ar = new long[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextLong()+os;\n\t\t\treturn ar;\n\t\t}",
"readLongArray",
"{\n\t\t\tlong[] ar = new long[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextLong()+os;\n\t\t\treturn ar;\n\t\t}",
"long[] ar = new long[n];",
"ar",
"new long[n]",
"n",
"for(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextLong()+os;",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"++i",
"++i",
"i",
"ar[i]=nextLong()+os;",
"ar[i]=nextLong()+os",
"ar[i]",
"ar",
"i",
"nextLong()+os",
"nextLong()",
"nextLong",
"os",
"return ar;",
"ar",
"int n",
"n",
"long os",
"os",
"public double nextDouble() {\n\t\t\tdouble ret = 0, div = 1;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (c == '.')\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9')\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}",
"nextDouble",
"{\n\t\t\tdouble ret = 0, div = 1;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (c == '.')\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9')\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}",
"double ret = 0",
"ret",
"0",
"div = 1;",
"div",
"1",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n\t\t\t\tc = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n\t\t\t\tc = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (c == '.')\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9')\n\t\t\t\t\tret += (c - '0') / (div *= 10);",
"c == '.'",
"c",
"'.'",
"while ((c = read()) >= '0' && c <= '9')\n\t\t\t\t\tret += (c - '0') / (div *= 10);",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"ret += (c - '0') / (div *= 10)",
"ret",
"(c - '0') / (div *= 10)",
"(c - '0')",
"c",
"'0'",
"(div *= 10)",
"div",
"10",
"if (neg)\n\t\t\t\treturn -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"private void fillBuffer() throws IOException {\n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n\t\t\tif (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;\n\t\t}",
"fillBuffer",
"{\n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n\t\t\tif (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;\n\t\t}",
"bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"bytesRead",
"din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"din.read",
"din",
"buffer",
"bufferPointer = 0",
"bufferPointer",
"0",
"BUFFER_SIZE",
"if (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;",
"bytesRead == -1",
"bytesRead",
"-1",
"1",
"buffer[0] = -1",
"buffer[0]",
"buffer",
"0",
"-1",
"1",
"private byte read() {\n\t\t\ttry{\n\t\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\t\tfillBuffer();\n\t\t\t\treturn buffer[bufferPointer++];\n\t\t\t} catch(IOException e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t}",
"read",
"{\n\t\t\ttry{\n\t\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\t\tfillBuffer();\n\t\t\t\treturn buffer[bufferPointer++];\n\t\t\t} catch(IOException e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\t\tfillBuffer();\n\t\t\t\treturn buffer[bufferPointer++];\n\t\t\t} catch(IOException e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}",
"catch(IOException e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}",
"throw new RuntimeException();",
"new RuntimeException()",
"{\n\t\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\t\tfillBuffer();\n\t\t\t\treturn buffer[bufferPointer++];\n\t\t\t}",
"if (bufferPointer == bytesRead)\n\t\t\t\t\tfillBuffer();",
"bufferPointer == bytesRead",
"bufferPointer",
"bytesRead",
"fillBuffer()",
"fillBuffer",
"return buffer[bufferPointer++];",
"buffer[bufferPointer++]",
"buffer",
"bufferPointer++",
"bufferPointer",
"public void close() throws IOException {\n\t\t\tif (din == null)\n\t\t\t\treturn;\n\t\t\tdin.close();\n\t\t}",
"close",
"{\n\t\t\tif (din == null)\n\t\t\t\treturn;\n\t\t\tdin.close();\n\t\t}",
"if (din == null)\n\t\t\t\treturn;",
"din == null",
"din",
"null",
"return;",
"din.close()",
"din.close",
"din",
"public class Main {\n\tstatic final StdIn in = new StdIn();\n\tstatic final PrintWriter out = new PrintWriter(System.out);\n\n\tpublic static void main(String[] args) {\n int n = in.nextInt();\n\n\t\tif(n == 1) {\n\t\t\tout.println(\"0\");\n\t\t} else {\n\t\t\tout.println(\"1\");\n\t\t}\n\t\t\n \n\n out.println();\n\n\t\tout.close();\n }\n\n \n\n static class Pair {\n int first = 1;\n int second = 2;\n }\n\n public void fibonacci(int N) {\n boolean arr[] = new boolean[N];\n Arrays.fill(arr, false);\n arr[0] = true;\n if(N>1)\n arr[1] = true;\n\n Pair p = new Pair();\n for (int i = 3; i <= N; i++) {\n \n if(p.first + p.second == i) {\n arr[i-1] = true;\n p.first = p.second;\n p.second = i;\n } else {\n arr[i-1] = false;\n }\n }\n }\n\n public class Solver {\n\t\tSolver() {\n\t\t\t\n }\n \n }\n\n static long factorial(long x) {\n if(x <= 1) {\n return 1;\n }\n long res = 2;\n for (int i = 3; i <= x; i++) {\n res = res * i;\n }\n return res;\n }\n \n static long gcdOfFactorial(long a, long b) { \n if (b == 0) \n return a; \n return gcdOfFactorial(b, a % b);\n } \n\t\n\tstatic class StdIn {\n\t\tfinal private int BUFFER_SIZE = 1 << 16;\n\t\tprivate DataInputStream din;\n\t\tprivate byte[] buffer;\n\t\tprivate int bufferPointer, bytesRead;\n\t\tpublic StdIn() {\n\t\t\tdin = new DataInputStream(System.in);\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\t\tpublic StdIn(InputStream in) {\n\t\t\ttry{\n\t\t\t\tdin = new DataInputStream(in);\n\t\t\t} catch(Exception e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\t\tpublic String next() {\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == ' ' || c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc=read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}\n\t\tpublic String nextLine() {\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc = read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\tint ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tpublic int[] readIntArray(int n, int os) {\n\t\t\tint[] ar = new int[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextInt()+os;\n\t\t\treturn ar;\n\t\t}\n\t\tpublic long nextLong() {\n\t\t\tlong ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tpublic long[] readLongArray(int n, long os) {\n\t\t\tlong[] ar = new long[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextLong()+os;\n\t\t\treturn ar;\n\t\t}\n\t\tpublic double nextDouble() {\n\t\t\tdouble ret = 0, div = 1;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (c == '.')\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9')\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tprivate void fillBuffer() throws IOException {\n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n\t\t\tif (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;\n\t\t}\n\t\tprivate byte read() {\n\t\t\ttry{\n\t\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\t\tfillBuffer();\n\t\t\t\treturn buffer[bufferPointer++];\n\t\t\t} catch(IOException e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t}\n\t\tpublic void close() throws IOException {\n\t\t\tif (din == null)\n\t\t\t\treturn;\n\t\t\tdin.close();\n\t\t}\n\t}\n}",
"public class Main {\n\tstatic final StdIn in = new StdIn();\n\tstatic final PrintWriter out = new PrintWriter(System.out);\n\n\tpublic static void main(String[] args) {\n int n = in.nextInt();\n\n\t\tif(n == 1) {\n\t\t\tout.println(\"0\");\n\t\t} else {\n\t\t\tout.println(\"1\");\n\t\t}\n\t\t\n \n\n out.println();\n\n\t\tout.close();\n }\n\n \n\n static class Pair {\n int first = 1;\n int second = 2;\n }\n\n public void fibonacci(int N) {\n boolean arr[] = new boolean[N];\n Arrays.fill(arr, false);\n arr[0] = true;\n if(N>1)\n arr[1] = true;\n\n Pair p = new Pair();\n for (int i = 3; i <= N; i++) {\n \n if(p.first + p.second == i) {\n arr[i-1] = true;\n p.first = p.second;\n p.second = i;\n } else {\n arr[i-1] = false;\n }\n }\n }\n\n public class Solver {\n\t\tSolver() {\n\t\t\t\n }\n \n }\n\n static long factorial(long x) {\n if(x <= 1) {\n return 1;\n }\n long res = 2;\n for (int i = 3; i <= x; i++) {\n res = res * i;\n }\n return res;\n }\n \n static long gcdOfFactorial(long a, long b) { \n if (b == 0) \n return a; \n return gcdOfFactorial(b, a % b);\n } \n\t\n\tstatic class StdIn {\n\t\tfinal private int BUFFER_SIZE = 1 << 16;\n\t\tprivate DataInputStream din;\n\t\tprivate byte[] buffer;\n\t\tprivate int bufferPointer, bytesRead;\n\t\tpublic StdIn() {\n\t\t\tdin = new DataInputStream(System.in);\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\t\tpublic StdIn(InputStream in) {\n\t\t\ttry{\n\t\t\t\tdin = new DataInputStream(in);\n\t\t\t} catch(Exception e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\t\tpublic String next() {\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == ' ' || c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc=read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}\n\t\tpublic String nextLine() {\n\t\t\tint c;\n\t\t\twhile((c=read())!=-1&&(c==' '||c=='\\n'||c=='\\r'));\n\t\t\tStringBuilder s = new StringBuilder();\n\t\t\twhile (c != -1)\n\t\t\t{\n\t\t\t\tif (c == '\\n'||c=='\\r')\n\t\t\t\t\tbreak;\n\t\t\t\ts.append((char)c);\n\t\t\t\tc = read();\n\t\t\t}\n\t\t\treturn s.toString();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\tint ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tpublic int[] readIntArray(int n, int os) {\n\t\t\tint[] ar = new int[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextInt()+os;\n\t\t\treturn ar;\n\t\t}\n\t\tpublic long nextLong() {\n\t\t\tlong ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tpublic long[] readLongArray(int n, long os) {\n\t\t\tlong[] ar = new long[n];\n\t\t\tfor(int i=0; i<n; ++i)\n\t\t\t\tar[i]=nextLong()+os;\n\t\t\treturn ar;\n\t\t}\n\t\tpublic double nextDouble() {\n\t\t\tdouble ret = 0, div = 1;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\twhile ((c = read()) >= '0' && c <= '9');\n\t\t\tif (c == '.')\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9')\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\t\tprivate void fillBuffer() throws IOException {\n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n\t\t\tif (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;\n\t\t}\n\t\tprivate byte read() {\n\t\t\ttry{\n\t\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\t\tfillBuffer();\n\t\t\t\treturn buffer[bufferPointer++];\n\t\t\t} catch(IOException e) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t}\n\t\tpublic void close() throws IOException {\n\t\t\tif (din == null)\n\t\t\t\treturn;\n\t\t\tdin.close();\n\t\t}\n\t}\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
static final StdIn in = new StdIn();
static final PrintWriter out = new PrintWriter(System.out);
public static void main(String[] args) {
int n = in.nextInt();
if(n == 1) {
out.println("0");
} else {
out.println("1");
}
out.println();
out.close();
}
static class Pair {
int first = 1;
int second = 2;
}
public void fibonacci(int N) {
boolean arr[] = new boolean[N];
Arrays.fill(arr, false);
arr[0] = true;
if(N>1)
arr[1] = true;
Pair p = new Pair();
for (int i = 3; i <= N; i++) {
if(p.first + p.second == i) {
arr[i-1] = true;
p.first = p.second;
p.second = i;
} else {
arr[i-1] = false;
}
}
}
public class Solver {
Solver() {
}
}
static long factorial(long x) {
if(x <= 1) {
return 1;
}
long res = 2;
for (int i = 3; i <= x; i++) {
res = res * i;
}
return res;
}
static long gcdOfFactorial(long a, long b) {
if (b == 0)
return a;
return gcdOfFactorial(b, a % b);
}
static class StdIn {
final private int BUFFER_SIZE = 1 << 16;
private DataInputStream din;
private byte[] buffer;
private int bufferPointer, bytesRead;
public StdIn() {
din = new DataInputStream(System.in);
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public StdIn(InputStream in) {
try{
din = new DataInputStream(in);
} catch(Exception e) {
throw new RuntimeException();
}
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public String next() {
int c;
while((c=read())!=-1&&(c==' '||c=='\n'||c=='\r'));
StringBuilder s = new StringBuilder();
while (c != -1)
{
if (c == ' ' || c == '\n'||c=='\r')
break;
s.append((char)c);
c=read();
}
return s.toString();
}
public String nextLine() {
int c;
while((c=read())!=-1&&(c==' '||c=='\n'||c=='\r'));
StringBuilder s = new StringBuilder();
while (c != -1)
{
if (c == '\n'||c=='\r')
break;
s.append((char)c);
c = read();
}
return s.toString();
}
public int nextInt() {
int ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do
ret = ret * 10 + c - '0';
while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public int[] readIntArray(int n, int os) {
int[] ar = new int[n];
for(int i=0; i<n; ++i)
ar[i]=nextInt()+os;
return ar;
}
public long nextLong() {
long ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do
ret = ret * 10 + c - '0';
while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public long[] readLongArray(int n, long os) {
long[] ar = new long[n];
for(int i=0; i<n; ++i)
ar[i]=nextLong()+os;
return ar;
}
public double nextDouble() {
double ret = 0, div = 1;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do
ret = ret * 10 + c - '0';
while ((c = read()) >= '0' && c <= '9');
if (c == '.')
while ((c = read()) >= '0' && c <= '9')
ret += (c - '0') / (div *= 10);
if (neg)
return -ret;
return ret;
}
private void fillBuffer() throws IOException {
bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);
if (bytesRead == -1)
buffer[0] = -1;
}
private byte read() {
try{
if (bufferPointer == bytesRead)
fillBuffer();
return buffer[bufferPointer++];
} catch(IOException e) {
throw new RuntimeException();
}
}
public void close() throws IOException {
if (din == null)
return;
din.close();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
6,
25
],
[
25,
26
]
]
| [
"import java.util.*;\n\nclass Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n System.out.println(n ^ 1);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n System.out.println(n ^ 1);\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n System.out.println(n ^ 1);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n System.out.println(n ^ 1);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(n ^ 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"n ^ 1",
"n",
"1",
"String args[]",
"args"
]
| import java.util.*;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
System.out.println(n ^ 1);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
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
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.*;\npublic class Main {\n public static void main (String [] args) {\n Scanner it = new Scanner (System.in); \n int a = it.nextInt();\n if (a == 1) {\n System.out.println(\"0\");\n }\n else if (a == 0){\n System.out.println(\"1\"); \n }\n }\n \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main (String [] args) {\n Scanner it = new Scanner (System.in); \n int a = it.nextInt();\n if (a == 1) {\n System.out.println(\"0\");\n }\n else if (a == 0){\n System.out.println(\"1\"); \n }\n }\n \n}",
"Main",
"public static void main (String [] args) {\n Scanner it = new Scanner (System.in); \n int a = it.nextInt();\n if (a == 1) {\n System.out.println(\"0\");\n }\n else if (a == 0){\n System.out.println(\"1\"); \n }\n }",
"main",
"{\n Scanner it = new Scanner (System.in); \n int a = it.nextInt();\n if (a == 1) {\n System.out.println(\"0\");\n }\n else if (a == 0){\n System.out.println(\"1\"); \n }\n }",
"Scanner it = new Scanner (System.in);",
"it",
"new Scanner (System.in)",
"int a = it.nextInt();",
"a",
"it.nextInt()",
"it.nextInt",
"it",
"if (a == 1) {\n System.out.println(\"0\");\n }\n else if (a == 0){\n System.out.println(\"1\"); \n }",
"a == 1",
"a",
"1",
"{\n System.out.println(\"0\");\n }",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"if (a == 0){\n System.out.println(\"1\"); \n }",
"a == 0",
"a",
"0",
"{\n System.out.println(\"1\"); \n }",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"String [] args",
"args",
"public class Main {\n public static void main (String [] args) {\n Scanner it = new Scanner (System.in); \n int a = it.nextInt();\n if (a == 1) {\n System.out.println(\"0\");\n }\n else if (a == 0){\n System.out.println(\"1\"); \n }\n }\n \n}",
"public class Main {\n public static void main (String [] args) {\n Scanner it = new Scanner (System.in); \n int a = it.nextInt();\n if (a == 1) {\n System.out.println(\"0\");\n }\n else if (a == 0){\n System.out.println(\"1\"); \n }\n }\n \n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main (String [] args) {
Scanner it = new Scanner (System.in);
int a = it.nextInt();
if (a == 1) {
System.out.println("0");
}
else if (a == 0){
System.out.println("1");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
2,
17,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
13,
2,
13,
13,
2,
2,
13,
13,
2,
13,
13,
23,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
18,
13,
13,
30,
29,
2,
13,
18,
13,
13,
29,
2,
13,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
17,
17,
13,
17,
13,
17,
13,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
18,
13,
13,
13,
2,
18,
13,
13,
13,
2,
18,
13,
13,
18,
13,
13,
2,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
17,
17,
13,
17,
13,
17,
12,
13,
30,
29,
2,
13,
18,
13,
13,
23,
13,
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,
14,
2,
13,
18,
13,
13,
29,
2,
13,
18,
13,
13,
29,
2,
13,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
18,
13,
13,
13,
2,
18,
13,
13,
13,
2,
2,
18,
13,
13,
13,
2,
18,
13,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
17,
13,
12,
13,
30,
14,
2,
2,
2,
18,
36,
13,
18,
13,
13,
2,
18,
36,
13,
18,
13,
13,
2,
2,
18,
13,
13,
18,
36,
13,
2,
18,
13,
13,
18,
36,
13,
29,
17,
29,
17,
23,
13,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
18,
13,
29,
17,
29,
17,
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,
37,
20,
30,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
14,
2,
4,
18,
13,
17,
17,
30,
0,
13,
17,
40,
13,
11,
1,
41,
13,
13,
2,
13,
4,
18,
13,
1,
40,
13,
30,
14,
2,
4,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
20,
0,
13,
17,
30,
4,
18,
13,
4,
18,
13,
13,
14,
13,
0,
13,
17,
0,
13,
2,
4,
18,
13,
4,
18,
13,
13,
29,
2,
13,
8,
13,
40,
17,
17,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
590,
14
],
[
590,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
15,
35
],
[
35,
36
],
[
590,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
39,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
37,
53
],
[
53,
54
],
[
37,
55
],
[
55,
56
],
[
590,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
57,
69
],
[
69,
70
],
[
57,
71
],
[
71,
72
],
[
590,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
73,
92
],
[
92,
93
],
[
73,
94
],
[
94,
95
],
[
73,
96
],
[
96,
97
],
[
73,
98
],
[
98,
99
],
[
590,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
100,
104
],
[
104,
105
],
[
100,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
108,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
106,
119
],
[
119,
120
],
[
106,
121
],
[
121,
122
],
[
100,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
129,
131
],
[
126,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
136,
138
],
[
125,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
142,
144
],
[
123,
145
],
[
145,
146
],
[
100,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
155,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
153,
159
],
[
152,
160
],
[
155,
161
],
[
100,
162
],
[
590,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
163,
167
],
[
167,
168
],
[
163,
169
],
[
169,
170
],
[
163,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
173,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
173,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
184,
188
],
[
171,
189
],
[
189,
190
],
[
171,
191
],
[
191,
192
],
[
171,
193
],
[
193,
194
],
[
163,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
201,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
200,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
216,
217
],
[
216,
218
],
[
199,
219
],
[
219,
220
],
[
219,
221
],
[
195,
222
],
[
222,
223
],
[
163,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
232,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
230,
236
],
[
229,
237
],
[
232,
238
],
[
163,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
245,
247
],
[
239,
248
],
[
248,
249
],
[
163,
250
],
[
590,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
251,
255
],
[
255,
256
],
[
251,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
260,
264
],
[
259,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
265,
269
],
[
257,
270
],
[
270,
271
],
[
257,
272
],
[
272,
273
],
[
251,
274
],
[
274,
275
],
[
274,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
280,
282
],
[
277,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
286,
288
],
[
276,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
292,
294
],
[
274,
295
],
[
295,
296
],
[
251,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
303,
307
],
[
302,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
308,
312
],
[
301,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
314,
318
],
[
313,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
319,
323
],
[
297,
324
],
[
324,
325
],
[
251,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
331,
331
],
[
331,
332
],
[
331,
333
],
[
331,
334
],
[
251,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
345
],
[
345,
346
],
[
345,
347
],
[
340,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
348,
352
],
[
352,
353
],
[
352,
354
],
[
339,
355
],
[
355,
356
],
[
356,
357
],
[
357,
358
],
[
357,
359
],
[
356,
360
],
[
360,
361
],
[
360,
362
],
[
355,
363
],
[
363,
364
],
[
364,
365
],
[
364,
366
],
[
363,
367
],
[
367,
368
],
[
367,
369
],
[
338,
370
],
[
370,
371
],
[
337,
372
],
[
372,
373
],
[
335,
374
],
[
374,
375
],
[
251,
376
],
[
590,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
377,
381
],
[
381,
382
],
[
377,
383
],
[
383,
384
],
[
383,
385
],
[
385,
386
],
[
386,
387
],
[
386,
388
],
[
383,
389
],
[
389,
390
],
[
377,
391
],
[
391,
392
],
[
391,
393
],
[
393,
394
],
[
394,
395
],
[
394,
396
],
[
391,
397
],
[
397,
398
],
[
377,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
402,
403
],
[
403,
404
],
[
404,
405
],
[
404,
406
],
[
403,
407
],
[
407,
408
],
[
408,
409
],
[
409,
410
],
[
402,
411
],
[
411,
412
],
[
412,
413
],
[
413,
414
],
[
413,
415
],
[
415,
416
],
[
416,
417
],
[
412,
418
],
[
418,
419
],
[
419,
420
],
[
419,
421
],
[
401,
422
],
[
422,
423
],
[
423,
424
],
[
424,
425
],
[
377,
426
],
[
426,
427
],
[
426,
428
],
[
428,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
429,
434
],
[
434,
435
],
[
428,
436
],
[
436,
437
],
[
377,
438
],
[
438,
439
],
[
438,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
443,
444
],
[
442,
445
],
[
445,
446
],
[
377,
447
],
[
447,
448
],
[
447,
449
],
[
449,
450
],
[
450,
451
],
[
451,
452
],
[
452,
453
],
[
451,
454
],
[
454,
455
],
[
377,
456
],
[
456,
457
],
[
456,
458
],
[
458,
459
],
[
459,
460
],
[
460,
461
],
[
460,
462
],
[
462,
463
],
[
463,
464
],
[
459,
465
],
[
465,
466
],
[
466,
467
],
[
467,
468
],
[
468,
469
],
[
377,
470
],
[
470,
471
],
[
470,
472
],
[
472,
473
],
[
473,
474
],
[
473,
475
],
[
475,
476
],
[
472,
477
],
[
477,
478
],
[
477,
479
],
[
472,
480
],
[
480,
481
],
[
480,
482
],
[
472,
483
],
[
483,
484
],
[
483,
485
],
[
472,
486
],
[
486,
487
],
[
486,
488
],
[
472,
489
],
[
489,
490
],
[
489,
491
],
[
472,
492
],
[
492,
493
],
[
492,
494
],
[
472,
495
],
[
495,
496
],
[
496,
497
],
[
497,
498
],
[
498,
499
],
[
497,
500
],
[
496,
501
],
[
495,
502
],
[
502,
503
],
[
503,
504
],
[
503,
505
],
[
502,
506
],
[
506,
507
],
[
472,
508
],
[
508,
509
],
[
509,
510
],
[
510,
511
],
[
510,
512
],
[
508,
513
],
[
513,
514
],
[
513,
515
],
[
515,
516
],
[
516,
517
],
[
508,
518
],
[
518,
519
],
[
519,
520
],
[
508,
521
],
[
521,
522
],
[
522,
523
],
[
523,
524
],
[
524,
525
],
[
525,
526
],
[
524,
527
],
[
523,
528
],
[
522,
529
],
[
529,
530
],
[
530,
531
],
[
530,
532
],
[
532,
533
],
[
533,
534
],
[
532,
535
],
[
535,
536
],
[
536,
537
],
[
529,
538
],
[
538,
539
],
[
538,
540
],
[
529,
541
],
[
541,
542
],
[
541,
543
],
[
522,
544
],
[
544,
545
],
[
545,
546
],
[
546,
547
],
[
545,
548
],
[
548,
549
],
[
549,
550
],
[
548,
551
],
[
544,
552
],
[
552,
553
],
[
552,
554
],
[
554,
555
],
[
554,
556
],
[
472,
557
],
[
557,
558
],
[
557,
559
],
[
559,
560
],
[
560,
561
],
[
561,
562
],
[
560,
563
],
[
563,
564
],
[
564,
565
],
[
559,
566
],
[
472,
567
],
[
567,
568
],
[
568,
569
],
[
568,
570
],
[
570,
571
],
[
570,
572
],
[
572,
573
],
[
570,
574
],
[
377,
575
],
[
575,
576
],
[
575,
577
],
[
577,
578
],
[
578,
579
],
[
579,
580
],
[
579,
581
],
[
581,
582
],
[
582,
583
],
[
578,
584
],
[
584,
585
],
[
585,
586
],
[
586,
587
],
[
587,
588
],
[
0,
589
],
[
589,
590
],
[
589,
591
]
]
| [
"import java.awt.*;\nimport java.io.*;\n\nimport java.math.BigInteger;\nimport java.util.*;\n\npublic class Main {\n\n\n\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n \n pw.print(1 - sc.nextInt());\n\n\n pw.close();\n }\n static class Point implements Comparable<Point>\n {\n int x ,y ;\n\n public Point(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n @Override\n public int compareTo(Point o) {\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }\n\n @Override\n public String toString() {\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }\n }\n\n static class Circle implements Comparable<Circle>\n {\n int x , radius ,idx;\n public Circle(int x , int r , int idx)\n {\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }\n\n public boolean isInside(Point p)\n {\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }\n\n @Override\n public String toString() {\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }\n\n @Override\n public int compareTo(Circle o) {\n return x - o.x;\n }\n }\n\n private static long gcd(long a, long b) {\n if( b == 0)\n return a;\n return gcd(b , a%b);\n }\n\n static long lcm(int a, int b)\n {\n return (a*b)/gcd(a, b);\n }\n\n\n private static int dis(int xa , int ya , int xb , int yb)\n {\n return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);\n }\n\n\n static class Pair implements Comparable<Pair> {\n int x,y;\n\n\n public Pair(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n public int compareTo(Pair o) {\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }\n\n public double dis(Pair a){\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }\n\n public String toString() {\n return x+\" \"+ y;\n }\n public boolean overlap(Pair a)\n {\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public boolean check() {\n if (!st.hasMoreTokens())\n return false;\n return true;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public String nextLine() {\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n\n public double nextDouble() {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() {\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }\n}",
"import java.awt.*;",
"awt.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\n\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n \n pw.print(1 - sc.nextInt());\n\n\n pw.close();\n }\n static class Point implements Comparable<Point>\n {\n int x ,y ;\n\n public Point(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n @Override\n public int compareTo(Point o) {\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }\n\n @Override\n public String toString() {\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }\n }\n\n static class Circle implements Comparable<Circle>\n {\n int x , radius ,idx;\n public Circle(int x , int r , int idx)\n {\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }\n\n public boolean isInside(Point p)\n {\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }\n\n @Override\n public String toString() {\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }\n\n @Override\n public int compareTo(Circle o) {\n return x - o.x;\n }\n }\n\n private static long gcd(long a, long b) {\n if( b == 0)\n return a;\n return gcd(b , a%b);\n }\n\n static long lcm(int a, int b)\n {\n return (a*b)/gcd(a, b);\n }\n\n\n private static int dis(int xa , int ya , int xb , int yb)\n {\n return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);\n }\n\n\n static class Pair implements Comparable<Pair> {\n int x,y;\n\n\n public Pair(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n public int compareTo(Pair o) {\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }\n\n public double dis(Pair a){\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }\n\n public String toString() {\n return x+\" \"+ y;\n }\n public boolean overlap(Pair a)\n {\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public boolean check() {\n if (!st.hasMoreTokens())\n return false;\n return true;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public String nextLine() {\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n\n public double nextDouble() {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() {\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n \n pw.print(1 - sc.nextInt());\n\n\n pw.close();\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n \n pw.print(1 - sc.nextInt());\n\n\n pw.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"pw.print(1 - sc.nextInt())",
"pw.print",
"pw",
"1 - sc.nextInt()",
"1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"private static long gcd(long a, long b) {\n if( b == 0)\n return a;\n return gcd(b , a%b);\n }",
"gcd",
"{\n if( b == 0)\n return a;\n return gcd(b , a%b);\n }",
"if( b == 0)\n return a;",
"b == 0",
"b",
"0",
"return a;",
"a",
"return gcd(b , a%b);",
"gcd(b , a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static long lcm(int a, int b)\n {\n return (a*b)/gcd(a, b);\n }",
"lcm",
"{\n return (a*b)/gcd(a, b);\n }",
"return (a*b)/gcd(a, b);",
"(a*b)/gcd(a, b)",
"(a*b)",
"a",
"b",
"gcd(a, b)",
"gcd",
"a",
"b",
"int a",
"a",
"int b",
"b",
"private static int dis(int xa , int ya , int xb , int yb)\n {\n return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);\n }",
"dis",
"{\n return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);\n }",
"return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);",
"(xa-xb)*(xa - xb) + (ya- yb)*(ya-yb)",
"(xa-xb)*(xa - xb)",
"(xa-xb)",
"xa",
"xb",
"(xa - xb)",
"xa",
"xb",
"(ya- yb)*(ya-yb)",
"(ya- yb)",
"ya",
"yb",
"(ya-yb)",
"ya",
"yb",
"int xa",
"xa",
"int ya",
"ya",
"int xb",
"xb",
"int yb",
"yb",
"static class Point implements Comparable<Point>\n {\n int x ,y ;\n\n public Point(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n @Override\n public int compareTo(Point o) {\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }\n\n @Override\n public String toString() {\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }\n }",
"Point",
"int x",
"x",
"y ;",
"y",
"public Point(int x, int y) {\n this.x = x;\n this.y = y;\n }",
"Point",
"{\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",
"@Override\n public int compareTo(Point o) {\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }",
"compareTo",
"{\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }",
"if (x == o.x) {\n return y - o.y;\n }",
"x == o.x",
"x",
"o.x",
"o",
"o.x",
"{\n return y - o.y;\n }",
"return y - o.y;",
"y - o.y",
"y",
"o.y",
"o",
"o.y",
"return x - o.x;",
"x - o.x",
"x",
"o.x",
"o",
"o.x",
"Point o",
"o",
"@Override\n public String toString() {\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }",
"toString",
"{\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }",
"return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';",
"\"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}'",
"y",
"\", y=\"",
"x",
"\"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}'",
"\"Point{\"",
"\"x=\"",
"x",
"\", y=\"",
"y",
"'}'",
"Comparable",
"static class Circle implements Comparable<Circle>\n {\n int x , radius ,idx;\n public Circle(int x , int r , int idx)\n {\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }\n\n public boolean isInside(Point p)\n {\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }\n\n @Override\n public String toString() {\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }\n\n @Override\n public int compareTo(Circle o) {\n return x - o.x;\n }\n }",
"Circle",
"int x",
"x",
"radius",
"radius",
"idx;",
"idx",
"public Circle(int x , int r , int idx)\n {\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }",
"Circle",
"{\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }",
"this.x = x",
"this.x",
"this",
"this.x",
"x",
"this.radius = r",
"this.radius",
"this",
"this.radius",
"r",
"this.idx = idx",
"this.idx",
"this",
"this.idx",
"idx",
"int x",
"x",
"int r",
"r",
"int idx",
"idx",
"public boolean isInside(Point p)\n {\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }",
"isInside",
"{\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }",
"return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;",
"(p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius",
"(p.x - x)*(p.x - x) + (p.y)*(p.y)",
"(p.x - x)*(p.x - x)",
"(p.x - x)",
"p.x",
"p",
"p.x",
"x",
"(p.x - x)",
"p.x",
"p",
"p.x",
"x",
"(p.y)*(p.y)",
"(p.y)",
"p",
"p.y",
"(p.y)",
"p",
"p.y",
"radius * radius",
"radius",
"radius",
"Point p",
"p",
"@Override\n public String toString() {\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }",
"toString",
"{\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }",
"return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';",
"\"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}'",
"radius",
"\", radius=\"",
"x",
"\"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}'",
"\"Circle{\"",
"\"x=\"",
"x",
"\", radius=\"",
"radius",
"'}'",
"@Override\n public int compareTo(Circle o) {\n return x - o.x;\n }",
"compareTo",
"{\n return x - o.x;\n }",
"return x - o.x;",
"x - o.x",
"x",
"o.x",
"o",
"o.x",
"Circle o",
"o",
"Comparable",
"static class Pair implements Comparable<Pair> {\n int x,y;\n\n\n public Pair(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n public int compareTo(Pair o) {\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }\n\n public double dis(Pair a){\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }\n\n public String toString() {\n return x+\" \"+ y;\n }\n public boolean overlap(Pair a)\n {\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }\n }",
"Pair",
"int x",
"x",
"y;",
"y",
"public 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 o) {\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }",
"compareTo",
"{\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }",
"if (y == o.y)\n return x - o.x;",
"y == o.y",
"y",
"o.y",
"o",
"o.y",
"return x - o.x;",
"x - o.x",
"x",
"o.x",
"o",
"o.x",
"return y - o.y;",
"y - o.y",
"y",
"o.y",
"o",
"o.y",
"Pair o",
"o",
"public double dis(Pair a){\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }",
"dis",
"{\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }",
"return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);",
"(a.x - x)*(a.x - x) + (a.y-y)*(a.y-y)",
"(a.x - x)*(a.x - x)",
"(a.x - x)",
"a.x",
"a",
"a.x",
"x",
"(a.x - x)",
"a.x",
"a",
"a.x",
"x",
"(a.y-y)*(a.y-y)",
"(a.y-y)",
"a.y",
"a",
"a.y",
"y",
"(a.y-y)",
"a.y",
"a",
"a.y",
"y",
"Pair a",
"a",
"public String toString() {\n return x+\" \"+ y;\n }",
"toString",
"{\n return x+\" \"+ y;\n }",
"return x+\" \"+ y;",
"x+\" \"+ y",
"x+\" \"+ y",
"x",
"\" \"",
"y",
"public boolean overlap(Pair a)\n {\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }",
"overlap",
"{\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }",
"if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;",
"(this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)",
"(this.x >= a.x && this.x <= a.y)",
"this.x >= a.x",
"this.x",
"this",
"this.x",
"a.x",
"a",
"a.x",
"this.x <= a.y",
"this.x",
"this",
"this.x",
"a.y",
"a",
"a.y",
"(a.x >= this.x && a.x <= this.y)",
"a.x >= this.x",
"a.x",
"a",
"a.x",
"this.x",
"this",
"this.x",
"a.x <= this.y",
"a.x",
"a",
"a.x",
"this.y",
"this",
"this.y",
"return true;",
"true",
"return false;",
"false",
"Pair a",
"a",
"Comparable",
"static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public boolean check() {\n if (!st.hasMoreTokens())\n return false;\n return true;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public String nextLine() {\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n\n public double nextDouble() {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() {\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }",
"Scanner",
"{\n br = new BufferedReader(r);\n }",
"br = new BufferedReader(r)",
"br",
"new BufferedReader(r)",
"FileReader r",
"r",
"public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }",
"Scanner",
"{\n br = new BufferedReader(new InputStreamReader(s));\n }",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n 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 boolean check() {\n if (!st.hasMoreTokens())\n return false;\n return true;\n }",
"check",
"{\n if (!st.hasMoreTokens())\n return false;\n return true;\n }",
"if (!st.hasMoreTokens())\n return false;",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"return false;",
"false",
"return true;",
"true",
"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 String nextLine() {\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }",
"nextLine",
"{\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }",
"catch (Exception e) {\n throw new RuntimeException(e);\n }",
"Exception e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public double nextDouble() {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }",
"nextDouble",
"{\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }",
"String x = next();",
"x",
"next()",
"next",
"StringBuilder sb = new StringBuilder(\"0\");",
"sb",
"new StringBuilder(\"0\")",
"double res = 0",
"res",
"0",
"f = 1;",
"f",
"1",
"boolean dec = false",
"dec",
"false",
"neg = false;",
"neg",
"false",
"int start = 0;",
"start",
"0",
"if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }",
"x.charAt(0) == '-'",
"x.charAt(0)",
"x.charAt",
"x",
"0",
"'-'",
"{\n neg = true;\n start++;\n }",
"neg = true",
"neg",
"true",
"start++",
"start",
"for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }",
"int i = start;",
"int i = start;",
"i",
"start",
"i < x.length()",
"i",
"x.length()",
"x.length",
"x",
"i++",
"i++",
"i",
"if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }",
"if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }",
"x.charAt(i) == '.'",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"'.'",
"{\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }",
"res = Long.parseLong(sb.toString())",
"res",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"sb = new StringBuilder(\"0\")",
"sb",
"new StringBuilder(\"0\")",
"dec = true",
"dec",
"true",
"{\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }",
"sb.append(x.charAt(i))",
"sb.append",
"sb",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"if (dec)\n f *= 10;",
"dec",
"f *= 10",
"f",
"10",
"res += Long.parseLong(sb.toString()) / f",
"res",
"Long.parseLong(sb.toString()) / f",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"f",
"return res * (neg ? -1 : 1);",
"res * (neg ? -1 : 1)",
"res",
"(neg ? -1 : 1)",
"neg",
"-1",
"1",
"1",
"public boolean ready() {\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"ready",
"{\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n return br.ready();\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 return br.ready();\n }",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public class Main {\n\n\n\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n \n pw.print(1 - sc.nextInt());\n\n\n pw.close();\n }\n static class Point implements Comparable<Point>\n {\n int x ,y ;\n\n public Point(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n @Override\n public int compareTo(Point o) {\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }\n\n @Override\n public String toString() {\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }\n }\n\n static class Circle implements Comparable<Circle>\n {\n int x , radius ,idx;\n public Circle(int x , int r , int idx)\n {\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }\n\n public boolean isInside(Point p)\n {\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }\n\n @Override\n public String toString() {\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }\n\n @Override\n public int compareTo(Circle o) {\n return x - o.x;\n }\n }\n\n private static long gcd(long a, long b) {\n if( b == 0)\n return a;\n return gcd(b , a%b);\n }\n\n static long lcm(int a, int b)\n {\n return (a*b)/gcd(a, b);\n }\n\n\n private static int dis(int xa , int ya , int xb , int yb)\n {\n return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);\n }\n\n\n static class Pair implements Comparable<Pair> {\n int x,y;\n\n\n public Pair(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n public int compareTo(Pair o) {\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }\n\n public double dis(Pair a){\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }\n\n public String toString() {\n return x+\" \"+ y;\n }\n public boolean overlap(Pair a)\n {\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public boolean check() {\n if (!st.hasMoreTokens())\n return false;\n return true;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public String nextLine() {\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n\n public double nextDouble() {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() {\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }\n}",
"public class Main {\n\n\n\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n \n pw.print(1 - sc.nextInt());\n\n\n pw.close();\n }\n static class Point implements Comparable<Point>\n {\n int x ,y ;\n\n public Point(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n @Override\n public int compareTo(Point o) {\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }\n\n @Override\n public String toString() {\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }\n }\n\n static class Circle implements Comparable<Circle>\n {\n int x , radius ,idx;\n public Circle(int x , int r , int idx)\n {\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }\n\n public boolean isInside(Point p)\n {\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }\n\n @Override\n public String toString() {\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }\n\n @Override\n public int compareTo(Circle o) {\n return x - o.x;\n }\n }\n\n private static long gcd(long a, long b) {\n if( b == 0)\n return a;\n return gcd(b , a%b);\n }\n\n static long lcm(int a, int b)\n {\n return (a*b)/gcd(a, b);\n }\n\n\n private static int dis(int xa , int ya , int xb , int yb)\n {\n return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);\n }\n\n\n static class Pair implements Comparable<Pair> {\n int x,y;\n\n\n public Pair(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n public int compareTo(Pair o) {\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }\n\n public double dis(Pair a){\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }\n\n public String toString() {\n return x+\" \"+ y;\n }\n public boolean overlap(Pair a)\n {\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public boolean check() {\n if (!st.hasMoreTokens())\n return false;\n return true;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public String nextLine() {\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n\n public double nextDouble() {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() {\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }\n}",
"Main"
]
| import java.awt.*;
import java.io.*;
import java.math.BigInteger;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
PrintWriter pw = new PrintWriter(System.out);
pw.print(1 - sc.nextInt());
pw.close();
}
static class Point implements Comparable<Point>
{
int x ,y ;
public Point(int x, int y) {
this.x = x;
this.y = y;
}
@Override
public int compareTo(Point o) {
if (x == o.x) {
return y - o.y;
}
return x - o.x;
}
@Override
public String toString() {
return "Point{" +
"x=" + x +
", y=" + y +
'}';
}
}
static class Circle implements Comparable<Circle>
{
int x , radius ,idx;
public Circle(int x , int r , int idx)
{
this.x = x;
this.radius = r;
this.idx = idx;
}
public boolean isInside(Point p)
{
return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;
}
@Override
public String toString() {
return "Circle{" +
"x=" + x +
", radius=" + radius +
'}';
}
@Override
public int compareTo(Circle o) {
return x - o.x;
}
}
private static long gcd(long a, long b) {
if( b == 0)
return a;
return gcd(b , a%b);
}
static long lcm(int a, int b)
{
return (a*b)/gcd(a, b);
}
private static int dis(int xa , int ya , int xb , int yb)
{
return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);
}
static 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) {
if (y == o.y)
return x - o.x;
return y - o.y;
}
public double dis(Pair a){
return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);
}
public String toString() {
return x+" "+ y;
}
public boolean overlap(Pair a)
{
if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;
return false;
}
}
static class Scanner {
StringTokenizer st;
BufferedReader br;
public Scanner(FileReader r) {
br = new BufferedReader(r);
}
public Scanner(InputStream s) {
br = new BufferedReader(new InputStreamReader(s));
}
public String next() {
while (st == null || !st.hasMoreTokens()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return st.nextToken();
}
public boolean check() {
if (!st.hasMoreTokens())
return false;
return true;
}
public int nextInt() {
return Integer.parseInt(next());
}
public long nextLong() {
return Long.parseLong(next());
}
public String nextLine() {
try {
return br.readLine();
} catch (Exception e) {
throw new RuntimeException(e);
}
}
public double nextDouble() {
String x = next();
StringBuilder sb = new StringBuilder("0");
double res = 0, f = 1;
boolean dec = false, neg = false;
int start = 0;
if (x.charAt(0) == '-') {
neg = true;
start++;
}
for (int i = start; i < x.length(); i++)
if (x.charAt(i) == '.') {
res = Long.parseLong(sb.toString());
sb = new StringBuilder("0");
dec = true;
} else {
sb.append(x.charAt(i));
if (dec)
f *= 10;
}
res += Long.parseLong(sb.toString()) / f;
return res * (neg ? -1 : 1);
}
public boolean ready() {
try {
return br.ready();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
2,
17,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
29,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
14,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
18,
13,
2,
2,
13,
13,
13,
0,
18,
13,
2,
2,
13,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
0,
13,
20,
12,
13,
30,
14,
4,
18,
13,
29,
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,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
12,
13,
30,
29,
4,
18,
4,
13,
17,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
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,
14,
2,
36,
13,
29,
17,
14,
40,
2,
13,
13,
29,
17,
41,
13,
13,
29,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
13,
0,
13,
2,
2,
17,
13,
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
],
[
443,
14
],
[
443,
15
],
[
15,
16
],
[
15,
17
],
[
443,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
20,
38
],
[
38,
39
],
[
39,
40
],
[
20,
41
],
[
41,
42
],
[
42,
43
],
[
18,
44
],
[
44,
45
],
[
443,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
46,
55
],
[
55,
56
],
[
443,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
59,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
57,
77
],
[
77,
78
],
[
443,
79
],
[
79,
80
],
[
79,
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
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
97,
98
],
[
97,
99
],
[
92,
100
],
[
100,
101
],
[
101,
102
],
[
92,
103
],
[
104,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
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
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
117,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
127,
135
],
[
135,
136
],
[
135,
137
],
[
117,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
79,
143
],
[
143,
144
],
[
79,
145
],
[
145,
146
],
[
443,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
147,
151
],
[
151,
152
],
[
147,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
155,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
153,
166
],
[
166,
167
],
[
153,
168
],
[
168,
169
],
[
443,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
170,
174
],
[
174,
175
],
[
170,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
179,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
190,
191
],
[
190,
192
],
[
170,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
196,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
195,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
204,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
195,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
170,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
223,
226
],
[
226,
227
],
[
170,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
232,
235
],
[
235,
236
],
[
170,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
241,
244
],
[
244,
245
],
[
170,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
248,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
252,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
263,
264
],
[
248,
265
],
[
265,
266
],
[
170,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
271,
275
],
[
170,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
278,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
283,
288
],
[
288,
289
],
[
288,
290
],
[
283,
291
],
[
291,
292
],
[
292,
293
],
[
283,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
295,
299
],
[
299,
300
],
[
278,
301
],
[
301,
302
],
[
276,
303
],
[
303,
304
],
[
170,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
312,
317
],
[
317,
318
],
[
317,
319
],
[
312,
320
],
[
320,
321
],
[
321,
322
],
[
312,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
324,
328
],
[
328,
329
],
[
307,
330
],
[
330,
331
],
[
305,
332
],
[
332,
333
],
[
170,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
336,
341
],
[
341,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
341,
346
],
[
346,
347
],
[
346,
348
],
[
341,
349
],
[
349,
350
],
[
350,
351
],
[
341,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
353,
357
],
[
357,
358
],
[
336,
359
],
[
359,
360
],
[
334,
361
],
[
361,
362
],
[
170,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
0,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
371,
375
],
[
375,
376
],
[
371,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
381,
383
],
[
380,
384
],
[
379,
385
],
[
385,
386
],
[
386,
387
],
[
386,
388
],
[
385,
389
],
[
377,
390
],
[
390,
391
],
[
377,
392
],
[
392,
393
],
[
371,
394
],
[
394,
395
],
[
394,
396
],
[
396,
397
],
[
397,
398
],
[
398,
399
],
[
398,
400
],
[
397,
401
],
[
401,
402
],
[
396,
403
],
[
403,
404
],
[
404,
405
],
[
405,
406
],
[
405,
407
],
[
403,
408
],
[
408,
409
],
[
396,
410
],
[
410,
411
],
[
410,
412
],
[
396,
413
],
[
413,
414
],
[
414,
415
],
[
415,
416
],
[
415,
417
],
[
417,
418
],
[
417,
419
],
[
414,
420
],
[
420,
421
],
[
420,
422
],
[
422,
423
],
[
422,
424
],
[
394,
425
],
[
425,
426
],
[
371,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
430,
431
],
[
430,
432
],
[
429,
433
],
[
433,
434
],
[
433,
435
],
[
435,
436
],
[
436,
437
],
[
436,
438
],
[
435,
439
],
[
429,
440
],
[
440,
441
],
[
0,
442
],
[
442,
443
],
[
442,
444
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.*;\n\n\npublic class Main {\n final static long MOD = 1000000007;\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n int t = fs.nextInt();\n\n out.println(1-t);\n out.flush();\n out.close();\n }\n\n class Pair{\n int index;\n int val;\n\n Pair(int index, int val) {\n this.val = val;\n this.index = index;\n }\n }\n\n public static String rString(String s) {\n return new StringBuilder(s).reverse().toString();\n }\n\n public static int powoftwo(long n){\n int count = 0;\n while(n != 0) {\n n >>= 1;\n count++;\n }\n return count - 1;\n }\n\n public static void rotate(int[] nums, int k) {\n int n = nums.length;\n if(k > 0) {\n for(int j = 0; j < k; j++) {\n for (int i = 0; i < n; i++) {\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }\n }\n }\n }\n\n\n static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner() {\n try {\n br = new BufferedReader(new InputStreamReader(System.in));\n // br = new BufferedReader(new FileReader(\"chat.txt\"));\n st = new StringTokenizer(\"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n public String next() {\n if (st.hasMoreTokens())\n return st.nextToken();\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public String nextLine() {\n String line = \"\";\n try {\n line = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return line;\n }\n\n public char nextChar() {\n return next().charAt(0);\n }\n\n public Integer[] nextIntegerArray(int n) {\n Integer[] a = new Integer[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\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 return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n\n public char[] nextCharArray() {\n return nextLine().toCharArray();\n }\n }\n\n}\n\n/*class Pair implements Comparable<Pair> {\n\n int V;\n int H;\n\n public Pair(int count, int val) {\n this.V = count;\n this.H = val;\n }\n\n public void setV(int v) {\n V = v;\n }\n\n public void setH(int h) {\n H = h;\n }\n\n @Override\n public int compareTo(Pair o) {\n if(this.V != o.V)\n return Integer.compare(this.V, o.V);\n else\n return Integer.compare(this.H, o.H);\n }\n\n public boolean equals(Pair o) {\n return this.H == o.H && this.V == o.V;\n }\n}*/\n\nclass Pair {\n\n int V;\n int H;\n\n public Pair(int x, int y) {\n this.V = x;\n this.H = y;\n }\n\n @Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (!(o instanceof Pair)) return false;\n Pair key = (Pair) o;\n return V == key.V && H == key.H;\n }\n\n @Override\n public int hashCode() {\n int result = V;\n result = 31 * result + H;\n return result;\n }\n\n}\n",
"import java.io.BufferedReader;",
"BufferedReader",
"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 final static long MOD = 1000000007;\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n int t = fs.nextInt();\n\n out.println(1-t);\n out.flush();\n out.close();\n }\n\n class Pair{\n int index;\n int val;\n\n Pair(int index, int val) {\n this.val = val;\n this.index = index;\n }\n }\n\n public static String rString(String s) {\n return new StringBuilder(s).reverse().toString();\n }\n\n public static int powoftwo(long n){\n int count = 0;\n while(n != 0) {\n n >>= 1;\n count++;\n }\n return count - 1;\n }\n\n public static void rotate(int[] nums, int k) {\n int n = nums.length;\n if(k > 0) {\n for(int j = 0; j < k; j++) {\n for (int i = 0; i < n; i++) {\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }\n }\n }\n }\n\n\n static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner() {\n try {\n br = new BufferedReader(new InputStreamReader(System.in));\n // br = new BufferedReader(new FileReader(\"chat.txt\"));\n st = new StringTokenizer(\"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n public String next() {\n if (st.hasMoreTokens())\n return st.nextToken();\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public String nextLine() {\n String line = \"\";\n try {\n line = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return line;\n }\n\n public char nextChar() {\n return next().charAt(0);\n }\n\n public Integer[] nextIntegerArray(int n) {\n Integer[] a = new Integer[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\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 return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n\n public char[] nextCharArray() {\n return nextLine().toCharArray();\n }\n }\n\n}",
"Main",
"final static long MOD = 1000000007;",
"MOD",
"1000000007",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n int t = fs.nextInt();\n\n out.println(1-t);\n out.flush();\n out.close();\n }",
"main",
"{\n FastScanner fs = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n int t = fs.nextInt();\n\n out.println(1-t);\n out.flush();\n out.close();\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int t = fs.nextInt();",
"t",
"fs.nextInt()",
"fs.nextInt",
"fs",
"out.println(1-t)",
"out.println",
"out",
"1-t",
"1",
"t",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public static String rString(String s) {\n return new StringBuilder(s).reverse().toString();\n }",
"rString",
"{\n return new StringBuilder(s).reverse().toString();\n }",
"return new StringBuilder(s).reverse().toString();",
"new StringBuilder(s).reverse().toString()",
"new StringBuilder(s).reverse().toString",
"new StringBuilder(s).reverse()",
"new StringBuilder(s).reverse",
"new StringBuilder(s)",
"String s",
"s",
"public static int powoftwo(long n){\n int count = 0;\n while(n != 0) {\n n >>= 1;\n count++;\n }\n return count - 1;\n }",
"powoftwo",
"{\n int count = 0;\n while(n != 0) {\n n >>= 1;\n count++;\n }\n return count - 1;\n }",
"int count = 0;",
"count",
"0",
"while(n != 0) {\n n >>= 1;\n count++;\n }",
"n != 0",
"n",
"0",
"{\n n >>= 1;\n count++;\n }",
"n >>= 1",
"n",
"1",
"count++",
"count",
"return count - 1;",
"count - 1",
"count",
"1",
"long n",
"n",
"public static void rotate(int[] nums, int k) {\n int n = nums.length;\n if(k > 0) {\n for(int j = 0; j < k; j++) {\n for (int i = 0; i < n; i++) {\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }\n }\n }\n }",
"rotate",
"{\n int n = nums.length;\n if(k > 0) {\n for(int j = 0; j < k; j++) {\n for (int i = 0; i < n; i++) {\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }\n }\n }\n }",
"int n = nums.length;",
"n",
"nums.length",
"nums",
"nums.length",
"if(k > 0) {\n for(int j = 0; j < k; j++) {\n for (int i = 0; i < n; i++) {\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }\n }\n }",
"k > 0",
"k",
"0",
"{\n for(int j = 0; j < k; j++) {\n for (int i = 0; i < n; i++) {\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }\n }\n }",
"for(int j = 0; j < k; j++) {\n for (int i = 0; i < n; i++) {\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < k",
"j",
"k",
"j++",
"j++",
"j",
"{\n for (int i = 0; i < n; i++) {\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }\n }",
"{\n for (int i = 0; i < n; i++) {\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }\n }",
"for (int i = 0; i < n; i++) {\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }",
"{\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }",
"int temp = nums[(i + k) % n];",
"temp",
"nums[(i + k) % n]",
"nums",
"(i + k) % n",
"(i + k)",
"i",
"k",
"n",
"nums[(i + k) % n] = nums[i]",
"nums[(i + k) % n]",
"nums",
"(i + k) % n",
"(i + k)",
"i",
"k",
"n",
"nums[i]",
"nums",
"i",
"nums[i] = temp",
"nums[i]",
"nums",
"i",
"temp",
"int[] nums",
"nums",
"int k",
"k",
"class Pair{\n int index;\n int val;\n\n Pair(int index, int val) {\n this.val = val;\n this.index = index;\n }\n }",
"Pair",
"int index;",
"index",
"int val;",
"val",
"Pair(int index, int val) {\n this.val = val;\n this.index = index;\n }",
"Pair",
"{\n this.val = val;\n this.index = index;\n }",
"this.val = val",
"this.val",
"this",
"this.val",
"val",
"this.index = index",
"this.index",
"this",
"this.index",
"index",
"int index",
"index",
"int val",
"val",
"static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner() {\n try {\n br = new BufferedReader(new InputStreamReader(System.in));\n // br = new BufferedReader(new FileReader(\"chat.txt\"));\n st = new StringTokenizer(\"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n public String next() {\n if (st.hasMoreTokens())\n return st.nextToken();\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public String nextLine() {\n String line = \"\";\n try {\n line = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return line;\n }\n\n public char nextChar() {\n return next().charAt(0);\n }\n\n public Integer[] nextIntegerArray(int n) {\n Integer[] a = new Integer[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\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 return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n\n public char[] nextCharArray() {\n return nextLine().toCharArray();\n }\n }",
"FastScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastScanner() {\n try {\n br = new BufferedReader(new InputStreamReader(System.in));\n // br = new BufferedReader(new FileReader(\"chat.txt\"));\n st = new StringTokenizer(\"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"FastScanner",
"{\n try {\n br = new BufferedReader(new InputStreamReader(System.in));\n // br = new BufferedReader(new FileReader(\"chat.txt\"));\n st = new StringTokenizer(\"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"try {\n br = new BufferedReader(new InputStreamReader(System.in));\n // br = new BufferedReader(new FileReader(\"chat.txt\"));\n st = new StringTokenizer(\"\");\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n // br = new BufferedReader(new FileReader(\"chat.txt\"));\n st = new StringTokenizer(\"\");\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"st = new StringTokenizer(\"\")",
"st",
"new StringTokenizer(\"\")",
"public String next() {\n if (st.hasMoreTokens())\n return st.nextToken();\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"next",
"{\n if (st.hasMoreTokens())\n return st.nextToken();\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"if (st.hasMoreTokens())\n return st.nextToken();",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public String nextLine() {\n String line = \"\";\n try {\n line = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return line;\n }",
"nextLine",
"{\n String line = \"\";\n try {\n line = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return line;\n }",
"String line = \"\";",
"line",
"\"\"",
"try {\n line = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n line = br.readLine();\n }",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"return line;",
"line",
"public char nextChar() {\n return next().charAt(0);\n }",
"nextChar",
"{\n return next().charAt(0);\n }",
"return next().charAt(0);",
"next().charAt(0)",
"next().charAt",
"next()",
"next",
"0",
"public Integer[] nextIntegerArray(int n) {\n Integer[] a = new Integer[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"nextIntegerArray",
"{\n Integer[] a = new Integer[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"Integer[] a = new Integer[n];",
"a",
"new Integer[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int 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 return a;\n }",
"nextIntArray",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\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();",
"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 long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"nextLongArray",
"{\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = nextLong();",
"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 char[] nextCharArray() {\n return nextLine().toCharArray();\n }",
"nextCharArray",
"{\n return nextLine().toCharArray();\n }",
"return nextLine().toCharArray();",
"nextLine().toCharArray()",
"nextLine().toCharArray",
"nextLine()",
"nextLine",
"class Pair {\n\n int V;\n int H;\n\n public Pair(int x, int y) {\n this.V = x;\n this.H = y;\n }\n\n @Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (!(o instanceof Pair)) return false;\n Pair key = (Pair) o;\n return V == key.V && H == key.H;\n }\n\n @Override\n public int hashCode() {\n int result = V;\n result = 31 * result + H;\n return result;\n }\n\n}",
"Pair",
"int V;",
"V",
"int H;",
"H",
"public Pair(int x, int y) {\n this.V = x;\n this.H = y;\n }",
"Pair",
"{\n this.V = x;\n this.H = y;\n }",
"this.V = x",
"this.V",
"this",
"this.V",
"x",
"this.H = y",
"this.H",
"this",
"this.H",
"y",
"int x",
"x",
"int y",
"y",
"@Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (!(o instanceof Pair)) return false;\n Pair key = (Pair) o;\n return V == key.V && H == key.H;\n }",
"equals",
"{\n if (this == o) return true;\n if (!(o instanceof Pair)) return false;\n Pair key = (Pair) o;\n return V == key.V && H == key.H;\n }",
"if (this == o) return true;",
"this == o",
"this",
"o",
"return true;",
"true",
"if (!(o instanceof Pair)) return false;",
"!(o instanceof Pair)",
"(o instanceof Pair)",
"o",
"Pair",
"return false;",
"false",
"Pair key = (Pair) o;",
"key",
"(Pair) o",
"return V == key.V && H == key.H;",
"V == key.V && H == key.H",
"V == key.V",
"V",
"key.V",
"key",
"key.V",
"H == key.H",
"H",
"key.H",
"key",
"key.H",
"Object o",
"o",
"@Override\n public int hashCode() {\n int result = V;\n result = 31 * result + H;\n return result;\n }",
"hashCode",
"{\n int result = V;\n result = 31 * result + H;\n return result;\n }",
"int result = V;",
"result",
"V",
"result = 31 * result + H",
"result",
"31 * result + H",
"31 * result",
"31",
"result",
"H",
"return result;",
"result",
"public class Main {\n final static long MOD = 1000000007;\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n int t = fs.nextInt();\n\n out.println(1-t);\n out.flush();\n out.close();\n }\n\n class Pair{\n int index;\n int val;\n\n Pair(int index, int val) {\n this.val = val;\n this.index = index;\n }\n }\n\n public static String rString(String s) {\n return new StringBuilder(s).reverse().toString();\n }\n\n public static int powoftwo(long n){\n int count = 0;\n while(n != 0) {\n n >>= 1;\n count++;\n }\n return count - 1;\n }\n\n public static void rotate(int[] nums, int k) {\n int n = nums.length;\n if(k > 0) {\n for(int j = 0; j < k; j++) {\n for (int i = 0; i < n; i++) {\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }\n }\n }\n }\n\n\n static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner() {\n try {\n br = new BufferedReader(new InputStreamReader(System.in));\n // br = new BufferedReader(new FileReader(\"chat.txt\"));\n st = new StringTokenizer(\"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n public String next() {\n if (st.hasMoreTokens())\n return st.nextToken();\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public String nextLine() {\n String line = \"\";\n try {\n line = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return line;\n }\n\n public char nextChar() {\n return next().charAt(0);\n }\n\n public Integer[] nextIntegerArray(int n) {\n Integer[] a = new Integer[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\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 return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n\n public char[] nextCharArray() {\n return nextLine().toCharArray();\n }\n }\n\n}",
"public class Main {\n final static long MOD = 1000000007;\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n\n int t = fs.nextInt();\n\n out.println(1-t);\n out.flush();\n out.close();\n }\n\n class Pair{\n int index;\n int val;\n\n Pair(int index, int val) {\n this.val = val;\n this.index = index;\n }\n }\n\n public static String rString(String s) {\n return new StringBuilder(s).reverse().toString();\n }\n\n public static int powoftwo(long n){\n int count = 0;\n while(n != 0) {\n n >>= 1;\n count++;\n }\n return count - 1;\n }\n\n public static void rotate(int[] nums, int k) {\n int n = nums.length;\n if(k > 0) {\n for(int j = 0; j < k; j++) {\n for (int i = 0; i < n; i++) {\n int temp = nums[(i + k) % n];\n nums[(i + k) % n] = nums[i];\n nums[i] = temp;\n }\n }\n }\n }\n\n\n static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner() {\n try {\n br = new BufferedReader(new InputStreamReader(System.in));\n // br = new BufferedReader(new FileReader(\"chat.txt\"));\n st = new StringTokenizer(\"\");\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n public String next() {\n if (st.hasMoreTokens())\n return st.nextToken();\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public String nextLine() {\n String line = \"\";\n try {\n line = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return line;\n }\n\n public char nextChar() {\n return next().charAt(0);\n }\n\n public Integer[] nextIntegerArray(int n) {\n Integer[] a = new Integer[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\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 return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n\n public char[] nextCharArray() {\n return nextLine().toCharArray();\n }\n }\n\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class Main {
final static long MOD = 1000000007;
public static void main(String[] args) {
FastScanner fs = new FastScanner();
PrintWriter out = new PrintWriter(System.out);
int t = fs.nextInt();
out.println(1-t);
out.flush();
out.close();
}
class Pair{
int index;
int val;
Pair(int index, int val) {
this.val = val;
this.index = index;
}
}
public static String rString(String s) {
return new StringBuilder(s).reverse().toString();
}
public static int powoftwo(long n){
int count = 0;
while(n != 0) {
n >>= 1;
count++;
}
return count - 1;
}
public static void rotate(int[] nums, int k) {
int n = nums.length;
if(k > 0) {
for(int j = 0; j < k; j++) {
for (int i = 0; i < n; i++) {
int temp = nums[(i + k) % n];
nums[(i + k) % n] = nums[i];
nums[i] = temp;
}
}
}
}
static class FastScanner {
BufferedReader br;
StringTokenizer st;
public FastScanner() {
try {
br = new BufferedReader(new InputStreamReader(System.in));
// br = new BufferedReader(new FileReader("chat.txt"));
st = new StringTokenizer("");
} catch (Exception e) {
e.printStackTrace();
}
}
public String next() {
if (st.hasMoreTokens())
return st.nextToken();
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() {
String line = "";
try {
line = br.readLine();
} catch (Exception e) {
e.printStackTrace();
}
return line;
}
public char nextChar() {
return next().charAt(0);
}
public Integer[] nextIntegerArray(int n) {
Integer[] a = new Integer[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
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;
}
public char[] nextCharArray() {
return nextLine().toCharArray();
}
}
}
/*class Pair implements Comparable<Pair> {
int V;
int H;
public Pair(int count, int val) {
this.V = count;
this.H = val;
}
public void setV(int v) {
V = v;
}
public void setH(int h) {
H = h;
}
@Override
public int compareTo(Pair o) {
if(this.V != o.V)
return Integer.compare(this.V, o.V);
else
return Integer.compare(this.H, o.H);
}
public boolean equals(Pair o) {
return this.H == o.H && this.V == o.V;
}
}*/
class Pair {
int V;
int H;
public Pair(int x, int y) {
this.V = x;
this.H = y;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof Pair)) return false;
Pair key = (Pair) o;
return V == key.V && H == key.H;
}
@Override
public int hashCode() {
int result = V;
result = 31 * result + H;
return result;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
2,
17,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
4,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
20,
11,
1,
41,
13,
17,
41,
13,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
4,
18,
13,
2,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
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,
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
],
[
292,
8
],
[
292,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
9,
29
],
[
29,
30
],
[
292,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
33,
43
],
[
43,
44
],
[
31,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
47,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
56,
63
],
[
63,
64
],
[
63,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
56,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
78,
80
],
[
70,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
70,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
70,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
47,
98
],
[
98,
99
],
[
45,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
116,
117
],
[
116,
118
],
[
110,
119
],
[
119,
120
],
[
102,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
124,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
134,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
123,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
102,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
151,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
161,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
150,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
102,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
184,
185
],
[
102,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
190,
193
],
[
193,
194
],
[
102,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
199,
202
],
[
202,
203
],
[
102,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
206,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
211,
216
],
[
216,
217
],
[
216,
218
],
[
211,
219
],
[
219,
220
],
[
220,
221
],
[
211,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
227
],
[
227,
228
],
[
206,
229
],
[
229,
230
],
[
204,
231
],
[
231,
232
],
[
102,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
240,
245
],
[
245,
246
],
[
245,
247
],
[
240,
248
],
[
248,
249
],
[
249,
250
],
[
240,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
256
],
[
256,
257
],
[
235,
258
],
[
258,
259
],
[
233,
260
],
[
260,
261
],
[
102,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
269,
274
],
[
274,
275
],
[
274,
276
],
[
269,
277
],
[
277,
278
],
[
278,
279
],
[
269,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
281,
285
],
[
285,
286
],
[
264,
287
],
[
287,
288
],
[
262,
289
],
[
289,
290
],
[
0,
291
],
[
291,
292
],
[
291,
293
]
]
| [
"import java.util.*;\nimport java.io.*;\n \npublic class Main {\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n pw.println(1-sc.nextInt());\n pw.flush();\n }\n\n static class GeekInteger {\n public static void save_sort(int[] array) {\n shuffle(array);\n Arrays.sort(array);\n }\n \n public static int[] shuffle(int[] array) {\n int n = array.length;\n Random random = new Random();\n for (int i = 0, j; i < n; i++) {\n j = i + random.nextInt(n - i);\n int randomElement = array[j];\n array[j] = array[i];\n array[i] = randomElement;\n }\n return array;\n }\n \n }\n}\n\nclass FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n \n public String[] nextArray(int n) {\n String[] a = new String[n];\n for (int i = 0; i < n; i++)\n a[i] = next();\n return a;\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 return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n } \n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n pw.println(1-sc.nextInt());\n pw.flush();\n }\n\n static class GeekInteger {\n public static void save_sort(int[] array) {\n shuffle(array);\n Arrays.sort(array);\n }\n \n public static int[] shuffle(int[] array) {\n int n = array.length;\n Random random = new Random();\n for (int i = 0, j; i < n; i++) {\n j = i + random.nextInt(n - i);\n int randomElement = array[j];\n array[j] = array[i];\n array[i] = randomElement;\n }\n return array;\n }\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n pw.println(1-sc.nextInt());\n pw.flush();\n }",
"main",
"{\n FastScanner sc = new FastScanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n pw.println(1-sc.nextInt());\n pw.flush();\n }",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"pw.println(1-sc.nextInt())",
"pw.println",
"pw",
"1-sc.nextInt()",
"1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"pw.flush()",
"pw.flush",
"pw",
"String[] args",
"args",
"static class GeekInteger {\n public static void save_sort(int[] array) {\n shuffle(array);\n Arrays.sort(array);\n }\n \n public static int[] shuffle(int[] array) {\n int n = array.length;\n Random random = new Random();\n for (int i = 0, j; i < n; i++) {\n j = i + random.nextInt(n - i);\n int randomElement = array[j];\n array[j] = array[i];\n array[i] = randomElement;\n }\n return array;\n }\n \n }",
"GeekInteger",
"public static void save_sort(int[] array) {\n shuffle(array);\n Arrays.sort(array);\n }",
"save_sort",
"{\n shuffle(array);\n Arrays.sort(array);\n }",
"shuffle(array)",
"shuffle",
"array",
"Arrays.sort(array)",
"Arrays.sort",
"Arrays",
"array",
"int[] array",
"array",
"public static int[] shuffle(int[] array) {\n int n = array.length;\n Random random = new Random();\n for (int i = 0, j; i < n; i++) {\n j = i + random.nextInt(n - i);\n int randomElement = array[j];\n array[j] = array[i];\n array[i] = randomElement;\n }\n return array;\n }",
"shuffle",
"{\n int n = array.length;\n Random random = new Random();\n for (int i = 0, j; i < n; i++) {\n j = i + random.nextInt(n - i);\n int randomElement = array[j];\n array[j] = array[i];\n array[i] = randomElement;\n }\n return array;\n }",
"int n = array.length;",
"n",
"array.length",
"array",
"array.length",
"Random random = new Random();",
"random",
"new Random()",
"for (int i = 0, j; i < n; i++) {\n j = i + random.nextInt(n - i);\n int randomElement = array[j];\n array[j] = array[i];\n array[i] = randomElement;\n }",
"int i = 0, j;",
"int i = 0",
"i",
"0",
"j;",
"j",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n j = i + random.nextInt(n - i);\n int randomElement = array[j];\n array[j] = array[i];\n array[i] = randomElement;\n }",
"{\n j = i + random.nextInt(n - i);\n int randomElement = array[j];\n array[j] = array[i];\n array[i] = randomElement;\n }",
"j = i + random.nextInt(n - i)",
"j",
"i + random.nextInt(n - i)",
"i",
"random.nextInt(n - i)",
"random.nextInt",
"random",
"n - i",
"n",
"i",
"int randomElement = array[j];",
"randomElement",
"array[j]",
"array",
"j",
"array[j] = array[i]",
"array[j]",
"array",
"j",
"array[i]",
"array",
"i",
"array[i] = randomElement",
"array[i]",
"array",
"i",
"randomElement",
"return array;",
"array",
"int[] array",
"array",
"class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n \n public String[] nextArray(int n) {\n String[] a = new String[n];\n for (int i = 0; i < n; i++)\n a[i] = next();\n return a;\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 return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n } \n}",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }",
"FastScanner",
"{\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n if (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 if (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 }",
"if (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 String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken(\"\\n\");\n }",
"nextLine",
"{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken(\"\\n\");\n }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return 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 return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n return 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 return reader.readLine();\n }",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"return tokenizer.nextToken(\"\\n\");",
"tokenizer.nextToken(\"\\n\")",
"tokenizer.nextToken",
"tokenizer",
"\"\\n\"",
"public long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public 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 double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public String[] nextArray(int n) {\n String[] a = new String[n];\n for (int i = 0; i < n; i++)\n a[i] = next();\n return a;\n }",
"nextArray",
"{\n String[] a = new String[n];\n for (int i = 0; i < n; i++)\n a[i] = next();\n return a;\n }",
"String[] a = new String[n];",
"a",
"new String[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = next();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = next();",
"a[i] = next()",
"a[i]",
"a",
"i",
"next()",
"next",
"return a;",
"a",
"int 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 return a;\n }",
"nextIntArray",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\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();",
"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 long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"nextLongArray",
"{\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = nextLong();",
"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 public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n pw.println(1-sc.nextInt());\n pw.flush();\n }\n\n static class GeekInteger {\n public static void save_sort(int[] array) {\n shuffle(array);\n Arrays.sort(array);\n }\n \n public static int[] shuffle(int[] array) {\n int n = array.length;\n Random random = new Random();\n for (int i = 0, j; i < n; i++) {\n j = i + random.nextInt(n - i);\n int randomElement = array[j];\n array[j] = array[i];\n array[i] = randomElement;\n }\n return array;\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n FastScanner sc = new FastScanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n pw.println(1-sc.nextInt());\n pw.flush();\n }\n\n static class GeekInteger {\n public static void save_sort(int[] array) {\n shuffle(array);\n Arrays.sort(array);\n }\n \n public static int[] shuffle(int[] array) {\n int n = array.length;\n Random random = new Random();\n for (int i = 0, j; i < n; i++) {\n j = i + random.nextInt(n - i);\n int randomElement = array[j];\n array[j] = array[i];\n array[i] = randomElement;\n }\n return array;\n }\n \n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
FastScanner sc = new FastScanner(System.in);
PrintWriter pw = new PrintWriter(System.out);
pw.println(1-sc.nextInt());
pw.flush();
}
static class GeekInteger {
public static void save_sort(int[] array) {
shuffle(array);
Arrays.sort(array);
}
public static int[] shuffle(int[] array) {
int n = array.length;
Random random = new Random();
for (int i = 0, j; i < n; i++) {
j = i + random.nextInt(n - i);
int randomElement = array[j];
array[j] = array[i];
array[i] = randomElement;
}
return array;
}
}
}
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 String[] nextArray(int n) {
String[] a = new String[n];
for (int i = 0; i < n; i++)
a[i] = next();
return a;
}
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,
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,
14,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
23,
13,
23,
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,
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
],
[
145,
29
],
[
145,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
32,
43
],
[
43,
44
],
[
43,
45
],
[
32,
46
],
[
46,
47
],
[
46,
48
],
[
32,
49
],
[
49,
50
],
[
49,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
52,
57
],
[
32,
58
],
[
58,
59
],
[
59,
60
],
[
30,
61
],
[
61,
62
],
[
145,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
67,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
65,
85
],
[
85,
86
],
[
65,
87
],
[
87,
88
],
[
65,
89
],
[
89,
90
],
[
145,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
91,
95
],
[
95,
96
],
[
91,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
103,
105
],
[
97,
106
],
[
106,
107
],
[
91,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
111,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
121,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
110,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
91,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
142,
143
],
[
0,
144
],
[
144,
145
],
[
144,
146
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Tarek\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ANot {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int x = in.nextInt();\n if (x == 1) out.println(\"0\");\n else out.println(\"1\");\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\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\n public int nextInt() {\n return Integer.parseInt(next());\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ANot {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int x = in.nextInt();\n if (x == 1) out.println(\"0\");\n else out.println(\"1\");\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\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\n public int nextInt() {\n return Integer.parseInt(next());\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 PrintWriter out = new PrintWriter(outputStream);\n ANot solver = new ANot();\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 PrintWriter out = new PrintWriter(outputStream);\n ANot solver = new ANot();\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)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"ANot solver = new ANot();",
"solver",
"new ANot()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ANot {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int x = in.nextInt();\n if (x == 1) out.println(\"0\");\n else out.println(\"1\");\n }\n\n }",
"ANot",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n int x = in.nextInt();\n if (x == 1) out.println(\"0\");\n else out.println(\"1\");\n }",
"solve",
"{\n int x = in.nextInt();\n if (x == 1) out.println(\"0\");\n else out.println(\"1\");\n }",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"if (x == 1) out.println(\"0\");\n else out.println(\"1\");",
"x == 1",
"x",
"1",
"out.println(\"0\")",
"out.println",
"out",
"\"0\"",
"out.println(\"1\")",
"out.println",
"out",
"\"1\"",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\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\n public int nextInt() {\n return Integer.parseInt(next());\n }\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 class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ANot {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int x = in.nextInt();\n if (x == 1) out.println(\"0\");\n else out.println(\"1\");\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\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\n public int nextInt() {\n return Integer.parseInt(next());\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 PrintWriter out = new PrintWriter(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ANot {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int x = in.nextInt();\n if (x == 1) out.println(\"0\");\n else out.println(\"1\");\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\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\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Tarek
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
ANot solver = new ANot();
solver.solve(1, in, out);
out.close();
}
static class ANot {
public void solve(int testNumber, InputReader in, PrintWriter out) {
int x = in.nextInt();
if (x == 1) out.println("0");
else out.println("1");
}
}
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
13,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
4,
18,
13,
2,
4,
18,
13,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
166,
8
],
[
166,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
18,
21
],
[
11,
22
],
[
22,
23
],
[
23,
24
],
[
9,
25
],
[
25,
26
],
[
166,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
36,
40
],
[
27,
41
],
[
41,
42
],
[
27,
43
],
[
43,
44
],
[
166,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
47,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
47,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
63,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
45,
85
],
[
85,
86
],
[
166,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
98,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
103,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
97,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
87,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
125,
126
],
[
87,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
134,
139
],
[
139,
140
],
[
139,
141
],
[
134,
142
],
[
142,
143
],
[
143,
144
],
[
134,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
129,
152
],
[
152,
153
],
[
127,
154
],
[
154,
155
],
[
87,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
163,
164
],
[
0,
165
],
[
165,
166
],
[
165,
167
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner in=new FastScanner();\n\t\tPrintWriter out=new PrintWriter(System.out);\n\t//\tint t=in.nextInt();\n\t//\twhile(t-->0)\n\t\tsolve(in,out);\n\t\tout.close();\n\t}\n\n static void solve(FastScanner in,PrintWriter out){\n out.println(Math.abs(in.nextInt()-1));\n } \n\t\n\n\n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> l=new ArrayList<>();\n\t\tfor (int i:a) l.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i=0; i<a.length; i++) a[i]=l.get(i);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n\t\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner in=new FastScanner();\n\t\tPrintWriter out=new PrintWriter(System.out);\n\t//\tint t=in.nextInt();\n\t//\twhile(t-->0)\n\t\tsolve(in,out);\n\t\tout.close();\n\t}\n\n static void solve(FastScanner in,PrintWriter out){\n out.println(Math.abs(in.nextInt()-1));\n } \n\t\n\n\n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> l=new ArrayList<>();\n\t\tfor (int i:a) l.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i=0; i<a.length; i++) a[i]=l.get(i);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n\t\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner in=new FastScanner();\n\t\tPrintWriter out=new PrintWriter(System.out);\n\t//\tint t=in.nextInt();\n\t//\twhile(t-->0)\n\t\tsolve(in,out);\n\t\tout.close();\n\t}",
"main",
"{\n\t\tFastScanner in=new FastScanner();\n\t\tPrintWriter out=new PrintWriter(System.out);\n\t//\tint t=in.nextInt();\n\t//\twhile(t-->0)\n\t\tsolve(in,out);\n\t\tout.close();\n\t}",
"FastScanner in=new FastScanner();",
"in",
"new FastScanner()",
"PrintWriter out=new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"solve(in,out)",
"solve",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static void solve(FastScanner in,PrintWriter out){\n out.println(Math.abs(in.nextInt()-1));\n }",
"solve",
"{\n out.println(Math.abs(in.nextInt()-1));\n }",
"out.println(Math.abs(in.nextInt()-1))",
"out.println",
"out",
"Math.abs(in.nextInt()-1)",
"Math.abs",
"Math",
"in.nextInt()-1",
"in.nextInt()",
"in.nextInt",
"in",
"1",
"FastScanner in",
"in",
"PrintWriter out",
"out",
"static void sort(int[] a) {\n\t\tArrayList<Integer> l=new ArrayList<>();\n\t\tfor (int i:a) l.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i=0; i<a.length; i++) a[i]=l.get(i);\n\t}",
"sort",
"{\n\t\tArrayList<Integer> l=new ArrayList<>();\n\t\tfor (int i:a) l.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i=0; i<a.length; i++) a[i]=l.get(i);\n\t}",
"ArrayList<Integer> l=new ArrayList<>();",
"l",
"new ArrayList<>()",
"for (int i:a) l.add(i);",
"int i",
"a",
"l.add(i);",
"l.add(i)",
"l.add",
"l",
"i",
"Collections.sort(l)",
"Collections.sort",
"Collections",
"l",
"for (int i=0; i<a.length; i++) a[i]=l.get(i);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"a[i]=l.get(i);",
"a[i]=l.get(i)",
"a[i]",
"a",
"i",
"l.get(i)",
"l.get",
"l",
"i",
"int[] a",
"a",
"static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner in=new FastScanner();\n\t\tPrintWriter out=new PrintWriter(System.out);\n\t//\tint t=in.nextInt();\n\t//\twhile(t-->0)\n\t\tsolve(in,out);\n\t\tout.close();\n\t}\n\n static void solve(FastScanner in,PrintWriter out){\n out.println(Math.abs(in.nextInt()-1));\n } \n\t\n\n\n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> l=new ArrayList<>();\n\t\tfor (int i:a) l.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i=0; i<a.length; i++) a[i]=l.get(i);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n\t\n}",
"public class Main {\n\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner in=new FastScanner();\n\t\tPrintWriter out=new PrintWriter(System.out);\n\t//\tint t=in.nextInt();\n\t//\twhile(t-->0)\n\t\tsolve(in,out);\n\t\tout.close();\n\t}\n\n static void solve(FastScanner in,PrintWriter out){\n out.println(Math.abs(in.nextInt()-1));\n } \n\t\n\n\n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> l=new ArrayList<>();\n\t\tfor (int i:a) l.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i=0; i<a.length; i++) a[i]=l.get(i);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n\t\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
FastScanner in=new FastScanner();
PrintWriter out=new PrintWriter(System.out);
// int t=in.nextInt();
// while(t-->0)
solve(in,out);
out.close();
}
static void solve(FastScanner in,PrintWriter out){
out.println(Math.abs(in.nextInt()-1));
}
static void sort(int[] a) {
ArrayList<Integer> l=new ArrayList<>();
for (int i:a) l.add(i);
Collections.sort(l);
for (int i=0; i<a.length; i++) a[i]=l.get(i);
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a=new int[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
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,
4,
18,
13,
2,
17,
13,
23,
13,
23,
13,
23,
13,
13,
6,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
0,
13,
20,
13,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
13,
0,
18,
13,
13,
17,
23,
13,
12,
13,
30,
14,
2,
18,
13,
13,
13,
29,
13,
29,
0,
18,
13,
13,
4,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
13,
41,
13,
4,
13,
13,
14,
2,
13,
13,
29,
0,
18,
13,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
13,
4,
18,
13,
13,
18,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
13,
41,
13,
4,
13,
13,
29,
2,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
29,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
29,
17,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
6,
13,
12,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
288,
26
],
[
288,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
29,
40
],
[
40,
41
],
[
40,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
46,
48
],
[
29,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
49,
54
],
[
29,
55
],
[
55,
56
],
[
56,
57
],
[
27,
58
],
[
58,
59
],
[
288,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
73,
75
],
[
62,
76
],
[
76,
77
],
[
62,
78
],
[
78,
79
],
[
62,
80
],
[
80,
81
],
[
60,
82
],
[
288,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
83,
87
],
[
87,
88
],
[
83,
89
],
[
89,
90
],
[
89,
91
],
[
83,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
99
],
[
99,
100
],
[
99,
101
],
[
94,
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
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
115,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
92,
126
],
[
126,
127
],
[
83,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
131,
137
],
[
137,
138
],
[
130,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
146,
148
],
[
128,
149
],
[
149,
150
],
[
83,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
156,
158
],
[
153,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
161,
163
],
[
153,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
153,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
153,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
178,
180
],
[
153,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
183,
186
],
[
183,
187
],
[
187,
188
],
[
187,
189
],
[
151,
190
],
[
190,
191
],
[
151,
192
],
[
192,
193
],
[
83,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
199,
201
],
[
196,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
204,
206
],
[
196,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
194,
211
],
[
211,
212
],
[
194,
213
],
[
213,
214
],
[
288,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
215,
219
],
[
219,
220
],
[
215,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
221,
227
],
[
227,
228
],
[
215,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
233,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
232,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
246,
247
],
[
242,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
248,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
254,
258
],
[
258,
259
],
[
259,
260
],
[
248,
261
],
[
261,
262
],
[
261,
263
],
[
231,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
215,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
272,
275
],
[
275,
276
],
[
288,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
279,
283
],
[
283,
284
],
[
279,
285
],
[
285,
286
],
[
0,
287
],
[
287,
288
],
[
287,
289
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.StringTokenizer;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tInputStream inputStream = System.in;\n\t\tOutputStream outputStream = System.out;\n\t\tMyScanner in = new MyScanner(inputStream);\n\t\tPrintWriter out = new PrintWriter(outputStream);\n\t\tSolver solver = new A();\n\t\tsolver.solve(1, in, out);\n\t\tout.close();\n\t}\n\t\n\tstatic class A implements Solver\n\t{\n\t\tpublic void solve(int testNumber, MyScanner in, PrintWriter out)\n\t\t{\n\t\t\tint x = in.nextInt();\n\t\t\tout.println(1 - x);\n\t\t}\n\t}\n\n\tstatic class UnionFind\n\t{\n\t\tint[] par;\n\t\tint[] n_nodes;\n\t\tint max = 1;\n\t\t\n\t\tpublic UnionFind(int n)\n\t\t{\n\t\t\tpar = new int[n];\n\t\t\tn_nodes = new int[n];\n\t\t\tfor( int i=0; i<n; i++ )\n\t\t\t{\n\t\t\t\tpar[i] = i;\n\t\t\t\tn_nodes[i] = 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint root(int x)\n\t\t{\n\t\t\tif( par[x] == x ) return x;\n\t\t\treturn par[x] = root(par[x]);\n\t\t}\n\t\t\n\t\tvoid unite(int x, int y)\n\t\t{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\tif( rx == ry ) return;\n\t\t\tpar[rx] = ry;\n\t\t\tn_nodes[ry] += n_nodes[rx];\n\t\t\tmax = Math.max(max, n_nodes[ry]);\n\t\t}\n\t\t\n\t\tboolean same(int x, int y)\n\t\t{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\treturn rx == ry;\n\t\t}\n\t}\n\t\n\tstatic class MyScanner\n\t{\n\t\tprivate BufferedReader in;\n\t\tprivate StringTokenizer st;\n\t\t\n\t\tpublic MyScanner(InputStream stream)\n\t\t{\n\t\t\tin = new BufferedReader(new InputStreamReader(stream));\n\t\t}\n\t\t\n\t\tpublic String next()\n\t\t{\n\t\t\twhile( st == null || !st.hasMoreTokens() )\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tString rl = in.readLine();\n\t\t\t\t\tif( rl == null )\n\t\t\t\t\t{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tst = new StringTokenizer(rl);\n\t\t\t\t}\n\t\t\t\tcatch( IOException e )\n\t\t\t\t{\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt()\n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}\n\t\n\tstatic interface Solver\n\t{\n\t\tpublic void solve(int testNumber, MyScanner in, PrintWriter out);\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.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tInputStream inputStream = System.in;\n\t\tOutputStream outputStream = System.out;\n\t\tMyScanner in = new MyScanner(inputStream);\n\t\tPrintWriter out = new PrintWriter(outputStream);\n\t\tSolver solver = new A();\n\t\tsolver.solve(1, in, out);\n\t\tout.close();\n\t}\n\t\n\tstatic class A implements Solver\n\t{\n\t\tpublic void solve(int testNumber, MyScanner in, PrintWriter out)\n\t\t{\n\t\t\tint x = in.nextInt();\n\t\t\tout.println(1 - x);\n\t\t}\n\t}\n\n\tstatic class UnionFind\n\t{\n\t\tint[] par;\n\t\tint[] n_nodes;\n\t\tint max = 1;\n\t\t\n\t\tpublic UnionFind(int n)\n\t\t{\n\t\t\tpar = new int[n];\n\t\t\tn_nodes = new int[n];\n\t\t\tfor( int i=0; i<n; i++ )\n\t\t\t{\n\t\t\t\tpar[i] = i;\n\t\t\t\tn_nodes[i] = 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint root(int x)\n\t\t{\n\t\t\tif( par[x] == x ) return x;\n\t\t\treturn par[x] = root(par[x]);\n\t\t}\n\t\t\n\t\tvoid unite(int x, int y)\n\t\t{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\tif( rx == ry ) return;\n\t\t\tpar[rx] = ry;\n\t\t\tn_nodes[ry] += n_nodes[rx];\n\t\t\tmax = Math.max(max, n_nodes[ry]);\n\t\t}\n\t\t\n\t\tboolean same(int x, int y)\n\t\t{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\treturn rx == ry;\n\t\t}\n\t}\n\t\n\tstatic class MyScanner\n\t{\n\t\tprivate BufferedReader in;\n\t\tprivate StringTokenizer st;\n\t\t\n\t\tpublic MyScanner(InputStream stream)\n\t\t{\n\t\t\tin = new BufferedReader(new InputStreamReader(stream));\n\t\t}\n\t\t\n\t\tpublic String next()\n\t\t{\n\t\t\twhile( st == null || !st.hasMoreTokens() )\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tString rl = in.readLine();\n\t\t\t\t\tif( rl == null )\n\t\t\t\t\t{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tst = new StringTokenizer(rl);\n\t\t\t\t}\n\t\t\t\tcatch( IOException e )\n\t\t\t\t{\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt()\n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}\n\t\n\tstatic interface Solver\n\t{\n\t\tpublic void solve(int testNumber, MyScanner in, PrintWriter out);\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tInputStream inputStream = System.in;\n\t\tOutputStream outputStream = System.out;\n\t\tMyScanner in = new MyScanner(inputStream);\n\t\tPrintWriter out = new PrintWriter(outputStream);\n\t\tSolver solver = new A();\n\t\tsolver.solve(1, in, out);\n\t\tout.close();\n\t}",
"main",
"{\n\t\tInputStream inputStream = System.in;\n\t\tOutputStream outputStream = System.out;\n\t\tMyScanner in = new MyScanner(inputStream);\n\t\tPrintWriter out = new PrintWriter(outputStream);\n\t\tSolver solver = new A();\n\t\tsolver.solve(1, in, out);\n\t\tout.close();\n\t}",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"MyScanner in = new MyScanner(inputStream);",
"in",
"new MyScanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"Solver 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 implements Solver\n\t{\n\t\tpublic void solve(int testNumber, MyScanner in, PrintWriter out)\n\t\t{\n\t\t\tint x = in.nextInt();\n\t\t\tout.println(1 - x);\n\t\t}\n\t}",
"A",
"public void solve(int testNumber, MyScanner in, PrintWriter out)\n\t\t{\n\t\t\tint x = in.nextInt();\n\t\t\tout.println(1 - x);\n\t\t}",
"solve",
"{\n\t\t\tint x = in.nextInt();\n\t\t\tout.println(1 - x);\n\t\t}",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"out.println(1 - x)",
"out.println",
"out",
"1 - x",
"1",
"x",
"int testNumber",
"testNumber",
"MyScanner in",
"in",
"PrintWriter out",
"out",
"Solver",
"static class UnionFind\n\t{\n\t\tint[] par;\n\t\tint[] n_nodes;\n\t\tint max = 1;\n\t\t\n\t\tpublic UnionFind(int n)\n\t\t{\n\t\t\tpar = new int[n];\n\t\t\tn_nodes = new int[n];\n\t\t\tfor( int i=0; i<n; i++ )\n\t\t\t{\n\t\t\t\tpar[i] = i;\n\t\t\t\tn_nodes[i] = 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint root(int x)\n\t\t{\n\t\t\tif( par[x] == x ) return x;\n\t\t\treturn par[x] = root(par[x]);\n\t\t}\n\t\t\n\t\tvoid unite(int x, int y)\n\t\t{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\tif( rx == ry ) return;\n\t\t\tpar[rx] = ry;\n\t\t\tn_nodes[ry] += n_nodes[rx];\n\t\t\tmax = Math.max(max, n_nodes[ry]);\n\t\t}\n\t\t\n\t\tboolean same(int x, int y)\n\t\t{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\treturn rx == ry;\n\t\t}\n\t}",
"UnionFind",
"int[] par;",
"par",
"int[] n_nodes;",
"n_nodes",
"int max = 1;",
"max",
"1",
"public UnionFind(int n)\n\t\t{\n\t\t\tpar = new int[n];\n\t\t\tn_nodes = new int[n];\n\t\t\tfor( int i=0; i<n; i++ )\n\t\t\t{\n\t\t\t\tpar[i] = i;\n\t\t\t\tn_nodes[i] = 1;\n\t\t\t}\n\t\t}",
"UnionFind",
"{\n\t\t\tpar = new int[n];\n\t\t\tn_nodes = new int[n];\n\t\t\tfor( int i=0; i<n; i++ )\n\t\t\t{\n\t\t\t\tpar[i] = i;\n\t\t\t\tn_nodes[i] = 1;\n\t\t\t}\n\t\t}",
"par = new int[n]",
"par",
"new int[n]",
"n",
"n_nodes = new int[n]",
"n_nodes",
"new int[n]",
"n",
"for( int i=0; i<n; i++ )\n\t\t\t{\n\t\t\t\tpar[i] = i;\n\t\t\t\tn_nodes[i] = 1;\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tpar[i] = i;\n\t\t\t\tn_nodes[i] = 1;\n\t\t\t}",
"{\n\t\t\t\tpar[i] = i;\n\t\t\t\tn_nodes[i] = 1;\n\t\t\t}",
"par[i] = i",
"par[i]",
"par",
"i",
"i",
"n_nodes[i] = 1",
"n_nodes[i]",
"n_nodes",
"i",
"1",
"int n",
"n",
"int root(int x)\n\t\t{\n\t\t\tif( par[x] == x ) return x;\n\t\t\treturn par[x] = root(par[x]);\n\t\t}",
"root",
"{\n\t\t\tif( par[x] == x ) return x;\n\t\t\treturn par[x] = root(par[x]);\n\t\t}",
"if( par[x] == x ) return x;",
"par[x] == x",
"par[x]",
"par",
"x",
"x",
"return x;",
"x",
"return par[x] = root(par[x]);",
"par[x] = root(par[x])",
"par[x]",
"par",
"x",
"root(par[x])",
"root",
"par[x]",
"par",
"x",
"int x",
"x",
"void unite(int x, int y)\n\t\t{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\tif( rx == ry ) return;\n\t\t\tpar[rx] = ry;\n\t\t\tn_nodes[ry] += n_nodes[rx];\n\t\t\tmax = Math.max(max, n_nodes[ry]);\n\t\t}",
"unite",
"{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\tif( rx == ry ) return;\n\t\t\tpar[rx] = ry;\n\t\t\tn_nodes[ry] += n_nodes[rx];\n\t\t\tmax = Math.max(max, n_nodes[ry]);\n\t\t}",
"int rx = root(x);",
"rx",
"root(x)",
"root",
"x",
"int ry = root(y);",
"ry",
"root(y)",
"root",
"y",
"if( rx == ry ) return;",
"rx == ry",
"rx",
"ry",
"return;",
"par[rx] = ry",
"par[rx]",
"par",
"rx",
"ry",
"n_nodes[ry] += n_nodes[rx]",
"n_nodes[ry]",
"n_nodes",
"ry",
"n_nodes[rx]",
"n_nodes",
"rx",
"max = Math.max(max, n_nodes[ry])",
"max",
"Math.max(max, n_nodes[ry])",
"Math.max",
"Math",
"max",
"n_nodes[ry]",
"n_nodes",
"ry",
"int x",
"x",
"int y",
"y",
"boolean same(int x, int y)\n\t\t{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\treturn rx == ry;\n\t\t}",
"same",
"{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\treturn rx == ry;\n\t\t}",
"int rx = root(x);",
"rx",
"root(x)",
"root",
"x",
"int ry = root(y);",
"ry",
"root(y)",
"root",
"y",
"return rx == ry;",
"rx == ry",
"rx",
"ry",
"int x",
"x",
"int y",
"y",
"static class MyScanner\n\t{\n\t\tprivate BufferedReader in;\n\t\tprivate StringTokenizer st;\n\t\t\n\t\tpublic MyScanner(InputStream stream)\n\t\t{\n\t\t\tin = new BufferedReader(new InputStreamReader(stream));\n\t\t}\n\t\t\n\t\tpublic String next()\n\t\t{\n\t\t\twhile( st == null || !st.hasMoreTokens() )\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tString rl = in.readLine();\n\t\t\t\t\tif( rl == null )\n\t\t\t\t\t{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tst = new StringTokenizer(rl);\n\t\t\t\t}\n\t\t\t\tcatch( IOException e )\n\t\t\t\t{\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt()\n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}",
"MyScanner",
"private BufferedReader in;",
"in",
"private StringTokenizer st;",
"st",
"public MyScanner(InputStream stream)\n\t\t{\n\t\t\tin = new BufferedReader(new InputStreamReader(stream));\n\t\t}",
"MyScanner",
"{\n\t\t\tin = new BufferedReader(new InputStreamReader(stream));\n\t\t}",
"in = new BufferedReader(new InputStreamReader(stream))",
"in",
"new BufferedReader(new InputStreamReader(stream))",
"InputStream stream",
"stream",
"public String next()\n\t\t{\n\t\t\twhile( st == null || !st.hasMoreTokens() )\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tString rl = in.readLine();\n\t\t\t\t\tif( rl == null )\n\t\t\t\t\t{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tst = new StringTokenizer(rl);\n\t\t\t\t}\n\t\t\t\tcatch( IOException e )\n\t\t\t\t{\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile( st == null || !st.hasMoreTokens() )\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tString rl = in.readLine();\n\t\t\t\t\tif( rl == null )\n\t\t\t\t\t{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tst = new StringTokenizer(rl);\n\t\t\t\t}\n\t\t\t\tcatch( IOException e )\n\t\t\t\t{\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while( st == null || !st.hasMoreTokens() )\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tString rl = in.readLine();\n\t\t\t\t\tif( rl == null )\n\t\t\t\t\t{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tst = new StringTokenizer(rl);\n\t\t\t\t}\n\t\t\t\tcatch( IOException e )\n\t\t\t\t{\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tString rl = in.readLine();\n\t\t\t\t\tif( rl == null )\n\t\t\t\t\t{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tst = new StringTokenizer(rl);\n\t\t\t\t}\n\t\t\t\tcatch( IOException e )\n\t\t\t\t{\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}",
"try\n\t\t\t\t{\n\t\t\t\t\tString rl = in.readLine();\n\t\t\t\t\tif( rl == null )\n\t\t\t\t\t{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tst = new StringTokenizer(rl);\n\t\t\t\t}\n\t\t\t\tcatch( IOException e )\n\t\t\t\t{\n\t\t\t\t\treturn null;\n\t\t\t\t}",
"catch( IOException e )\n\t\t\t\t{\n\t\t\t\t\treturn null;\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\treturn null;\n\t\t\t\t}",
"return null;",
"null",
"{\n\t\t\t\t\tString rl = in.readLine();\n\t\t\t\t\tif( rl == null )\n\t\t\t\t\t{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tst = new StringTokenizer(rl);\n\t\t\t\t}",
"String rl = in.readLine();",
"rl",
"in.readLine()",
"in.readLine",
"in",
"if( rl == null )\n\t\t\t\t\t{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}",
"rl == null",
"rl",
"null",
"{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}",
"return null;",
"null",
"st = new StringTokenizer(rl)",
"st",
"new StringTokenizer(rl)",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt()\n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"static interface Solver\n\t{\n\t\tpublic void solve(int testNumber, MyScanner in, PrintWriter out);\n\t}",
"Solver",
"public void solve(int testNumber, MyScanner in, PrintWriter out);",
"solve",
"int testNumber",
"testNumber",
"MyScanner in",
"in",
"PrintWriter out",
"out",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tInputStream inputStream = System.in;\n\t\tOutputStream outputStream = System.out;\n\t\tMyScanner in = new MyScanner(inputStream);\n\t\tPrintWriter out = new PrintWriter(outputStream);\n\t\tSolver solver = new A();\n\t\tsolver.solve(1, in, out);\n\t\tout.close();\n\t}\n\t\n\tstatic class A implements Solver\n\t{\n\t\tpublic void solve(int testNumber, MyScanner in, PrintWriter out)\n\t\t{\n\t\t\tint x = in.nextInt();\n\t\t\tout.println(1 - x);\n\t\t}\n\t}\n\n\tstatic class UnionFind\n\t{\n\t\tint[] par;\n\t\tint[] n_nodes;\n\t\tint max = 1;\n\t\t\n\t\tpublic UnionFind(int n)\n\t\t{\n\t\t\tpar = new int[n];\n\t\t\tn_nodes = new int[n];\n\t\t\tfor( int i=0; i<n; i++ )\n\t\t\t{\n\t\t\t\tpar[i] = i;\n\t\t\t\tn_nodes[i] = 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint root(int x)\n\t\t{\n\t\t\tif( par[x] == x ) return x;\n\t\t\treturn par[x] = root(par[x]);\n\t\t}\n\t\t\n\t\tvoid unite(int x, int y)\n\t\t{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\tif( rx == ry ) return;\n\t\t\tpar[rx] = ry;\n\t\t\tn_nodes[ry] += n_nodes[rx];\n\t\t\tmax = Math.max(max, n_nodes[ry]);\n\t\t}\n\t\t\n\t\tboolean same(int x, int y)\n\t\t{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\treturn rx == ry;\n\t\t}\n\t}\n\t\n\tstatic class MyScanner\n\t{\n\t\tprivate BufferedReader in;\n\t\tprivate StringTokenizer st;\n\t\t\n\t\tpublic MyScanner(InputStream stream)\n\t\t{\n\t\t\tin = new BufferedReader(new InputStreamReader(stream));\n\t\t}\n\t\t\n\t\tpublic String next()\n\t\t{\n\t\t\twhile( st == null || !st.hasMoreTokens() )\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tString rl = in.readLine();\n\t\t\t\t\tif( rl == null )\n\t\t\t\t\t{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tst = new StringTokenizer(rl);\n\t\t\t\t}\n\t\t\t\tcatch( IOException e )\n\t\t\t\t{\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt()\n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}\n\t\n\tstatic interface Solver\n\t{\n\t\tpublic void solve(int testNumber, MyScanner in, PrintWriter out);\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tInputStream inputStream = System.in;\n\t\tOutputStream outputStream = System.out;\n\t\tMyScanner in = new MyScanner(inputStream);\n\t\tPrintWriter out = new PrintWriter(outputStream);\n\t\tSolver solver = new A();\n\t\tsolver.solve(1, in, out);\n\t\tout.close();\n\t}\n\t\n\tstatic class A implements Solver\n\t{\n\t\tpublic void solve(int testNumber, MyScanner in, PrintWriter out)\n\t\t{\n\t\t\tint x = in.nextInt();\n\t\t\tout.println(1 - x);\n\t\t}\n\t}\n\n\tstatic class UnionFind\n\t{\n\t\tint[] par;\n\t\tint[] n_nodes;\n\t\tint max = 1;\n\t\t\n\t\tpublic UnionFind(int n)\n\t\t{\n\t\t\tpar = new int[n];\n\t\t\tn_nodes = new int[n];\n\t\t\tfor( int i=0; i<n; i++ )\n\t\t\t{\n\t\t\t\tpar[i] = i;\n\t\t\t\tn_nodes[i] = 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint root(int x)\n\t\t{\n\t\t\tif( par[x] == x ) return x;\n\t\t\treturn par[x] = root(par[x]);\n\t\t}\n\t\t\n\t\tvoid unite(int x, int y)\n\t\t{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\tif( rx == ry ) return;\n\t\t\tpar[rx] = ry;\n\t\t\tn_nodes[ry] += n_nodes[rx];\n\t\t\tmax = Math.max(max, n_nodes[ry]);\n\t\t}\n\t\t\n\t\tboolean same(int x, int y)\n\t\t{\n\t\t\tint rx = root(x);\n\t\t\tint ry = root(y);\n\t\t\treturn rx == ry;\n\t\t}\n\t}\n\t\n\tstatic class MyScanner\n\t{\n\t\tprivate BufferedReader in;\n\t\tprivate StringTokenizer st;\n\t\t\n\t\tpublic MyScanner(InputStream stream)\n\t\t{\n\t\t\tin = new BufferedReader(new InputStreamReader(stream));\n\t\t}\n\t\t\n\t\tpublic String next()\n\t\t{\n\t\t\twhile( st == null || !st.hasMoreTokens() )\n\t\t\t{\n\t\t\t\ttry\n\t\t\t\t{\n\t\t\t\t\tString rl = in.readLine();\n\t\t\t\t\tif( rl == null )\n\t\t\t\t\t{\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t\tst = new StringTokenizer(rl);\n\t\t\t\t}\n\t\t\t\tcatch( IOException e )\n\t\t\t\t{\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt()\n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}\n\t\n\tstatic interface Solver\n\t{\n\t\tpublic void solve(int testNumber, MyScanner in, PrintWriter out);\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.StringTokenizer;
public class Main
{
public static void main(String[] args)
{
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
MyScanner in = new MyScanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
Solver solver = new A();
solver.solve(1, in, out);
out.close();
}
static class A implements Solver
{
public void solve(int testNumber, MyScanner in, PrintWriter out)
{
int x = in.nextInt();
out.println(1 - x);
}
}
static class UnionFind
{
int[] par;
int[] n_nodes;
int max = 1;
public UnionFind(int n)
{
par = new int[n];
n_nodes = new int[n];
for( int i=0; i<n; i++ )
{
par[i] = i;
n_nodes[i] = 1;
}
}
int root(int x)
{
if( par[x] == x ) return x;
return par[x] = root(par[x]);
}
void unite(int x, int y)
{
int rx = root(x);
int ry = root(y);
if( rx == ry ) return;
par[rx] = ry;
n_nodes[ry] += n_nodes[rx];
max = Math.max(max, n_nodes[ry]);
}
boolean same(int x, int y)
{
int rx = root(x);
int ry = root(y);
return rx == ry;
}
}
static class MyScanner
{
private BufferedReader in;
private StringTokenizer st;
public MyScanner(InputStream stream)
{
in = new BufferedReader(new InputStreamReader(stream));
}
public String next()
{
while( st == null || !st.hasMoreTokens() )
{
try
{
String rl = in.readLine();
if( rl == null )
{
return null;
}
st = new StringTokenizer(rl);
}
catch( IOException e )
{
return null;
}
}
return st.nextToken();
}
public int nextInt()
{
return Integer.parseInt(next());
}
}
static interface Solver
{
public void solve(int testNumber, MyScanner in, PrintWriter out);
}
}
|
[
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,
17,
42,
2,
40,
13,
17,
30,
4,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
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
],
[
100,
17
],
[
100,
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
],
[
100,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
53,
69
],
[
69,
70
],
[
53,
71
],
[
71,
72
],
[
53,
73
],
[
73,
74
],
[
51,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
77,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
75,
95
],
[
95,
96
],
[
75,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main\n{\n public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskA\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n int T = 1;\n while (T-- > 0)\n {\n solveOne(in, out);\n }\n }\n\n private void solveOne(Scanner in, PrintWriter out)\n {\n int n = in.nextInt();\n if (n == 1)\n out.println(0);\n else\n out.println(1);\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskA\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n int T = 1;\n while (T-- > 0)\n {\n solveOne(in, out);\n }\n }\n\n private void solveOne(Scanner in, PrintWriter out)\n {\n int n = in.nextInt();\n if (n == 1)\n out.println(0);\n else\n out.println(1);\n }\n\n }\n}",
"Main",
"public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\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 TaskA solver = new TaskA();\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)",
"TaskA solver = new TaskA();",
"solver",
"new TaskA()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class TaskA\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n int T = 1;\n while (T-- > 0)\n {\n solveOne(in, out);\n }\n }\n\n private void solveOne(Scanner in, PrintWriter out)\n {\n int n = in.nextInt();\n if (n == 1)\n out.println(0);\n else\n out.println(1);\n }\n\n }",
"TaskA",
"public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n int T = 1;\n while (T-- > 0)\n {\n solveOne(in, out);\n }\n }",
"solve",
"{\n int T = 1;\n while (T-- > 0)\n {\n solveOne(in, out);\n }\n }",
"int T = 1;",
"T",
"1",
"while (T-- > 0)\n {\n solveOne(in, out);\n }",
"T-- > 0",
"T--",
"T",
"0",
"{\n solveOne(in, out);\n }",
"solveOne(in, out)",
"solveOne",
"in",
"out",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"private void solveOne(Scanner in, PrintWriter out)\n {\n int n = in.nextInt();\n if (n == 1)\n out.println(0);\n else\n out.println(1);\n }",
"solveOne",
"{\n int n = in.nextInt();\n if (n == 1)\n out.println(0);\n else\n out.println(1);\n }",
"int n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"if (n == 1)\n out.println(0);\n else\n out.println(1);",
"n == 1",
"n",
"1",
"out.println(0)",
"out.println",
"out",
"0",
"out.println(1)",
"out.println",
"out",
"1",
"Scanner in",
"in",
"PrintWriter out",
"out",
"public class Main\n{\n public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskA\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n int T = 1;\n while (T-- > 0)\n {\n solveOne(in, out);\n }\n }\n\n private void solveOne(Scanner in, PrintWriter out)\n {\n int n = in.nextInt();\n if (n == 1)\n out.println(0);\n else\n out.println(1);\n }\n\n }\n}",
"public class Main\n{\n public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskA\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n int T = 1;\n while (T-- > 0)\n {\n solveOne(in, out);\n }\n }\n\n private void solveOne(Scanner in, PrintWriter out)\n {\n int n = in.nextInt();\n if (n == 1)\n out.println(0);\n else\n out.println(1);\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main
{
public static void main(String[] args)
{
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
TaskA solver = new TaskA();
solver.solve(1, in, out);
out.close();
}
static class TaskA
{
public void solve(int testNumber, Scanner in, PrintWriter out)
{
int T = 1;
while (T-- > 0)
{
solveOne(in, out);
}
}
private void solveOne(Scanner in, PrintWriter out)
{
int n = in.nextInt();
if (n == 1)
out.println(0);
else
out.println(1);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
9,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
6,
17
],
[
17,
18
],
[
4,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
21,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
19,
41
],
[
41,
42
]
]
| [
"import java.io.*;\nclass Main{\n public static int solution(int x){\n if(x == 0)\n return 1;\n return 0;\n }\n \npublic static void main(String[] args) throws Exception{\n\t\tBufferedReader buff=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.parseInt(buff.readLine());\n\t\tSystem.out.println(solution(n));\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static int solution(int x){\n if(x == 0)\n return 1;\n return 0;\n }\n \npublic static void main(String[] args) throws Exception{\n\t\tBufferedReader buff=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.parseInt(buff.readLine());\n\t\tSystem.out.println(solution(n));\n\t}\n}",
"Main",
"public static int solution(int x){\n if(x == 0)\n return 1;\n return 0;\n }",
"solution",
"{\n if(x == 0)\n return 1;\n return 0;\n }",
"if(x == 0)\n return 1;",
"x == 0",
"x",
"0",
"return 1;",
"1",
"return 0;",
"0",
"int x",
"x",
"public static void main(String[] args) throws Exception{\n\t\tBufferedReader buff=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.parseInt(buff.readLine());\n\t\tSystem.out.println(solution(n));\n\t}",
"main",
"{\n\t\tBufferedReader buff=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.parseInt(buff.readLine());\n\t\tSystem.out.println(solution(n));\n\t}",
"BufferedReader buff=new BufferedReader(new InputStreamReader(System.in));",
"buff",
"new BufferedReader(new InputStreamReader(System.in))",
"int n=Integer.parseInt(buff.readLine());",
"n",
"Integer.parseInt(buff.readLine())",
"Integer.parseInt",
"Integer",
"buff.readLine()",
"buff.readLine",
"buff",
"System.out.println(solution(n))",
"System.out.println",
"System.out",
"System",
"System.out",
"solution(n)",
"solution",
"n",
"String[] args",
"args"
]
| import java.io.*;
class Main{
public static int solution(int x){
if(x == 0)
return 1;
return 0;
}
public static void main(String[] args) throws Exception{
BufferedReader buff=new BufferedReader(new InputStreamReader(System.in));
int n=Integer.parseInt(buff.readLine());
System.out.println(solution(n));
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
0,
18,
36,
13,
20,
41,
13,
4,
18,
18,
36,
13,
4,
18,
18,
13,
13,
8,
2,
13,
17,
17,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
43,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
43,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
18,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
36,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
]
| [
"import java.util.*;\n\n/**\n * A Main\n *\n * @date 2020.09.19\n * @author 焼き鮭 <[email protected]>\n */\n\npublic class Main {\n Scanner sc;\n\n public static void main(String[] args) {\n new Main().execute();\n }\n\n public void execute() {\n this.sc = new Scanner(System.in);\n int x = this.sc.nextInt();\n System.out.println(x == 1 ? 0 : 1);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n Scanner sc;\n\n public static void main(String[] args) {\n new Main().execute();\n }\n\n public void execute() {\n this.sc = new Scanner(System.in);\n int x = this.sc.nextInt();\n System.out.println(x == 1 ? 0 : 1);\n }\n}",
"Main",
"Scanner sc;",
"sc",
"public static void main(String[] args) {\n new Main().execute();\n }",
"main",
"{\n new Main().execute();\n }",
"new Main().execute()",
"new Main().execute",
"new Main()",
"String[] args",
"args",
"public void execute() {\n this.sc = new Scanner(System.in);\n int x = this.sc.nextInt();\n System.out.println(x == 1 ? 0 : 1);\n }",
"execute",
"{\n this.sc = new Scanner(System.in);\n int x = this.sc.nextInt();\n System.out.println(x == 1 ? 0 : 1);\n }",
"this.sc = new Scanner(System.in)",
"this.sc",
"this",
"this.sc",
"new Scanner(System.in)",
"int x = this.sc.nextInt();",
"x",
"this.sc.nextInt()",
"this.sc.nextInt",
"this.sc",
"this",
"this.sc",
"System.out.println(x == 1 ? 0 : 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"x == 1 ? 0 : 1",
"x == 1",
"x",
"1",
"0",
"1",
"public class Main {\n Scanner sc;\n\n public static void main(String[] args) {\n new Main().execute();\n }\n\n public void execute() {\n this.sc = new Scanner(System.in);\n int x = this.sc.nextInt();\n System.out.println(x == 1 ? 0 : 1);\n }\n}",
"public class Main {\n Scanner sc;\n\n public static void main(String[] args) {\n new Main().execute();\n }\n\n public void execute() {\n this.sc = new Scanner(System.in);\n int x = this.sc.nextInt();\n System.out.println(x == 1 ? 0 : 1);\n }\n}",
"Main"
]
| import java.util.*;
/**
* A Main
*
* @date 2020.09.19
* @author 焼き鮭 <[email protected]>
*/
public class Main {
Scanner sc;
public static void main(String[] args) {
new Main().execute();
}
public void execute() {
this.sc = new Scanner(System.in);
int x = this.sc.nextInt();
System.out.println(x == 1 ? 0 : 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,
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,
4,
18,
18,
13,
13,
2,
4,
18,
13,
17,
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
],
[
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
],
[
601,
47
],
[
601,
48
],
[
48,
49
],
[
601,
50
],
[
50,
51
],
[
50,
52
],
[
601,
53
],
[
53,
54
],
[
53,
55
],
[
601,
56
],
[
56,
57
],
[
56,
58
],
[
601,
59
],
[
59,
60
],
[
59,
61
],
[
601,
62
],
[
62,
63
],
[
601,
64
],
[
64,
65
],
[
601,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
74,
78
],
[
601,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
87,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
86,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
82,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
107,
109
],
[
81,
110
],
[
110,
111
],
[
110,
112
],
[
81,
113
],
[
113,
114
],
[
113,
115
],
[
81,
116
],
[
116,
117
],
[
601,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
118,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
126,
130
],
[
130,
131
],
[
130,
132
],
[
126,
134
],
[
134,
135
],
[
126,
136
],
[
136,
137
],
[
126,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
138,
146
],
[
146,
147
],
[
126,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
151,
156
],
[
156,
157
],
[
150,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
166,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
175,
178
],
[
162,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
183,
184
],
[
184,
185
],
[
150,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
126,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
198,
196
],
[
208,
197
],
[
205,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
202,
203
],
[
202,
204
],
[
205,
205
],
[
205,
206
],
[
205,
207
],
[
208,
208
],
[
208,
209
],
[
208,
210
],
[
198,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
191,
215
],
[
215,
216
],
[
126,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
222,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
226,
228
],
[
222,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
217,
233
],
[
233,
234
],
[
126,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
239,
242
],
[
242,
243
],
[
126,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
251,
256
],
[
256,
257
],
[
256,
258
],
[
251,
259
],
[
259,
260
],
[
260,
261
],
[
251,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
263,
267
],
[
267,
268
],
[
246,
269
],
[
269,
270
],
[
244,
271
],
[
271,
272
],
[
126,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
281,
286
],
[
286,
287
],
[
286,
288
],
[
281,
289
],
[
289,
290
],
[
290,
291
],
[
281,
292
],
[
293,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
294,
298
],
[
298,
299
],
[
298,
300
],
[
275,
301
],
[
301,
302
],
[
273,
303
],
[
303,
304
],
[
273,
305
],
[
305,
306
],
[
126,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
311,
314
],
[
314,
315
],
[
126,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
319,
320
],
[
319,
321
],
[
318,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
323,
328
],
[
328,
329
],
[
328,
330
],
[
323,
331
],
[
331,
332
],
[
332,
333
],
[
323,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
336,
338
],
[
335,
339
],
[
339,
340
],
[
318,
341
],
[
341,
342
],
[
316,
343
],
[
343,
344
],
[
126,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
348,
349
],
[
348,
350
],
[
347,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
353,
358
],
[
358,
359
],
[
358,
360
],
[
353,
361
],
[
361,
362
],
[
362,
363
],
[
353,
364
],
[
365,
365
],
[
365,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
366,
370
],
[
370,
371
],
[
370,
372
],
[
347,
373
],
[
373,
374
],
[
345,
375
],
[
375,
376
],
[
345,
377
],
[
377,
378
],
[
126,
379
],
[
379,
380
],
[
379,
381
],
[
381,
382
],
[
382,
383
],
[
383,
384
],
[
384,
385
],
[
383,
386
],
[
386,
387
],
[
126,
388
],
[
388,
389
],
[
388,
390
],
[
390,
391
],
[
391,
392
],
[
391,
393
],
[
390,
395
],
[
395,
396
],
[
396,
397
],
[
397,
398
],
[
397,
399
],
[
395,
400
],
[
400,
401
],
[
400,
402
],
[
395,
403
],
[
403,
404
],
[
404,
405
],
[
395,
406
],
[
406,
407
],
[
407,
408
],
[
408,
409
],
[
408,
410
],
[
407,
411
],
[
411,
412
],
[
390,
413
],
[
413,
414
],
[
388,
415
],
[
415,
416
],
[
126,
417
],
[
417,
418
],
[
417,
419
],
[
419,
420
],
[
420,
421
],
[
420,
422
],
[
419,
425
],
[
425,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
425,
430
],
[
430,
431
],
[
430,
432
],
[
425,
433
],
[
433,
434
],
[
434,
435
],
[
425,
436
],
[
437,
437
],
[
437,
438
],
[
438,
439
],
[
439,
440
],
[
439,
441
],
[
438,
442
],
[
442,
443
],
[
442,
444
],
[
419,
445
],
[
445,
446
],
[
417,
447
],
[
447,
448
],
[
417,
449
],
[
449,
450
],
[
126,
451
],
[
451,
452
],
[
451,
453
],
[
453,
454
],
[
454,
455
],
[
454,
456
],
[
456,
457
],
[
453,
458
],
[
458,
459
],
[
459,
460
],
[
459,
461
],
[
458,
462
],
[
462,
463
],
[
462,
464
],
[
464,
465
],
[
453,
466
],
[
466,
467
],
[
466,
468
],
[
453,
469
],
[
469,
470
],
[
470,
471
],
[
471,
472
],
[
471,
473
],
[
469,
474
],
[
474,
475
],
[
475,
476
],
[
476,
477
],
[
475,
478
],
[
474,
479
],
[
479,
480
],
[
479,
481
],
[
481,
482
],
[
453,
483
],
[
483,
484
],
[
484,
485
],
[
485,
486
],
[
126,
487
],
[
487,
488
],
[
487,
489
],
[
489,
490
],
[
490,
491
],
[
490,
492
],
[
489,
494
],
[
494,
495
],
[
495,
496
],
[
496,
497
],
[
496,
498
],
[
494,
499
],
[
499,
500
],
[
499,
501
],
[
494,
502
],
[
502,
503
],
[
503,
504
],
[
494,
505
],
[
505,
506
],
[
506,
507
],
[
507,
508
],
[
507,
509
],
[
506,
510
],
[
510,
511
],
[
489,
512
],
[
512,
513
],
[
487,
514
],
[
514,
515
],
[
126,
516
],
[
516,
517
],
[
516,
518
],
[
518,
519
],
[
519,
520
],
[
519,
521
],
[
521,
522
],
[
518,
523
],
[
523,
524
],
[
524,
525
],
[
524,
526
],
[
523,
527
],
[
527,
528
],
[
527,
529
],
[
529,
530
],
[
518,
531
],
[
531,
532
],
[
531,
533
],
[
518,
534
],
[
534,
535
],
[
535,
536
],
[
536,
537
],
[
536,
538
],
[
534,
539
],
[
539,
540
],
[
540,
541
],
[
541,
542
],
[
540,
543
],
[
539,
544
],
[
544,
545
],
[
544,
546
],
[
546,
547
],
[
518,
548
],
[
548,
549
],
[
549,
550
],
[
550,
551
],
[
126,
552
],
[
552,
553
],
[
552,
554
],
[
554,
555
],
[
555,
556
],
[
555,
557
],
[
554,
560
],
[
560,
561
],
[
561,
562
],
[
562,
563
],
[
562,
564
],
[
560,
565
],
[
565,
566
],
[
565,
567
],
[
560,
568
],
[
568,
569
],
[
569,
570
],
[
560,
571
],
[
572,
572
],
[
572,
573
],
[
573,
574
],
[
574,
575
],
[
575,
576
],
[
575,
577
],
[
573,
578
],
[
578,
579
],
[
578,
580
],
[
573,
581
],
[
581,
582
],
[
582,
583
],
[
573,
584
],
[
585,
585
],
[
585,
586
],
[
586,
587
],
[
587,
588
],
[
588,
589
],
[
588,
590
],
[
587,
591
],
[
586,
592
],
[
592,
593
],
[
554,
594
],
[
594,
595
],
[
552,
596
],
[
596,
597
],
[
552,
598
],
[
598,
599
],
[
0,
600
],
[
600,
601
],
[
600,
602
]
]
| [
"import java.util.TreeMap;\nimport java.util.Set;\nimport java.nio.file.Paths;\nimport java.util.HashSet;\nimport java.util.ArrayList;\nimport java.io.PrintWriter;\nimport java.nio.file.Files;\nimport java.util.stream.Collectors;\nimport java.io.InputStream;\nimport java.util.Map;\nimport java.io.FileInputStream;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.util.List;\nimport java.io.FileNotFoundException;\n\npublic class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n static String __DEBUG_FILE_NAME__ = \"\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n System.out.println(in.nextInt() ^ 1);\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.util.TreeMap;",
"TreeMap",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"import java.nio.file.Paths;",
"Paths",
"java.nio.file",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.nio.file.Files;",
"Files",
"java.nio.file",
"import java.util.stream.Collectors;",
"Collectors",
"java.util.stream",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.Map;",
"Map",
"java.util",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.List;",
"List",
"java.util",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"java.io",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n static String __DEBUG_FILE_NAME__ = \"\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n System.out.println(in.nextInt() ^ 1);\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__",
"static String __DEBUG_FILE_NAME__ = \"\";",
"__DEBUG_FILE_NAME__",
"\"\"",
"FastScanner in;",
"in",
"PrintWriter out;",
"out",
"public void solve() {\n System.out.println(in.nextInt() ^ 1);\n }",
"solve",
"{\n System.out.println(in.nextInt() ^ 1);\n }",
"System.out.println(in.nextInt() ^ 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"in.nextInt() ^ 1",
"in.nextInt()",
"in.nextInt",
"in",
"1",
"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 static String __DEBUG_FILE_NAME__ = \"\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n System.out.println(in.nextInt() ^ 1);\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 static String __DEBUG_FILE_NAME__ = \"\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n System.out.println(in.nextInt() ^ 1);\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.util.TreeMap;
import java.util.Set;
import java.nio.file.Paths;
import java.util.HashSet;
import java.util.ArrayList;
import java.io.PrintWriter;
import java.nio.file.Files;
import java.util.stream.Collectors;
import java.io.InputStream;
import java.util.Map;
import java.io.FileInputStream;
import java.util.InputMismatchException;
import java.io.IOException;
import java.util.List;
import java.io.FileNotFoundException;
public class Main {
InputStream is;
int __t__ = 1;
int __f__ = 0;
int __FILE_DEBUG_FLAG__ = __f__;
static String __DEBUG_FILE_NAME__ = "";
FastScanner in;
PrintWriter out;
public void solve() {
System.out.println(in.nextInt() ^ 1);
}
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,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
17,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
34,
5
],
[
34,
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
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
25,
30
],
[
6,
31
],
[
31,
32
],
[
0,
33
],
[
33,
34
],
[
33,
35
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = Integer.parseInt(sc.next());\n\t\t//int b = Integer.parseInt(sc.next());\n\t\t//int c = Integer.parseInt(sc.next());\n\n\t\tSystem.out.println(a == 1 ? \"0\" : 1);\n\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = Integer.parseInt(sc.next());\n\t\t//int b = Integer.parseInt(sc.next());\n\t\t//int c = Integer.parseInt(sc.next());\n\n\t\tSystem.out.println(a == 1 ? \"0\" : 1);\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = Integer.parseInt(sc.next());\n\t\t//int b = Integer.parseInt(sc.next());\n\t\t//int c = Integer.parseInt(sc.next());\n\n\t\tSystem.out.println(a == 1 ? \"0\" : 1);\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = Integer.parseInt(sc.next());\n\t\t//int b = Integer.parseInt(sc.next());\n\t\t//int c = Integer.parseInt(sc.next());\n\n\t\tSystem.out.println(a == 1 ? \"0\" : 1);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = Integer.parseInt(sc.next());",
"a",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"System.out.println(a == 1 ? \"0\" : 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"a == 1 ? \"0\" : 1",
"a == 1",
"a",
"1",
"\"0\"",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = Integer.parseInt(sc.next());\n\t\t//int b = Integer.parseInt(sc.next());\n\t\t//int c = Integer.parseInt(sc.next());\n\n\t\tSystem.out.println(a == 1 ? \"0\" : 1);\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = Integer.parseInt(sc.next());\n\t\t//int b = Integer.parseInt(sc.next());\n\t\t//int c = Integer.parseInt(sc.next());\n\n\t\tSystem.out.println(a == 1 ? \"0\" : 1);\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 = Integer.parseInt(sc.next());
//int b = Integer.parseInt(sc.next());
//int c = Integer.parseInt(sc.next());
System.out.println(a == 1 ? "0" : 1);
}
} |
[
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,
14,
2,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
40,
4,
13,
0,
13,
20,
12,
13,
30,
29,
2,
2,
13,
17,
4,
18,
13,
12,
13,
30,
4,
13,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
113,
11
],
[
113,
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
],
[
30,
32
],
[
14,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
12,
39
],
[
39,
40
],
[
113,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
41,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
53,
54
],
[
41,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
41,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
41,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
41,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
41,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
41,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport static java.lang.Math.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tint n = sc.nextInt();\n\t\t\n\t\t// 計算\n\t\tint result = 0;\n\t\tif(n == 0) result = 1;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}\n\t\n\tpublic static class Scanner {\n\t\tprivate BufferedReader br; private StringTokenizer tok;\n\t\tpublic Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}\n\t\tprivate void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}\n\t\tprivate boolean hasNext() { return tok != null && tok.hasMoreTokens();}\n\t\tpublic String next() throws IOException { getLine(); return tok.nextToken();}\n\t\tpublic int nextInt() throws IOException { return Integer.parseInt(next());}\n\t\tpublic long nextLong() throws IOException { return Long.parseLong(next());}\n\t\tpublic double nextDouble() throws IOException { return Double.parseDouble(next());}\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tint n = sc.nextInt();\n\t\t\n\t\t// 計算\n\t\tint result = 0;\n\t\tif(n == 0) result = 1;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}\n\t\n\tpublic static class Scanner {\n\t\tprivate BufferedReader br; private StringTokenizer tok;\n\t\tpublic Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}\n\t\tprivate void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}\n\t\tprivate boolean hasNext() { return tok != null && tok.hasMoreTokens();}\n\t\tpublic String next() throws IOException { getLine(); return tok.nextToken();}\n\t\tpublic int nextInt() throws IOException { return Integer.parseInt(next());}\n\t\tpublic long nextLong() throws IOException { return Long.parseLong(next());}\n\t\tpublic double nextDouble() throws IOException { return Double.parseDouble(next());}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tint n = sc.nextInt();\n\t\t\n\t\t// 計算\n\t\tint result = 0;\n\t\tif(n == 0) result = 1;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tint n = sc.nextInt();\n\t\t\n\t\t// 計算\n\t\tint result = 0;\n\t\tif(n == 0) result = 1;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int result = 0;",
"result",
"0",
"if(n == 0) result = 1;",
"n == 0",
"n",
"0",
"result = 1",
"result",
"1",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public static class Scanner {\n\t\tprivate BufferedReader br; private StringTokenizer tok;\n\t\tpublic Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}\n\t\tprivate void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}\n\t\tprivate boolean hasNext() { return tok != null && tok.hasMoreTokens();}\n\t\tpublic String next() throws IOException { getLine(); return tok.nextToken();}\n\t\tpublic int nextInt() throws IOException { return Integer.parseInt(next());}\n\t\tpublic long nextLong() throws IOException { return Long.parseLong(next());}\n\t\tpublic double nextDouble() throws IOException { return Double.parseDouble(next());}\n\t}",
"Scanner",
"private BufferedReader br;",
"br",
"private StringTokenizer tok;",
"tok",
"public Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}",
"Scanner",
"{ br = new BufferedReader(new InputStreamReader(is));}",
"br = new BufferedReader(new InputStreamReader(is))",
"br",
"new BufferedReader(new InputStreamReader(is))",
"InputStream is",
"is",
"private void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}",
"getLine",
"{ while(!hasNext()) tok = new StringTokenizer(br.readLine());}",
"while(!hasNext()) tok = new StringTokenizer(br.readLine());",
"!hasNext()",
"hasNext()",
"hasNext",
"tok = new StringTokenizer(br.readLine())",
"tok",
"new StringTokenizer(br.readLine())",
"private boolean hasNext() { return tok != null && tok.hasMoreTokens();}",
"hasNext",
"{ return tok != null && tok.hasMoreTokens();}",
"return tok != null && tok.hasMoreTokens();",
"tok != null && tok.hasMoreTokens()",
"tok != null",
"tok",
"null",
"tok.hasMoreTokens()",
"tok.hasMoreTokens",
"tok",
"public String next() throws IOException { getLine(); return tok.nextToken();}",
"next",
"{ getLine(); return tok.nextToken();}",
"getLine()",
"getLine",
"return tok.nextToken();",
"tok.nextToken()",
"tok.nextToken",
"tok",
"public int nextInt() throws IOException { return Integer.parseInt(next());}",
"nextInt",
"{ return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException { return Long.parseLong(next());}",
"nextLong",
"{ return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public double nextDouble() throws IOException { return Double.parseDouble(next());}",
"nextDouble",
"{ return Double.parseDouble(next());}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tint n = sc.nextInt();\n\t\t\n\t\t// 計算\n\t\tint result = 0;\n\t\tif(n == 0) result = 1;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}\n\t\n\tpublic static class Scanner {\n\t\tprivate BufferedReader br; private StringTokenizer tok;\n\t\tpublic Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}\n\t\tprivate void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}\n\t\tprivate boolean hasNext() { return tok != null && tok.hasMoreTokens();}\n\t\tpublic String next() throws IOException { getLine(); return tok.nextToken();}\n\t\tpublic int nextInt() throws IOException { return Integer.parseInt(next());}\n\t\tpublic long nextLong() throws IOException { return Long.parseLong(next());}\n\t\tpublic double nextDouble() throws IOException { return Double.parseDouble(next());}\n\t}\n\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tint n = sc.nextInt();\n\t\t\n\t\t// 計算\n\t\tint result = 0;\n\t\tif(n == 0) result = 1;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}\n\t\n\tpublic static class Scanner {\n\t\tprivate BufferedReader br; private StringTokenizer tok;\n\t\tpublic Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}\n\t\tprivate void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}\n\t\tprivate boolean hasNext() { return tok != null && tok.hasMoreTokens();}\n\t\tpublic String next() throws IOException { getLine(); return tok.nextToken();}\n\t\tpublic int nextInt() throws IOException { return Integer.parseInt(next());}\n\t\tpublic long nextLong() throws IOException { return Long.parseLong(next());}\n\t\tpublic double nextDouble() throws IOException { return Double.parseDouble(next());}\n\t}\n\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import static java.lang.Math.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
// 入力
int n = sc.nextInt();
// 計算
int result = 0;
if(n == 0) result = 1;
// 出力
System.out.println(result);
}
public static class Scanner {
private BufferedReader br; private StringTokenizer tok;
public Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}
private void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}
private boolean hasNext() { return tok != null && tok.hasMoreTokens();}
public String next() throws IOException { getLine(); return tok.nextToken();}
public int nextInt() throws IOException { return Integer.parseInt(next());}
public long nextLong() throws IOException { return Long.parseLong(next());}
public double nextDouble() throws IOException { return Double.parseDouble(next());}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
0,
13,
20,
2,
13,
17,
4,
18,
13,
13,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
11,
1,
41,
13,
2,
13,
13,
2,
13,
13,
1,
0,
13,
13,
30,
30,
0,
18,
13,
13,
17,
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,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
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
],
[
331,
14
],
[
331,
15
],
[
15,
16
],
[
331,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
19,
26
],
[
26,
27
],
[
26,
28
],
[
19,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
19,
52
],
[
52,
53
],
[
53,
54
],
[
17,
55
],
[
55,
56
],
[
331,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
59,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
57,
73
],
[
73,
74
],
[
57,
75
],
[
75,
76
],
[
331,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
85,
88
],
[
77,
89
],
[
89,
90
],
[
77,
91
],
[
91,
92
],
[
331,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
102,
103
],
[
102,
104
],
[
95,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
105,
109
],
[
95,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
95,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
115,
125
],
[
125,
126
],
[
126,
127
],
[
115,
128
],
[
129,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
130,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
141,
143
],
[
137,
144
],
[
144,
145
],
[
144,
146
],
[
137,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
137,
151
],
[
152,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
331,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
164,
166
],
[
164,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
160,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
160,
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
],
[
191,
193
],
[
190,
194
],
[
194,
195
],
[
195,
196
],
[
194,
197
],
[
158,
198
],
[
198,
199
],
[
331,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
206,
208
],
[
206,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
210,
213
],
[
202,
214
],
[
214,
215
],
[
215,
216
],
[
214,
217
],
[
202,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
218,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
225,
227
],
[
218,
228
],
[
228,
229
],
[
229,
230
],
[
218,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
236,
237
],
[
237,
238
],
[
236,
239
],
[
200,
240
],
[
240,
241
],
[
331,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
242,
246
],
[
246,
247
],
[
242,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
242,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
258,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
257,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
267,
274
],
[
274,
275
],
[
275,
276
],
[
275,
277
],
[
256,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
242,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
286,
289
],
[
289,
290
],
[
242,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
295,
298
],
[
298,
299
],
[
242,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
304,
307
],
[
307,
308
],
[
242,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
311,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
315,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
326,
327
],
[
311,
328
],
[
328,
329
],
[
0,
330
],
[
330,
331
],
[
330,
332
]
]
| [
"import java.util.*;\nimport java.util.Scanner;\nimport java.io.*;\nimport javax.lang.model.util.ElementScanner6; \n\npublic class Main\n{\n\n public static void main(String args[])\n { \n\n FastReader in=new FastReader();\n PrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n int t=1;\n \n //t=in.nextInt();\n while(t-->0)\n {\n int n=in.nextInt();\n if(n==1)pr.println(0);\n \n else pr.println(1);\n \n }\n pr.flush();\n }\n\n\n\n \n static int gcd(int a,int b)\n {\n \n if(a==0)\n return b;\n return gcd(a%b,b);\n }\n\n static int lcm(int a,int b)\n {\n return (a*b)/gcd(a,b);\n }\n\n\n static boolean prime[];\n\n static void sieveofe()\n {\n int n=1000000;\n \n prime=new boolean[n+1];\n Arrays.fill(prime,true);\n prime[1]=false;\n for(int i=2;i*i<=n;i++)\n {\n if(prime[i]==true)\n {\n for(int j=i*i;j<=n;j+=i)\n {\n prime[j]=false;\n }\n }\n }\n \n \n }\n \n static void sort(long[] a) {\n\t\tArrayList<Long> l = new ArrayList<>();\n\t\tfor (long i : a)\n\t\t\tl.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);\n\t}\n \n \n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> l = new ArrayList<>();\n\t\tfor (int i : a)\n\t\t\tl.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);\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\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 \n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.io.*;",
"io.*",
"java",
"import javax.lang.model.util.ElementScanner6;",
"ElementScanner6",
"javax.lang.model.util",
"public class Main\n{\n\n public static void main(String args[])\n { \n\n FastReader in=new FastReader();\n PrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n int t=1;\n \n //t=in.nextInt();\n while(t-->0)\n {\n int n=in.nextInt();\n if(n==1)pr.println(0);\n \n else pr.println(1);\n \n }\n pr.flush();\n }\n\n\n\n \n static int gcd(int a,int b)\n {\n \n if(a==0)\n return b;\n return gcd(a%b,b);\n }\n\n static int lcm(int a,int b)\n {\n return (a*b)/gcd(a,b);\n }\n\n\n static boolean prime[];\n\n static void sieveofe()\n {\n int n=1000000;\n \n prime=new boolean[n+1];\n Arrays.fill(prime,true);\n prime[1]=false;\n for(int i=2;i*i<=n;i++)\n {\n if(prime[i]==true)\n {\n for(int j=i*i;j<=n;j+=i)\n {\n prime[j]=false;\n }\n }\n }\n \n \n }\n \n static void sort(long[] a) {\n\t\tArrayList<Long> l = new ArrayList<>();\n\t\tfor (long i : a)\n\t\t\tl.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);\n\t}\n \n \n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> l = new ArrayList<>();\n\t\tfor (int i : a)\n\t\t\tl.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);\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\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 \n}",
"Main",
"static boolean prime[];",
"prime",
"public static void main(String args[])\n { \n\n FastReader in=new FastReader();\n PrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n int t=1;\n \n //t=in.nextInt();\n while(t-->0)\n {\n int n=in.nextInt();\n if(n==1)pr.println(0);\n \n else pr.println(1);\n \n }\n pr.flush();\n }",
"main",
"{ \n\n FastReader in=new FastReader();\n PrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n int t=1;\n \n //t=in.nextInt();\n while(t-->0)\n {\n int n=in.nextInt();\n if(n==1)pr.println(0);\n \n else pr.println(1);\n \n }\n pr.flush();\n }",
"FastReader in=new FastReader();",
"in",
"new FastReader()",
"PrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));",
"pr",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)))",
"int t=1;",
"t",
"1",
"while(t-->0)\n {\n int n=in.nextInt();\n if(n==1)pr.println(0);\n \n else pr.println(1);\n \n }",
"t-->0",
"t--",
"t",
"0",
"{\n int n=in.nextInt();\n if(n==1)pr.println(0);\n \n else pr.println(1);\n \n }",
"int n=in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"if(n==1)pr.println(0);\n \n else pr.println(1);",
"n==1",
"n",
"1",
"pr.println(0)",
"pr.println",
"pr",
"0",
"pr.println(1)",
"pr.println",
"pr",
"1",
"pr.flush()",
"pr.flush",
"pr",
"String args[]",
"args",
"static int gcd(int a,int b)\n {\n \n if(a==0)\n return b;\n return gcd(a%b,b);\n }",
"gcd",
"{\n \n if(a==0)\n return b;\n return gcd(a%b,b);\n }",
"if(a==0)\n return b;",
"a==0",
"a",
"0",
"return b;",
"b",
"return gcd(a%b,b);",
"gcd(a%b,b)",
"gcd",
"a%b",
"a",
"b",
"b",
"int a",
"a",
"int b",
"b",
"static int lcm(int a,int b)\n {\n return (a*b)/gcd(a,b);\n }",
"lcm",
"{\n return (a*b)/gcd(a,b);\n }",
"return (a*b)/gcd(a,b);",
"(a*b)/gcd(a,b)",
"(a*b)",
"a",
"b",
"gcd(a,b)",
"gcd",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static void sieveofe()\n {\n int n=1000000;\n \n prime=new boolean[n+1];\n Arrays.fill(prime,true);\n prime[1]=false;\n for(int i=2;i*i<=n;i++)\n {\n if(prime[i]==true)\n {\n for(int j=i*i;j<=n;j+=i)\n {\n prime[j]=false;\n }\n }\n }\n \n \n }",
"sieveofe",
"{\n int n=1000000;\n \n prime=new boolean[n+1];\n Arrays.fill(prime,true);\n prime[1]=false;\n for(int i=2;i*i<=n;i++)\n {\n if(prime[i]==true)\n {\n for(int j=i*i;j<=n;j+=i)\n {\n prime[j]=false;\n }\n }\n }\n \n \n }",
"int n=1000000;",
"n",
"1000000",
"prime=new boolean[n+1]",
"prime",
"new boolean[n+1]",
"n+1",
"n",
"1",
"Arrays.fill(prime,true)",
"Arrays.fill",
"Arrays",
"prime",
"true",
"prime[1]=false",
"prime[1]",
"prime",
"1",
"false",
"for(int i=2;i*i<=n;i++)\n {\n if(prime[i]==true)\n {\n for(int j=i*i;j<=n;j+=i)\n {\n prime[j]=false;\n }\n }\n }",
"int i=2;",
"int i=2;",
"i",
"2",
"i*i<=n",
"i*i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(prime[i]==true)\n {\n for(int j=i*i;j<=n;j+=i)\n {\n prime[j]=false;\n }\n }\n }",
"{\n if(prime[i]==true)\n {\n for(int j=i*i;j<=n;j+=i)\n {\n prime[j]=false;\n }\n }\n }",
"if(prime[i]==true)\n {\n for(int j=i*i;j<=n;j+=i)\n {\n prime[j]=false;\n }\n }",
"prime[i]==true",
"prime[i]",
"prime",
"i",
"true",
"{\n for(int j=i*i;j<=n;j+=i)\n {\n prime[j]=false;\n }\n }",
"for(int j=i*i;j<=n;j+=i)\n {\n prime[j]=false;\n }",
"int j=i*i;",
"int j=i*i;",
"j",
"i*i",
"i",
"i",
"j<=n",
"j",
"n",
"j+=i",
"j+=i",
"j",
"i",
"{\n prime[j]=false;\n }",
"{\n prime[j]=false;\n }",
"prime[j]=false",
"prime[j]",
"prime",
"j",
"false",
"static void sort(long[] a) {\n\t\tArrayList<Long> l = new ArrayList<>();\n\t\tfor (long i : a)\n\t\t\tl.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);\n\t}",
"sort",
"{\n\t\tArrayList<Long> l = new ArrayList<>();\n\t\tfor (long i : a)\n\t\t\tl.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);\n\t}",
"ArrayList<Long> l = new ArrayList<>();",
"l",
"new ArrayList<>()",
"for (long i : a)\n\t\t\tl.add(i);",
"long i",
"a",
"l.add(i);",
"l.add(i)",
"l.add",
"l",
"i",
"Collections.sort(l)",
"Collections.sort",
"Collections",
"l",
"for (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"a[i] = l.get(i);",
"a[i] = l.get(i)",
"a[i]",
"a",
"i",
"l.get(i)",
"l.get",
"l",
"i",
"long[] a",
"a",
"static void sort(int[] a) {\n\t\tArrayList<Integer> l = new ArrayList<>();\n\t\tfor (int i : a)\n\t\t\tl.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);\n }",
"sort",
"{\n\t\tArrayList<Integer> l = new ArrayList<>();\n\t\tfor (int i : a)\n\t\t\tl.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);\n }",
"ArrayList<Integer> l = new ArrayList<>();",
"l",
"new ArrayList<>()",
"for (int i : a)\n\t\t\tl.add(i);",
"int i",
"a",
"l.add(i);",
"l.add(i)",
"l.add",
"l",
"i",
"Collections.sort(l)",
"Collections.sort",
"Collections",
"l",
"for (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"a[i] = l.get(i);",
"a[i] = l.get(i)",
"a[i]",
"a",
"i",
"l.get(i)",
"l.get",
"l",
"i",
"int[] a",
"a",
"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\n public static void main(String args[])\n { \n\n FastReader in=new FastReader();\n PrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n int t=1;\n \n //t=in.nextInt();\n while(t-->0)\n {\n int n=in.nextInt();\n if(n==1)pr.println(0);\n \n else pr.println(1);\n \n }\n pr.flush();\n }\n\n\n\n \n static int gcd(int a,int b)\n {\n \n if(a==0)\n return b;\n return gcd(a%b,b);\n }\n\n static int lcm(int a,int b)\n {\n return (a*b)/gcd(a,b);\n }\n\n\n static boolean prime[];\n\n static void sieveofe()\n {\n int n=1000000;\n \n prime=new boolean[n+1];\n Arrays.fill(prime,true);\n prime[1]=false;\n for(int i=2;i*i<=n;i++)\n {\n if(prime[i]==true)\n {\n for(int j=i*i;j<=n;j+=i)\n {\n prime[j]=false;\n }\n }\n }\n \n \n }\n \n static void sort(long[] a) {\n\t\tArrayList<Long> l = new ArrayList<>();\n\t\tfor (long i : a)\n\t\t\tl.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);\n\t}\n \n \n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> l = new ArrayList<>();\n\t\tfor (int i : a)\n\t\t\tl.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);\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\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 \n}",
"public class Main\n{\n\n public static void main(String args[])\n { \n\n FastReader in=new FastReader();\n PrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n int t=1;\n \n //t=in.nextInt();\n while(t-->0)\n {\n int n=in.nextInt();\n if(n==1)pr.println(0);\n \n else pr.println(1);\n \n }\n pr.flush();\n }\n\n\n\n \n static int gcd(int a,int b)\n {\n \n if(a==0)\n return b;\n return gcd(a%b,b);\n }\n\n static int lcm(int a,int b)\n {\n return (a*b)/gcd(a,b);\n }\n\n\n static boolean prime[];\n\n static void sieveofe()\n {\n int n=1000000;\n \n prime=new boolean[n+1];\n Arrays.fill(prime,true);\n prime[1]=false;\n for(int i=2;i*i<=n;i++)\n {\n if(prime[i]==true)\n {\n for(int j=i*i;j<=n;j+=i)\n {\n prime[j]=false;\n }\n }\n }\n \n \n }\n \n static void sort(long[] a) {\n\t\tArrayList<Long> l = new ArrayList<>();\n\t\tfor (long i : a)\n\t\t\tl.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);\n\t}\n \n \n\tstatic void sort(int[] a) {\n\t\tArrayList<Integer> l = new ArrayList<>();\n\t\tfor (int i : a)\n\t\t\tl.add(i);\n\t\tCollections.sort(l);\n\t\tfor (int i = 0; i < a.length; i++)\n\t\t\ta[i] = l.get(i);\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\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 \n}",
"Main"
]
| import java.util.*;
import java.util.Scanner;
import java.io.*;
import javax.lang.model.util.ElementScanner6;
public class Main
{
public static void main(String args[])
{
FastReader in=new FastReader();
PrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
int t=1;
//t=in.nextInt();
while(t-->0)
{
int n=in.nextInt();
if(n==1)pr.println(0);
else pr.println(1);
}
pr.flush();
}
static int gcd(int a,int b)
{
if(a==0)
return b;
return gcd(a%b,b);
}
static int lcm(int a,int b)
{
return (a*b)/gcd(a,b);
}
static boolean prime[];
static void sieveofe()
{
int n=1000000;
prime=new boolean[n+1];
Arrays.fill(prime,true);
prime[1]=false;
for(int i=2;i*i<=n;i++)
{
if(prime[i]==true)
{
for(int j=i*i;j<=n;j+=i)
{
prime[j]=false;
}
}
}
}
static void sort(long[] a) {
ArrayList<Long> l = new ArrayList<>();
for (long i : a)
l.add(i);
Collections.sort(l);
for (int i = 0; i < a.length; i++)
a[i] = l.get(i);
}
static void sort(int[] a) {
ArrayList<Integer> l = new ArrayList<>();
for (int i : a)
l.add(i);
Collections.sort(l);
for (int i = 0; i < a.length; i++)
a[i] = l.get(i);
}
static class FastReader
{
BufferedReader br;
StringTokenizer st;
public FastReader()
{
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next()
{
while (st == null || !st.hasMoreElements())
{
try
{
st = new StringTokenizer(br.readLine());
}
catch (IOException e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt()
{
return Integer.parseInt(next());
}
long nextLong()
{
return Long.parseLong(next());
}
double nextDouble()
{
return Double.parseDouble(next());
}
String nextLine()
{
String str = "";
try
{
str = br.readLine();
}
catch (IOException e)
{
e.printStackTrace();
}
return str;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
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
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tif( x==1 ) {\n\t\t\tSystem.out.println( \"0\" );\n\t\t}\n\t\telse if(x==0){\n\t\t\tSystem.out.println( \"1\" );\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println( \"ng\" );\n\t\t}\t\t\t\t\n\t\tsc.close();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tif( x==1 ) {\n\t\t\tSystem.out.println( \"0\" );\n\t\t}\n\t\telse if(x==0){\n\t\t\tSystem.out.println( \"1\" );\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println( \"ng\" );\n\t\t}\t\t\t\t\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tif( x==1 ) {\n\t\t\tSystem.out.println( \"0\" );\n\t\t}\n\t\telse if(x==0){\n\t\t\tSystem.out.println( \"1\" );\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println( \"ng\" );\n\t\t}\t\t\t\t\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tif( x==1 ) {\n\t\t\tSystem.out.println( \"0\" );\n\t\t}\n\t\telse if(x==0){\n\t\t\tSystem.out.println( \"1\" );\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println( \"ng\" );\n\t\t}\t\t\t\t\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if( x==1 ) {\n\t\t\tSystem.out.println( \"0\" );\n\t\t}\n\t\telse if(x==0){\n\t\t\tSystem.out.println( \"1\" );\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println( \"ng\" );\n\t\t}",
"x==1",
"x",
"1",
"{\n\t\t\tSystem.out.println( \"0\" );\n\t\t}",
"System.out.println( \"0\" )",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"if(x==0){\n\t\t\tSystem.out.println( \"1\" );\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println( \"ng\" );\n\t\t}",
"x==0",
"x",
"0",
"{\n\t\t\tSystem.out.println( \"1\" );\n\t\t}",
"System.out.println( \"1\" )",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"{\n\t\t\tSystem.out.println( \"ng\" );\n\t\t}",
"System.out.println( \"ng\" )",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ng\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tif( x==1 ) {\n\t\t\tSystem.out.println( \"0\" );\n\t\t}\n\t\telse if(x==0){\n\t\t\tSystem.out.println( \"1\" );\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println( \"ng\" );\n\t\t}\t\t\t\t\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tif( x==1 ) {\n\t\t\tSystem.out.println( \"0\" );\n\t\t}\n\t\telse if(x==0){\n\t\t\tSystem.out.println( \"1\" );\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println( \"ng\" );\n\t\t}\t\t\t\t\n\t\tsc.close();\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
if( x==1 ) {
System.out.println( "0" );
}
else if(x==0){
System.out.println( "1" );
}
else {
System.out.println( "ng" );
}
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
4,
13,
4,
13,
2,
17,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
13,
4,
13,
17,
12,
13,
30,
29,
4,
13,
4,
13,
17,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
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,
4,
13,
41,
13,
20,
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,
4,
18,
13,
13,
14,
2,
13,
13,
30,
29,
4,
18,
13,
13,
13,
14,
2,
13,
13,
30,
29,
4,
18,
13,
13,
13,
30,
37,
20,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
13,
29,
20,
23,
13,
23,
13,
12,
13,
30,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
13,
4,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
13,
13,
0,
13,
4,
18,
13,
12,
13,
30,
29,
2,
13,
13,
12,
13,
30,
14,
4,
13,
30,
29,
4,
18,
13,
40,
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
],
[
340,
11
],
[
340,
12
],
[
12,
13
],
[
12,
14
],
[
340,
15
],
[
15,
16
],
[
15,
17
],
[
340,
18
],
[
18,
19
],
[
18,
20
],
[
340,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
340,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
340,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
39,
46
],
[
46,
47
],
[
340,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
50,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
48,
63
],
[
63,
64
],
[
340,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
340,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
340,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
340,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
340,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
340,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
110,
114
],
[
340,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
119,
123
],
[
340,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
126,
131
],
[
131,
132
],
[
131,
133
],
[
126,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
134,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
134,
144
],
[
144,
145
],
[
145,
146
],
[
134,
147
],
[
148,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
126,
159
],
[
159,
160
],
[
340,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
163,
168
],
[
168,
169
],
[
168,
170
],
[
163,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
171,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
171,
181
],
[
181,
182
],
[
182,
183
],
[
171,
184
],
[
185,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
189,
190
],
[
190,
191
],
[
189,
192
],
[
192,
193
],
[
193,
194
],
[
192,
195
],
[
163,
196
],
[
196,
197
],
[
340,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
203,
206
],
[
200,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
213,
216
],
[
213,
217
],
[
207,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
218,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
224,
227
],
[
224,
228
],
[
218,
229
],
[
229,
230
],
[
230,
231
],
[
198,
232
],
[
232,
233
],
[
198,
234
],
[
234,
235
],
[
340,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
242,
243
],
[
241,
244
],
[
238,
245
],
[
245,
246
],
[
236,
247
],
[
247,
248
],
[
236,
249
],
[
249,
250
],
[
340,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
254,
257
],
[
254,
258
],
[
253,
259
],
[
259,
260
],
[
260,
261
],
[
259,
262
],
[
259,
263
],
[
253,
264
],
[
264,
265
],
[
265,
266
],
[
264,
267
],
[
264,
268
],
[
253,
269
],
[
269,
270
],
[
253,
271
],
[
271,
272
],
[
251,
273
],
[
273,
274
],
[
340,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
277,
279
],
[
275,
280
],
[
280,
281
],
[
280,
282
],
[
275,
283
],
[
283,
284
],
[
275,
285
],
[
285,
286
],
[
275,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
289,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
299,
305
],
[
298,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
307,
310
],
[
289,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
275,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
275,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
326,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
331,
334
],
[
334,
335
],
[
326,
336
],
[
336,
337
],
[
337,
338
],
[
0,
339
],
[
339,
340
],
[
339,
341
]
]
| [
"import java.util.*; import java.io.*; import java.math.*;\npublic class Main{\n\tstatic void solve(){//Here is the main function\n\t\tint N = nextInt();\n\t\tmyout(1 ^ N);\n\t}\n\t//Method addition frame start\n\n\n\n\t//Method addition frame end\n\n\t//Don't have to see. start------------------------------------------\n\tstatic class InputIterator{\n\t\tArrayList<String> inputLine = new ArrayList<String>(1024);\n\t\tint index = 0; int max; String read;\n\t\tInputIterator(){\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}\n\t\tboolean hasNext(){return (index < max);}\n\t\tString next(){\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}\n\t}\n\tstatic HashMap<Integer, String> CONVSTR = new HashMap<Integer, String>();\n\tstatic InputIterator ii = new InputIterator();//This class cannot be used in reactive problem.\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic void flush(){out.flush();}\n\tstatic void myout(Object t){out.println(t);}\n\tstatic void myerr(Object t){System.err.print(\"debug:\");System.err.println(t);}\n\tstatic String next(){return ii.next();}\n\tstatic boolean hasNext(){return ii.hasNext();}\n\tstatic int nextInt(){return Integer.parseInt(next());}\n\tstatic long nextLong(){return Long.parseLong(next());}\n\tstatic double nextDouble(){return Double.parseDouble(next());}\n\tstatic ArrayList<String> nextStrArray(){return myconv(next(), 8);}\n\tstatic ArrayList<String> nextCharArray(){return myconv(next(), 0);}\n\tstatic ArrayList<Integer> nextIntArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic ArrayList<Long> nextLongArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic String myconv(Object list, int no){//only join\n\t\tString joinString = CONVSTR.get(no);\n\t\tif(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}\n\t}\n\tstatic ArrayList<String> myconv(String str, int no){//only split\n\t\tString splitString = CONVSTR.get(no);\n\t\treturn new ArrayList<String>(Arrays.asList(str.split(splitString)));\n\t}\n\tpublic static void main(String[] args){\n\t\tCONVSTR.put(8, \" \"); CONVSTR.put(9, \"\\n\"); CONVSTR.put(0, \"\");\n\t\tsolve();flush();\n\t}\n\t//Don't have to see. end------------------------------------------\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main{\n\tstatic void solve(){//Here is the main function\n\t\tint N = nextInt();\n\t\tmyout(1 ^ N);\n\t}\n\t//Method addition frame start\n\n\n\n\t//Method addition frame end\n\n\t//Don't have to see. start------------------------------------------\n\tstatic class InputIterator{\n\t\tArrayList<String> inputLine = new ArrayList<String>(1024);\n\t\tint index = 0; int max; String read;\n\t\tInputIterator(){\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}\n\t\tboolean hasNext(){return (index < max);}\n\t\tString next(){\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}\n\t}\n\tstatic HashMap<Integer, String> CONVSTR = new HashMap<Integer, String>();\n\tstatic InputIterator ii = new InputIterator();//This class cannot be used in reactive problem.\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic void flush(){out.flush();}\n\tstatic void myout(Object t){out.println(t);}\n\tstatic void myerr(Object t){System.err.print(\"debug:\");System.err.println(t);}\n\tstatic String next(){return ii.next();}\n\tstatic boolean hasNext(){return ii.hasNext();}\n\tstatic int nextInt(){return Integer.parseInt(next());}\n\tstatic long nextLong(){return Long.parseLong(next());}\n\tstatic double nextDouble(){return Double.parseDouble(next());}\n\tstatic ArrayList<String> nextStrArray(){return myconv(next(), 8);}\n\tstatic ArrayList<String> nextCharArray(){return myconv(next(), 0);}\n\tstatic ArrayList<Integer> nextIntArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic ArrayList<Long> nextLongArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic String myconv(Object list, int no){//only join\n\t\tString joinString = CONVSTR.get(no);\n\t\tif(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}\n\t}\n\tstatic ArrayList<String> myconv(String str, int no){//only split\n\t\tString splitString = CONVSTR.get(no);\n\t\treturn new ArrayList<String>(Arrays.asList(str.split(splitString)));\n\t}\n\tpublic static void main(String[] args){\n\t\tCONVSTR.put(8, \" \"); CONVSTR.put(9, \"\\n\"); CONVSTR.put(0, \"\");\n\t\tsolve();flush();\n\t}\n\t//Don't have to see. end------------------------------------------\n}",
"Main",
"static HashMap<Integer, String> CONVSTR = new HashMap<Integer, String>();",
"CONVSTR",
"new HashMap<Integer, String>()",
"static InputIterator ii = new InputIterator();//This class cannot be used in reactive problem.",
"ii",
"new InputIterator()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static void solve(){//Here is the main function\n\t\tint N = nextInt();\n\t\tmyout(1 ^ N);\n\t}",
"solve",
"{//Here is the main function\n\t\tint N = nextInt();\n\t\tmyout(1 ^ N);\n\t}",
"int N = nextInt();",
"N",
"nextInt()",
"nextInt",
"myout(1 ^ N)",
"myout",
"1 ^ N",
"1",
"N",
"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.print(\"debug:\");System.err.println(t);}",
"myerr",
"{System.err.print(\"debug:\");System.err.println(t);}",
"System.err.print(\"debug:\")",
"System.err.print",
"System.err",
"System",
"System.err",
"\"debug:\"",
"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 boolean hasNext(){return ii.hasNext();}",
"hasNext",
"{return ii.hasNext();}",
"return ii.hasNext();",
"ii.hasNext()",
"ii.hasNext",
"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 double nextDouble(){return Double.parseDouble(next());}",
"nextDouble",
"{return Double.parseDouble(next());}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"static ArrayList<String> nextStrArray(){return myconv(next(), 8);}",
"nextStrArray",
"{return myconv(next(), 8);}",
"return myconv(next(), 8);",
"myconv(next(), 8)",
"myconv",
"next()",
"next",
"8",
"static ArrayList<String> nextCharArray(){return myconv(next(), 0);}",
"nextCharArray",
"{return myconv(next(), 0);}",
"return myconv(next(), 0);",
"myconv(next(), 0)",
"myconv",
"next()",
"next",
"0",
"static ArrayList<Integer> nextIntArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}",
"nextIntArray",
"{\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}",
"ArrayList<String> input = nextStrArray();",
"input",
"nextStrArray()",
"nextStrArray",
"ArrayList<Integer> ret = new ArrayList<Integer>(input.size());",
"ret",
"new ArrayList<Integer>(input.size())",
"for(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < input.size()",
"i",
"input.size()",
"input.size",
"input",
"i++",
"i++",
"i",
"{\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}",
"{\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}",
"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\t\tArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}",
"nextLongArray",
"{\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}",
"ArrayList<String> input = nextStrArray();",
"input",
"nextStrArray()",
"nextStrArray",
"ArrayList<Long> ret = new ArrayList<Long>(input.size());",
"ret",
"new ArrayList<Long>(input.size())",
"for(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < input.size()",
"i",
"input.size()",
"input.size",
"input",
"i++",
"i++",
"i",
"{\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}",
"{\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}",
"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 myconv(Object list, int no){//only join\n\t\tString joinString = CONVSTR.get(no);\n\t\tif(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}\n\t}",
"myconv",
"{//only join\n\t\tString joinString = CONVSTR.get(no);\n\t\tif(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}\n\t}",
"String joinString = CONVSTR.get(no);",
"joinString",
"CONVSTR.get(no)",
"CONVSTR.get",
"CONVSTR",
"no",
"if(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}",
"list instanceof String[]",
"list",
"String[]",
"{\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}",
"return String.join(joinString, (String[])list);",
"String.join(joinString, (String[])list)",
"String.join",
"String",
"joinString",
"(String[])list",
"if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}",
"list instanceof ArrayList",
"list",
"ArrayList",
"{\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}",
"return String.join(joinString, (ArrayList)list);",
"String.join(joinString, (ArrayList)list)",
"String.join",
"String",
"joinString",
"(ArrayList)list",
"{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}",
"throw new ClassCastException(\"Don't join\");",
"new ClassCastException(\"Don't join\")",
"Object list",
"list",
"int no",
"no",
"static ArrayList<String> myconv(String str, int no){//only split\n\t\tString splitString = CONVSTR.get(no);\n\t\treturn new ArrayList<String>(Arrays.asList(str.split(splitString)));\n\t}",
"myconv",
"{//only split\n\t\tString splitString = CONVSTR.get(no);\n\t\treturn new ArrayList<String>(Arrays.asList(str.split(splitString)));\n\t}",
"String splitString = CONVSTR.get(no);",
"splitString",
"CONVSTR.get(no)",
"CONVSTR.get",
"CONVSTR",
"no",
"return new ArrayList<String>(Arrays.asList(str.split(splitString)));",
"new ArrayList<String>(Arrays.asList(str.split(splitString)))",
"String str",
"str",
"int no",
"no",
"public static void main(String[] args){\n\t\tCONVSTR.put(8, \" \"); CONVSTR.put(9, \"\\n\"); CONVSTR.put(0, \"\");\n\t\tsolve();flush();\n\t}",
"main",
"{\n\t\tCONVSTR.put(8, \" \"); CONVSTR.put(9, \"\\n\"); CONVSTR.put(0, \"\");\n\t\tsolve();flush();\n\t}",
"CONVSTR.put(8, \" \")",
"CONVSTR.put",
"CONVSTR",
"8",
"\" \"",
"CONVSTR.put(9, \"\\n\")",
"CONVSTR.put",
"CONVSTR",
"9",
"\"\\n\"",
"CONVSTR.put(0, \"\")",
"CONVSTR.put",
"CONVSTR",
"0",
"\"\"",
"solve()",
"solve",
"flush()",
"flush",
"String[] args",
"args",
"static class InputIterator{\n\t\tArrayList<String> inputLine = new ArrayList<String>(1024);\n\t\tint index = 0; int max; String read;\n\t\tInputIterator(){\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}\n\t\tboolean hasNext(){return (index < max);}\n\t\tString next(){\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}\n\t}",
"InputIterator",
"ArrayList<String> inputLine = new ArrayList<String>(1024);",
"inputLine",
"new ArrayList<String>(1024)",
"int index = 0;",
"index",
"0",
"int max;",
"max",
"String read;",
"read",
"InputIterator(){\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}",
"InputIterator",
"{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}",
"catch(IOException e){}",
"IOException e",
"{}",
"{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}",
"while((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}",
"(read = br.readLine()) != null",
"(read = br.readLine())",
"read",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}",
"inputLine.add(read)",
"inputLine.add",
"inputLine",
"read",
"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\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}",
"next",
"{\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}",
"if(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}",
"hasNext()",
"hasNext",
"{\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}",
"return inputLine.get(index++);",
"inputLine.get(index++)",
"inputLine.get",
"inputLine",
"index++",
"index",
"{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}",
"throw new IndexOutOfBoundsException(\"There is no more input\");",
"new IndexOutOfBoundsException(\"There is no more input\")",
"public class Main{\n\tstatic void solve(){//Here is the main function\n\t\tint N = nextInt();\n\t\tmyout(1 ^ N);\n\t}\n\t//Method addition frame start\n\n\n\n\t//Method addition frame end\n\n\t//Don't have to see. start------------------------------------------\n\tstatic class InputIterator{\n\t\tArrayList<String> inputLine = new ArrayList<String>(1024);\n\t\tint index = 0; int max; String read;\n\t\tInputIterator(){\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}\n\t\tboolean hasNext(){return (index < max);}\n\t\tString next(){\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}\n\t}\n\tstatic HashMap<Integer, String> CONVSTR = new HashMap<Integer, String>();\n\tstatic InputIterator ii = new InputIterator();//This class cannot be used in reactive problem.\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic void flush(){out.flush();}\n\tstatic void myout(Object t){out.println(t);}\n\tstatic void myerr(Object t){System.err.print(\"debug:\");System.err.println(t);}\n\tstatic String next(){return ii.next();}\n\tstatic boolean hasNext(){return ii.hasNext();}\n\tstatic int nextInt(){return Integer.parseInt(next());}\n\tstatic long nextLong(){return Long.parseLong(next());}\n\tstatic double nextDouble(){return Double.parseDouble(next());}\n\tstatic ArrayList<String> nextStrArray(){return myconv(next(), 8);}\n\tstatic ArrayList<String> nextCharArray(){return myconv(next(), 0);}\n\tstatic ArrayList<Integer> nextIntArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic ArrayList<Long> nextLongArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic String myconv(Object list, int no){//only join\n\t\tString joinString = CONVSTR.get(no);\n\t\tif(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}\n\t}\n\tstatic ArrayList<String> myconv(String str, int no){//only split\n\t\tString splitString = CONVSTR.get(no);\n\t\treturn new ArrayList<String>(Arrays.asList(str.split(splitString)));\n\t}\n\tpublic static void main(String[] args){\n\t\tCONVSTR.put(8, \" \"); CONVSTR.put(9, \"\\n\"); CONVSTR.put(0, \"\");\n\t\tsolve();flush();\n\t}\n\t//Don't have to see. end------------------------------------------\n}",
"public class Main{\n\tstatic void solve(){//Here is the main function\n\t\tint N = nextInt();\n\t\tmyout(1 ^ N);\n\t}\n\t//Method addition frame start\n\n\n\n\t//Method addition frame end\n\n\t//Don't have to see. start------------------------------------------\n\tstatic class InputIterator{\n\t\tArrayList<String> inputLine = new ArrayList<String>(1024);\n\t\tint index = 0; int max; String read;\n\t\tInputIterator(){\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}\n\t\tboolean hasNext(){return (index < max);}\n\t\tString next(){\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}\n\t}\n\tstatic HashMap<Integer, String> CONVSTR = new HashMap<Integer, String>();\n\tstatic InputIterator ii = new InputIterator();//This class cannot be used in reactive problem.\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic void flush(){out.flush();}\n\tstatic void myout(Object t){out.println(t);}\n\tstatic void myerr(Object t){System.err.print(\"debug:\");System.err.println(t);}\n\tstatic String next(){return ii.next();}\n\tstatic boolean hasNext(){return ii.hasNext();}\n\tstatic int nextInt(){return Integer.parseInt(next());}\n\tstatic long nextLong(){return Long.parseLong(next());}\n\tstatic double nextDouble(){return Double.parseDouble(next());}\n\tstatic ArrayList<String> nextStrArray(){return myconv(next(), 8);}\n\tstatic ArrayList<String> nextCharArray(){return myconv(next(), 0);}\n\tstatic ArrayList<Integer> nextIntArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic ArrayList<Long> nextLongArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic String myconv(Object list, int no){//only join\n\t\tString joinString = CONVSTR.get(no);\n\t\tif(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}\n\t}\n\tstatic ArrayList<String> myconv(String str, int no){//only split\n\t\tString splitString = CONVSTR.get(no);\n\t\treturn new ArrayList<String>(Arrays.asList(str.split(splitString)));\n\t}\n\tpublic static void main(String[] args){\n\t\tCONVSTR.put(8, \" \"); CONVSTR.put(9, \"\\n\"); CONVSTR.put(0, \"\");\n\t\tsolve();flush();\n\t}\n\t//Don't have to see. end------------------------------------------\n}",
"Main"
]
| import java.util.*; import java.io.*; import java.math.*;
public class Main{
static void solve(){//Here is the main function
int N = nextInt();
myout(1 ^ N);
}
//Method addition frame start
//Method addition frame end
//Don't have to see. start------------------------------------------
static class InputIterator{
ArrayList<String> inputLine = new ArrayList<String>(1024);
int index = 0; int max; String read;
InputIterator(){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try{
while((read = br.readLine()) != null){
inputLine.add(read);
}
}catch(IOException e){}
max = inputLine.size();
}
boolean hasNext(){return (index < max);}
String next(){
if(hasNext()){
return inputLine.get(index++);
}else{
throw new IndexOutOfBoundsException("There is no more input");
}
}
}
static HashMap<Integer, String> CONVSTR = new HashMap<Integer, String>();
static InputIterator ii = new InputIterator();//This class cannot be used in reactive problem.
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.print("debug:");System.err.println(t);}
static String next(){return ii.next();}
static boolean hasNext(){return ii.hasNext();}
static int nextInt(){return Integer.parseInt(next());}
static long nextLong(){return Long.parseLong(next());}
static double nextDouble(){return Double.parseDouble(next());}
static ArrayList<String> nextStrArray(){return myconv(next(), 8);}
static ArrayList<String> nextCharArray(){return myconv(next(), 0);}
static ArrayList<Integer> nextIntArray(){
ArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());
for(int i = 0; i < input.size(); i++){
ret.add(Integer.parseInt(input.get(i)));
}
return ret;
}
static ArrayList<Long> nextLongArray(){
ArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());
for(int i = 0; i < input.size(); i++){
ret.add(Long.parseLong(input.get(i)));
}
return ret;
}
static String myconv(Object list, int no){//only join
String joinString = CONVSTR.get(no);
if(list instanceof String[]){
return String.join(joinString, (String[])list);
}else if(list instanceof ArrayList){
return String.join(joinString, (ArrayList)list);
}else{
throw new ClassCastException("Don't join");
}
}
static ArrayList<String> myconv(String str, int no){//only split
String splitString = CONVSTR.get(no);
return new ArrayList<String>(Arrays.asList(str.split(splitString)));
}
public static void main(String[] args){
CONVSTR.put(8, " "); CONVSTR.put(9, "\n"); CONVSTR.put(0, "");
solve();flush();
}
//Don't have to see. end------------------------------------------
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
12,
13,
30,
38,
30,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
54,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
54,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
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
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
35,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tstatic int X;\n\n\tpublic static void main(String[] args) {\n\t\tMain prac = new Main();\n\t\tprac.execute();\n\t}\n\n\tpublic void execute() {\n\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tX = Integer.parseInt(sc.next());\n\t\t\tif(X==0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(0);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tstatic int X;\n\n\tpublic static void main(String[] args) {\n\t\tMain prac = new Main();\n\t\tprac.execute();\n\t}\n\n\tpublic void execute() {\n\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tX = Integer.parseInt(sc.next());\n\t\t\tif(X==0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(0);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"static int X;",
"X",
"public static void main(String[] args) {\n\t\tMain prac = new Main();\n\t\tprac.execute();\n\t}",
"main",
"{\n\t\tMain prac = new Main();\n\t\tprac.execute();\n\t}",
"Main prac = new Main();",
"prac",
"new Main()",
"prac.execute()",
"prac.execute",
"prac",
"String[] args",
"args",
"public void execute() {\n\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tX = Integer.parseInt(sc.next());\n\t\t\tif(X==0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(0);\n\t\t\t}\n\t\t}\n\t}",
"execute",
"{\n\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tX = Integer.parseInt(sc.next());\n\t\t\tif(X==0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(0);\n\t\t\t}\n\t\t}\n\t}",
"try (Scanner sc = new Scanner(System.in)) {\n\t\t\tX = Integer.parseInt(sc.next());\n\t\t\tif(X==0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(0);\n\t\t\t}\n\t\t}",
"{\n\t\t\tX = Integer.parseInt(sc.next());\n\t\t\tif(X==0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(0);\n\t\t\t}\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"X = Integer.parseInt(sc.next())",
"X",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"if(X==0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(0);\n\t\t\t}",
"X==0",
"X",
"0",
"{\n\t\t\t\tSystem.out.println(1);\n\t\t\t}",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"{\n\t\t\t\tSystem.out.println(0);\n\t\t\t}",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"public class Main {\n\tstatic int X;\n\n\tpublic static void main(String[] args) {\n\t\tMain prac = new Main();\n\t\tprac.execute();\n\t}\n\n\tpublic void execute() {\n\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tX = Integer.parseInt(sc.next());\n\t\t\tif(X==0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(0);\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tstatic int X;\n\n\tpublic static void main(String[] args) {\n\t\tMain prac = new Main();\n\t\tprac.execute();\n\t}\n\n\tpublic void execute() {\n\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tX = Integer.parseInt(sc.next());\n\t\t\tif(X==0) {\n\t\t\t\tSystem.out.println(1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(0);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
static int X;
public static void main(String[] args) {
Main prac = new Main();
prac.execute();
}
public void execute() {
try (Scanner sc = new Scanner(System.in)) {
X = Integer.parseInt(sc.next());
if(X==0) {
System.out.println(1);
}else {
System.out.println(0);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
4,
18,
13,
17,
17,
17,
41,
13,
20,
12,
13,
30,
41,
13,
4,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
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,
18,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
13,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
41,
13,
2,
13,
4,
18,
13,
2,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
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
],
[
355,
8
],
[
355,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
12,
15
],
[
12,
16
],
[
11,
17
],
[
355,
18
],
[
18,
19
],
[
18,
20
],
[
355,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
21,
44
],
[
44,
45
],
[
355,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
53,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
48,
73
],
[
73,
74
],
[
46,
75
],
[
75,
76
],
[
355,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
84,
92
],
[
92,
93
],
[
93,
94
],
[
84,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
79,
104
],
[
104,
105
],
[
77,
106
],
[
106,
107
],
[
355,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
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
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
110,
135
],
[
135,
136
],
[
108,
137
],
[
137,
138
],
[
355,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
142,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
149,
151
],
[
142,
152
],
[
152,
153
],
[
153,
154
],
[
142,
155
],
[
156,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
161,
162
],
[
162,
163
],
[
156,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
169,
170
],
[
139,
171
],
[
171,
172
],
[
139,
173
],
[
173,
174
],
[
355,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
184
],
[
179,
185
],
[
175,
186
],
[
186,
187
],
[
355,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
355,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
355,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
355,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
214,
216
],
[
211,
217
],
[
217,
218
],
[
217,
219
],
[
211,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
220,
225
],
[
225,
226
],
[
225,
227
],
[
220,
228
],
[
228,
229
],
[
229,
230
],
[
220,
231
],
[
232,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
235,
237
],
[
232,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
242,
245
],
[
245,
246
],
[
245,
247
],
[
232,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
248,
252
],
[
252,
253
],
[
252,
254
],
[
232,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
255,
259
],
[
211,
260
],
[
260,
261
],
[
261,
262
],
[
260,
263
],
[
209,
264
],
[
264,
265
],
[
355,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
266,
270
],
[
270,
271
],
[
266,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
275,
276
],
[
275,
277
],
[
266,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
281,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
291,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
280,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
266,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
310,
313
],
[
313,
314
],
[
266,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
319,
322
],
[
322,
323
],
[
266,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
328,
331
],
[
331,
332
],
[
266,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
336,
337
],
[
336,
338
],
[
335,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
339,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
350,
351
],
[
335,
352
],
[
352,
353
],
[
0,
354
],
[
354,
355
],
[
354,
356
]
]
| [
"\n\nimport java.util.*;\nimport java.io.*;\n\npublic class Main \n\n{ \nstatic int mod=(int)Math.pow(10, 9)+7;\n\t static FastReader sc=new FastReader(); \n\t \n\t\t public static void main(String[] args) \n {\n\t\t\t int n=i();\n\t\t\t if(n==0)\n\t\t\t\t System.out.println(\"1\");\n\t\t\t else\n\t\t\t\t System.out.println(\"0\");\n\t\t\t \n\t\t\t \n\t\t \n }\n\t\t \n\t\t \nstatic int[] input(int n) {\n\tint A[]=new int[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextInt();\n\t }\n\t return A;\n }\nstatic long[] inputL(int n) {\n\tlong A[]=new long[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextLong();\n\t }\n\t return A;\n }\nstatic String[] inputS(int n) {\n\tString A[]=new String[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.next();\n\t }\n\t return A;\n }\n\n\nstatic void input(int A[],int B[]) {\n\t for(int i=0;i<A.length;i++) {\n\t\t A[i]=sc.nextInt();\n\t\t B[i]=sc.nextInt();\n\t }\n}\nstatic long mod(long x) {\n\t return ((x%mod + mod)%mod);\n}\n\n static int i() {\n \t return sc.nextInt();\n }\n static String s() {\n \t return sc.next();\n }\n static long l() {\n \t return sc.nextLong();\n } \n static void sort(int[] arr){\n int n = arr.length;\n Random rnd = new Random();\n for(int i=0; i<n; ++i){\n int tmp = arr[i];\n int randomPos = i + rnd.nextInt(n-i);\n arr[i] = arr[randomPos];\n arr[randomPos] = tmp;\n }\n Arrays.sort(arr);\n }\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 \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\n",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main \n\n{ \nstatic int mod=(int)Math.pow(10, 9)+7;\n\t static FastReader sc=new FastReader(); \n\t \n\t\t public static void main(String[] args) \n {\n\t\t\t int n=i();\n\t\t\t if(n==0)\n\t\t\t\t System.out.println(\"1\");\n\t\t\t else\n\t\t\t\t System.out.println(\"0\");\n\t\t\t \n\t\t\t \n\t\t \n }\n\t\t \n\t\t \nstatic int[] input(int n) {\n\tint A[]=new int[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextInt();\n\t }\n\t return A;\n }\nstatic long[] inputL(int n) {\n\tlong A[]=new long[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextLong();\n\t }\n\t return A;\n }\nstatic String[] inputS(int n) {\n\tString A[]=new String[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.next();\n\t }\n\t return A;\n }\n\n\nstatic void input(int A[],int B[]) {\n\t for(int i=0;i<A.length;i++) {\n\t\t A[i]=sc.nextInt();\n\t\t B[i]=sc.nextInt();\n\t }\n}\nstatic long mod(long x) {\n\t return ((x%mod + mod)%mod);\n}\n\n static int i() {\n \t return sc.nextInt();\n }\n static String s() {\n \t return sc.next();\n }\n static long l() {\n \t return sc.nextLong();\n } \n static void sort(int[] arr){\n int n = arr.length;\n Random rnd = new Random();\n for(int i=0; i<n; ++i){\n int tmp = arr[i];\n int randomPos = i + rnd.nextInt(n-i);\n arr[i] = arr[randomPos];\n arr[randomPos] = tmp;\n }\n Arrays.sort(arr);\n }\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 \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}",
"Main",
"static int mod=(int)Math.pow(10, 9)+7;",
"mod",
"(int)Math.pow(10, 9)+7",
"(int)Math.pow(10, 9)",
"Math.pow",
"Math",
"10",
"9",
"7",
"static FastReader sc=new FastReader();",
"sc",
"new FastReader()",
"public static void main(String[] args) \n {\n\t\t\t int n=i();\n\t\t\t if(n==0)\n\t\t\t\t System.out.println(\"1\");\n\t\t\t else\n\t\t\t\t System.out.println(\"0\");\n\t\t\t \n\t\t\t \n\t\t \n }",
"main",
"{\n\t\t\t int n=i();\n\t\t\t if(n==0)\n\t\t\t\t System.out.println(\"1\");\n\t\t\t else\n\t\t\t\t System.out.println(\"0\");\n\t\t\t \n\t\t\t \n\t\t \n }",
"int n=i();",
"n",
"i()",
"i",
"if(n==0)\n\t\t\t\t System.out.println(\"1\");\n\t\t\t else\n\t\t\t\t System.out.println(\"0\");",
"n==0",
"n",
"0",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"String[] args",
"args",
"static int[] input(int n) {\n\tint A[]=new int[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextInt();\n\t }\n\t return A;\n }",
"input",
"{\n\tint A[]=new int[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextInt();\n\t }\n\t return A;\n }",
"int A[]=new int[n];",
"A",
"new int[n]",
"n",
"for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextInt();\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t A[i]=sc.nextInt();\n\t }",
"{\n\t\t A[i]=sc.nextInt();\n\t }",
"A[i]=sc.nextInt()",
"A[i]",
"A",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return A;",
"A",
"int n",
"n",
"static long[] inputL(int n) {\n\tlong A[]=new long[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextLong();\n\t }\n\t return A;\n }",
"inputL",
"{\n\tlong A[]=new long[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextLong();\n\t }\n\t return A;\n }",
"long A[]=new long[n];",
"A",
"new long[n]",
"n",
"for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextLong();\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t A[i]=sc.nextLong();\n\t }",
"{\n\t\t A[i]=sc.nextLong();\n\t }",
"A[i]=sc.nextLong()",
"A[i]",
"A",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"return A;",
"A",
"int n",
"n",
"static String[] inputS(int n) {\n\tString A[]=new String[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.next();\n\t }\n\t return A;\n }",
"inputS",
"{\n\tString A[]=new String[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.next();\n\t }\n\t return A;\n }",
"String A[]=new String[n];",
"A",
"new String[n]",
"n",
"for(int i=0;i<n;i++) {\n\t\t A[i]=sc.next();\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t A[i]=sc.next();\n\t }",
"{\n\t\t A[i]=sc.next();\n\t }",
"A[i]=sc.next()",
"A[i]",
"A",
"i",
"sc.next()",
"sc.next",
"sc",
"return A;",
"A",
"int n",
"n",
"static void input(int A[],int B[]) {\n\t for(int i=0;i<A.length;i++) {\n\t\t A[i]=sc.nextInt();\n\t\t B[i]=sc.nextInt();\n\t }\n}",
"input",
"{\n\t for(int i=0;i<A.length;i++) {\n\t\t A[i]=sc.nextInt();\n\t\t B[i]=sc.nextInt();\n\t }\n}",
"for(int i=0;i<A.length;i++) {\n\t\t A[i]=sc.nextInt();\n\t\t B[i]=sc.nextInt();\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<A.length",
"i",
"A.length",
"A",
"A.length",
"i++",
"i++",
"i",
"{\n\t\t A[i]=sc.nextInt();\n\t\t B[i]=sc.nextInt();\n\t }",
"{\n\t\t A[i]=sc.nextInt();\n\t\t B[i]=sc.nextInt();\n\t }",
"A[i]=sc.nextInt()",
"A[i]",
"A",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"B[i]=sc.nextInt()",
"B[i]",
"B",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int A[]",
"A",
"int B[]",
"B",
"static long mod(long x) {\n\t return ((x%mod + mod)%mod);\n}",
"mod",
"{\n\t return ((x%mod + mod)%mod);\n}",
"return ((x%mod + mod)%mod);",
"((x%mod + mod)%mod)",
"(x%mod + mod)",
"x%mod",
"x",
"mod",
"mod",
"mod",
"long x",
"x",
"static int i() {\n \t return sc.nextInt();\n }",
"i",
"{\n \t return sc.nextInt();\n }",
"return sc.nextInt();",
"sc.nextInt()",
"sc.nextInt",
"sc",
"static String s() {\n \t return sc.next();\n }",
"s",
"{\n \t return sc.next();\n }",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"static long l() {\n \t return sc.nextLong();\n }",
"l",
"{\n \t return sc.nextLong();\n }",
"return sc.nextLong();",
"sc.nextLong()",
"sc.nextLong",
"sc",
"static void sort(int[] arr){\n int n = arr.length;\n Random rnd = new Random();\n for(int i=0; i<n; ++i){\n int tmp = arr[i];\n int randomPos = i + rnd.nextInt(n-i);\n arr[i] = arr[randomPos];\n arr[randomPos] = tmp;\n }\n Arrays.sort(arr);\n }",
"sort",
"{\n int n = arr.length;\n Random rnd = new Random();\n for(int i=0; i<n; ++i){\n int tmp = arr[i];\n int randomPos = i + rnd.nextInt(n-i);\n arr[i] = arr[randomPos];\n arr[randomPos] = tmp;\n }\n Arrays.sort(arr);\n }",
"int n = arr.length;",
"n",
"arr.length",
"arr",
"arr.length",
"Random rnd = new Random();",
"rnd",
"new Random()",
"for(int i=0; i<n; ++i){\n int tmp = arr[i];\n int randomPos = i + rnd.nextInt(n-i);\n arr[i] = arr[randomPos];\n arr[randomPos] = tmp;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"++i",
"++i",
"i",
"{\n int tmp = arr[i];\n int randomPos = i + rnd.nextInt(n-i);\n arr[i] = arr[randomPos];\n arr[randomPos] = tmp;\n }",
"{\n int tmp = arr[i];\n int randomPos = i + rnd.nextInt(n-i);\n arr[i] = arr[randomPos];\n arr[randomPos] = tmp;\n }",
"int tmp = arr[i];",
"tmp",
"arr[i]",
"arr",
"i",
"int randomPos = i + rnd.nextInt(n-i);",
"randomPos",
"i + rnd.nextInt(n-i)",
"i",
"rnd.nextInt(n-i)",
"rnd.nextInt",
"rnd",
"n-i",
"n",
"i",
"arr[i] = arr[randomPos]",
"arr[i]",
"arr",
"i",
"arr[randomPos]",
"arr",
"randomPos",
"arr[randomPos] = tmp",
"arr[randomPos]",
"arr",
"randomPos",
"tmp",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"int[] arr",
"arr",
"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{ \nstatic int mod=(int)Math.pow(10, 9)+7;\n\t static FastReader sc=new FastReader(); \n\t \n\t\t public static void main(String[] args) \n {\n\t\t\t int n=i();\n\t\t\t if(n==0)\n\t\t\t\t System.out.println(\"1\");\n\t\t\t else\n\t\t\t\t System.out.println(\"0\");\n\t\t\t \n\t\t\t \n\t\t \n }\n\t\t \n\t\t \nstatic int[] input(int n) {\n\tint A[]=new int[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextInt();\n\t }\n\t return A;\n }\nstatic long[] inputL(int n) {\n\tlong A[]=new long[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextLong();\n\t }\n\t return A;\n }\nstatic String[] inputS(int n) {\n\tString A[]=new String[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.next();\n\t }\n\t return A;\n }\n\n\nstatic void input(int A[],int B[]) {\n\t for(int i=0;i<A.length;i++) {\n\t\t A[i]=sc.nextInt();\n\t\t B[i]=sc.nextInt();\n\t }\n}\nstatic long mod(long x) {\n\t return ((x%mod + mod)%mod);\n}\n\n static int i() {\n \t return sc.nextInt();\n }\n static String s() {\n \t return sc.next();\n }\n static long l() {\n \t return sc.nextLong();\n } \n static void sort(int[] arr){\n int n = arr.length;\n Random rnd = new Random();\n for(int i=0; i<n; ++i){\n int tmp = arr[i];\n int randomPos = i + rnd.nextInt(n-i);\n arr[i] = arr[randomPos];\n arr[randomPos] = tmp;\n }\n Arrays.sort(arr);\n }\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 \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 class Main \n\n{ \nstatic int mod=(int)Math.pow(10, 9)+7;\n\t static FastReader sc=new FastReader(); \n\t \n\t\t public static void main(String[] args) \n {\n\t\t\t int n=i();\n\t\t\t if(n==0)\n\t\t\t\t System.out.println(\"1\");\n\t\t\t else\n\t\t\t\t System.out.println(\"0\");\n\t\t\t \n\t\t\t \n\t\t \n }\n\t\t \n\t\t \nstatic int[] input(int n) {\n\tint A[]=new int[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextInt();\n\t }\n\t return A;\n }\nstatic long[] inputL(int n) {\n\tlong A[]=new long[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.nextLong();\n\t }\n\t return A;\n }\nstatic String[] inputS(int n) {\n\tString A[]=new String[n];\n\t for(int i=0;i<n;i++) {\n\t\t A[i]=sc.next();\n\t }\n\t return A;\n }\n\n\nstatic void input(int A[],int B[]) {\n\t for(int i=0;i<A.length;i++) {\n\t\t A[i]=sc.nextInt();\n\t\t B[i]=sc.nextInt();\n\t }\n}\nstatic long mod(long x) {\n\t return ((x%mod + mod)%mod);\n}\n\n static int i() {\n \t return sc.nextInt();\n }\n static String s() {\n \t return sc.next();\n }\n static long l() {\n \t return sc.nextLong();\n } \n static void sort(int[] arr){\n int n = arr.length;\n Random rnd = new Random();\n for(int i=0; i<n; ++i){\n int tmp = arr[i];\n int randomPos = i + rnd.nextInt(n-i);\n arr[i] = arr[randomPos];\n arr[randomPos] = tmp;\n }\n Arrays.sort(arr);\n }\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 \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}",
"Main"
]
|
import java.util.*;
import java.io.*;
public class Main
{
static int mod=(int)Math.pow(10, 9)+7;
static FastReader sc=new FastReader();
public static void main(String[] args)
{
int n=i();
if(n==0)
System.out.println("1");
else
System.out.println("0");
}
static int[] input(int n) {
int A[]=new int[n];
for(int i=0;i<n;i++) {
A[i]=sc.nextInt();
}
return A;
}
static long[] inputL(int n) {
long A[]=new long[n];
for(int i=0;i<n;i++) {
A[i]=sc.nextLong();
}
return A;
}
static String[] inputS(int n) {
String A[]=new String[n];
for(int i=0;i<n;i++) {
A[i]=sc.next();
}
return A;
}
static void input(int A[],int B[]) {
for(int i=0;i<A.length;i++) {
A[i]=sc.nextInt();
B[i]=sc.nextInt();
}
}
static long mod(long x) {
return ((x%mod + mod)%mod);
}
static int i() {
return sc.nextInt();
}
static String s() {
return sc.next();
}
static long l() {
return sc.nextLong();
}
static void sort(int[] arr){
int n = arr.length;
Random rnd = new Random();
for(int i=0; i<n; ++i){
int tmp = arr[i];
int randomPos = i + rnd.nextInt(n-i);
arr[i] = arr[randomPos];
arr[randomPos] = tmp;
}
Arrays.sort(arr);
}
static class FastReader
{
BufferedReader br;
StringTokenizer st;
public FastReader()
{
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next()
{
while (st == null || !st.hasMoreElements())
{
try
{
st = new StringTokenizer(br.readLine());
}
catch (IOException e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt()
{
return Integer.parseInt(next());
}
long nextLong()
{
return Long.parseLong(next());
}
double nextDouble()
{
return Double.parseDouble(next());
}
String nextLine()
{
String str = "";
try
{
str = br.readLine();
}
catch (IOException e)
{
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
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,
4,
18,
13,
8,
2,
13,
17,
17,
17,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
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,
4,
18,
13,
18,
13,
13,
14,
2,
13,
2,
18,
13,
13,
17,
4,
18,
13,
17,
23,
13,
12,
13,
30,
4,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
360,
35
],
[
360,
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
],
[
360,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
82,
87
],
[
71,
88
],
[
88,
89
],
[
71,
90
],
[
90,
91
],
[
71,
92
],
[
92,
93
],
[
360,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
94,
102
],
[
102,
103
],
[
94,
104
],
[
104,
105
],
[
94,
106
],
[
106,
107
],
[
94,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
108,
116
],
[
116,
117
],
[
94,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
121,
126
],
[
126,
127
],
[
127,
128
],
[
120,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
137,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
133,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
120,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
94,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
165,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
165,
179
],
[
179,
180
],
[
179,
181
],
[
165,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
186,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
165,
195
],
[
195,
196
],
[
195,
197
],
[
165,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
198,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
209,
211
],
[
204,
212
],
[
212,
213
],
[
213,
214
],
[
203,
215
],
[
215,
216
],
[
215,
217
],
[
203,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
220,
222
],
[
203,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
165,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
94,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
240,
243
],
[
233,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
231,
248
],
[
248,
249
],
[
94,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
257,
255
],
[
267,
256
],
[
264,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
257,
261
],
[
261,
262
],
[
261,
263
],
[
264,
264
],
[
264,
265
],
[
264,
266
],
[
267,
267
],
[
267,
268
],
[
267,
269
],
[
257,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
250,
274
],
[
274,
275
],
[
94,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
360,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
282,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
286,
292
],
[
292,
293
],
[
282,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
297,
301
],
[
294,
302
],
[
302,
303
],
[
282,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
307,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
314,
316
],
[
307,
317
],
[
317,
318
],
[
318,
319
],
[
307,
320
],
[
321,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
322,
325
],
[
325,
326
],
[
325,
327
],
[
321,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
331,
335
],
[
328,
336
],
[
336,
337
],
[
337,
338
],
[
336,
339
],
[
304,
340
],
[
340,
341
],
[
282,
342
],
[
342,
343
],
[
342,
344
],
[
344,
345
],
[
345,
346
],
[
345,
347
],
[
344,
348
],
[
348,
349
],
[
349,
350
],
[
342,
351
],
[
351,
352
],
[
282,
353
],
[
353,
354
],
[
353,
355
],
[
355,
356
],
[
356,
357
],
[
357,
358
],
[
0,
359
],
[
359,
360
],
[
359,
361
]
]
| [
"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 * Copyright (c) --> Arpit\n * Date Created : 13/9/2020\n * Have A Good Day !\n */\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Arpit\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n \n static class ANot {\n public void solve(int testNumber, FastReader r, OutputWriter out) {\n int x = r.nextInt();\n out.println(x == 1 ? 0 : 1);\n }\n \n }\n \n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n \n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n \n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n 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 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 writer.print(objects[i]);\n if (i != objects.length - 1) writer.print(\" \");\n }\n }\n \n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n \n public void close() {\n writer.close();\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 FastReader in = new FastReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n \n static class ANot {\n public void solve(int testNumber, FastReader r, OutputWriter out) {\n int x = r.nextInt();\n out.println(x == 1 ? 0 : 1);\n }\n \n }\n \n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n \n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n \n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n 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 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 writer.print(objects[i]);\n if (i != objects.length - 1) writer.print(\" \");\n }\n }\n \n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n \n public void close() {\n writer.close();\n }\n \n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"FastReader in = new FastReader(inputStream);",
"in",
"new FastReader(inputStream)",
"OutputWriter out = new OutputWriter(outputStream);",
"out",
"new OutputWriter(outputStream)",
"ANot solver = new ANot();",
"solver",
"new ANot()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ANot {\n public void solve(int testNumber, FastReader r, OutputWriter out) {\n int x = r.nextInt();\n out.println(x == 1 ? 0 : 1);\n }\n \n }",
"ANot",
"public void solve(int testNumber, FastReader r, OutputWriter out) {\n int x = r.nextInt();\n out.println(x == 1 ? 0 : 1);\n }",
"solve",
"{\n int x = r.nextInt();\n out.println(x == 1 ? 0 : 1);\n }",
"int x = r.nextInt();",
"x",
"r.nextInt()",
"r.nextInt",
"r",
"out.println(x == 1 ? 0 : 1)",
"out.println",
"out",
"x == 1 ? 0 : 1",
"x == 1",
"x",
"1",
"0",
"1",
"int testNumber",
"testNumber",
"FastReader r",
"r",
"OutputWriter out",
"out",
"static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n \n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n \n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n \n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n \n }\n \n }",
"FastReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private FastReader.SpaceCharFilter filter;",
"filter",
"public FastReader(InputStream stream) {\n this.stream = stream;\n }",
"FastReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n 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",
"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 writer.print(objects[i]);\n if (i != objects.length - 1) writer.print(\" \");\n }\n }\n \n public void println(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 writer.print(objects[i]);\n if (i != objects.length - 1) writer.print(\" \");\n }\n }",
"print",
"{\n for (int i = 0; i < objects.length; i++) {\n writer.print(objects[i]);\n if (i != objects.length - 1) writer.print(\" \");\n }\n }",
"for (int i = 0; i < objects.length; i++) {\n writer.print(objects[i]);\n if (i != objects.length - 1) writer.print(\" \");\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < objects.length",
"i",
"objects.length",
"objects",
"objects.length",
"i++",
"i++",
"i",
"{\n writer.print(objects[i]);\n if (i != objects.length - 1) writer.print(\" \");\n }",
"{\n writer.print(objects[i]);\n if (i != objects.length - 1) writer.print(\" \");\n }",
"writer.print(objects[i])",
"writer.print",
"writer",
"objects[i]",
"objects",
"i",
"if (i != objects.length - 1) writer.print(\" \");",
"i != objects.length - 1",
"i",
"objects.length - 1",
"objects.length",
"objects",
"objects.length",
"1",
"writer.print(\" \")",
"writer.print",
"writer",
"\" \"",
"Object... objects",
"objects",
"public void println(Object... objects) {\n print(objects);\n writer.println();\n }",
"println",
"{\n print(objects);\n writer.println();\n }",
"print(objects)",
"print",
"objects",
"writer.println()",
"writer.println",
"writer",
"Object... objects",
"objects",
"public void close() {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n \n static class ANot {\n public void solve(int testNumber, FastReader r, OutputWriter out) {\n int x = r.nextInt();\n out.println(x == 1 ? 0 : 1);\n }\n \n }\n \n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n \n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n \n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n 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 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 writer.print(objects[i]);\n if (i != objects.length - 1) writer.print(\" \");\n }\n }\n \n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n \n public void close() {\n writer.close();\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n \n static class ANot {\n public void solve(int testNumber, FastReader r, OutputWriter out) {\n int x = r.nextInt();\n out.println(x == 1 ? 0 : 1);\n }\n \n }\n \n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n \n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n \n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n \n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n 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 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 writer.print(objects[i]);\n if (i != objects.length - 1) writer.print(\" \");\n }\n }\n \n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n \n public void close() {\n writer.close();\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;
/*
* Copyright (c) --> Arpit
* Date Created : 13/9/2020
* Have A Good Day !
*/
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Arpit
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
FastReader in = new FastReader(inputStream);
OutputWriter out = new OutputWriter(outputStream);
ANot solver = new ANot();
solver.solve(1, in, out);
out.close();
}
static class ANot {
public void solve(int testNumber, FastReader r, OutputWriter out) {
int x = r.nextInt();
out.println(x == 1 ? 0 : 1);
}
}
static class FastReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private FastReader.SpaceCharFilter filter;
public FastReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public int nextInt() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
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);
}
}
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++) {
writer.print(objects[i]);
if (i != objects.length - 1) writer.print(" ");
}
}
public void println(Object... objects) {
print(objects);
writer.println();
}
public void close() {
writer.close();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
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
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
]
]
| [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner ler = new Scanner(System.in);\n int x = ler.nextInt();\n \n if (x == 0) System.out.println(\"1\");\n else System.out.println(\"0\");\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner ler = new Scanner(System.in);\n int x = ler.nextInt();\n \n if (x == 0) System.out.println(\"1\");\n else System.out.println(\"0\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner ler = new Scanner(System.in);\n int x = ler.nextInt();\n \n if (x == 0) System.out.println(\"1\");\n else System.out.println(\"0\");\n }",
"main",
"{\n Scanner ler = new Scanner(System.in);\n int x = ler.nextInt();\n \n if (x == 0) System.out.println(\"1\");\n else System.out.println(\"0\");\n }",
"Scanner ler = new Scanner(System.in);",
"ler",
"new Scanner(System.in)",
"int x = ler.nextInt();",
"x",
"ler.nextInt()",
"ler.nextInt",
"ler",
"if (x == 0) System.out.println(\"1\");\n else System.out.println(\"0\");",
"x == 0",
"x",
"0",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner ler = new Scanner(System.in);
int x = ler.nextInt();
if (x == 0) System.out.println("1");
else System.out.println("0");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
17,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
31,
5
],
[
31,
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
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
22,
27
],
[
6,
28
],
[
28,
29
],
[
0,
30
],
[
30,
31
],
[
30,
32
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String... args) {\n Scanner scanner = new Scanner(System.in);\n\n int x = scanner.nextInt();\n System.out.println(x == 1 ? '0' : '1');\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 int x = scanner.nextInt();\n System.out.println(x == 1 ? '0' : '1');\n }\n}",
"Main",
"public static void main(String... args) {\n Scanner scanner = new Scanner(System.in);\n\n int x = scanner.nextInt();\n System.out.println(x == 1 ? '0' : '1');\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n int x = scanner.nextInt();\n System.out.println(x == 1 ? '0' : '1');\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int x = scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(x == 1 ? '0' : '1')",
"System.out.println",
"System.out",
"System",
"System.out",
"x == 1 ? '0' : '1'",
"x == 1",
"x",
"1",
"'0'",
"'1'",
"String... args",
"args",
"public class Main {\n public static void main(String... args) {\n Scanner scanner = new Scanner(System.in);\n\n int x = scanner.nextInt();\n System.out.println(x == 1 ? '0' : '1');\n }\n}",
"public class Main {\n public static void main(String... args) {\n Scanner scanner = new Scanner(System.in);\n\n int x = scanner.nextInt();\n System.out.println(x == 1 ? '0' : '1');\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String... args) {
Scanner scanner = new Scanner(System.in);
int x = scanner.nextInt();
System.out.println(x == 1 ? '0' : '1');
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
9,
43
],
[
43,
44
]
]
| [
"import java.util.*;\nimport java.lang.Math;\n\nclass Main{\n\npublic static void main(String[] args){\nScanner scanner1 = new Scanner(System.in);\nScanner scanner2 = new Scanner(System.in);\nint a=scanner1.nextInt();\n\nif(a==1) System.out.print(0);\nif(a==0) System.out.print(1);\n}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.Math;",
"Math",
"java.lang",
"class Main{\n\npublic static void main(String[] args){\nScanner scanner1 = new Scanner(System.in);\nScanner scanner2 = new Scanner(System.in);\nint a=scanner1.nextInt();\n\nif(a==1) System.out.print(0);\nif(a==0) System.out.print(1);\n}\n}",
"Main",
"public static void main(String[] args){\nScanner scanner1 = new Scanner(System.in);\nScanner scanner2 = new Scanner(System.in);\nint a=scanner1.nextInt();\n\nif(a==1) System.out.print(0);\nif(a==0) System.out.print(1);\n}",
"main",
"{\nScanner scanner1 = new Scanner(System.in);\nScanner scanner2 = new Scanner(System.in);\nint a=scanner1.nextInt();\n\nif(a==1) System.out.print(0);\nif(a==0) System.out.print(1);\n}",
"Scanner scanner1 = new Scanner(System.in);",
"scanner1",
"new Scanner(System.in)",
"Scanner scanner2 = new Scanner(System.in);",
"scanner2",
"new Scanner(System.in)",
"int a=scanner1.nextInt();",
"a",
"scanner1.nextInt()",
"scanner1.nextInt",
"scanner1",
"if(a==1) System.out.print(0);",
"a==1",
"a",
"1",
"System.out.print(0)",
"System.out.print",
"System.out",
"System",
"System.out",
"0",
"if(a==0) System.out.print(1);",
"a==0",
"a",
"0",
"System.out.print(1)",
"System.out.print",
"System.out",
"System",
"System.out",
"1",
"String[] args",
"args"
]
| import java.util.*;
import java.lang.Math;
class Main{
public static void main(String[] args){
Scanner scanner1 = new Scanner(System.in);
Scanner scanner2 = new Scanner(System.in);
int a=scanner1.nextInt();
if(a==1) System.out.print(0);
if(a==0) System.out.print(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,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
41,
13,
20,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
13,
13,
13,
23,
13,
12,
13,
30,
29,
4,
13,
2,
4,
13,
13,
4,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
13,
2,
4,
13,
13,
4,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
42,
2,
40,
4,
18,
13,
13,
40,
4,
18,
13,
13,
30,
40,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
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,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
12,
13,
30,
29,
17,
23,
13,
12,
13,
30,
29,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
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
],
[
354,
47
],
[
354,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
354,
53
],
[
53,
54
],
[
53,
55
],
[
354,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
58,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
56,
72
],
[
72,
73
],
[
56,
74
],
[
74,
75
],
[
354,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
80,
86
],
[
76,
87
],
[
87,
88
],
[
354,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
89,
102
],
[
102,
103
],
[
89,
104
],
[
104,
105
],
[
354,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
116,
117
],
[
116,
118
],
[
106,
119
],
[
119,
120
],
[
106,
121
],
[
121,
122
],
[
354,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
128,
130
],
[
125,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
132,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
131,
143
],
[
143,
144
],
[
144,
145
],
[
125,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
125,
150
],
[
150,
151
],
[
123,
152
],
[
152,
153
],
[
354,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
160,
162
],
[
156,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
164,
169
],
[
169,
170
],
[
169,
171
],
[
164,
172
],
[
172,
173
],
[
173,
174
],
[
164,
175
],
[
176,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
182,
183
],
[
156,
184
],
[
184,
185
],
[
154,
186
],
[
186,
187
],
[
354,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
191,
196
],
[
196,
197
],
[
196,
198
],
[
191,
199
],
[
199,
200
],
[
200,
201
],
[
191,
202
],
[
203,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
204,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
213
],
[
190,
214
],
[
214,
215
],
[
188,
216
],
[
216,
217
],
[
188,
218
],
[
218,
219
],
[
354,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
222,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
235,
240
],
[
231,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
245,
250
],
[
220,
251
],
[
251,
252
],
[
354,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
253,
257
],
[
257,
258
],
[
253,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
253,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
269,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
268,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
278,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
267,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
253,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
297,
300
],
[
300,
301
],
[
253,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
306,
309
],
[
309,
310
],
[
253,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
315,
318
],
[
318,
319
],
[
253,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
322,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
326,
333
],
[
333,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
322,
339
],
[
339,
340
],
[
253,
341
],
[
341,
342
],
[
341,
343
],
[
343,
344
],
[
344,
345
],
[
341,
346
],
[
346,
347
],
[
253,
348
],
[
348,
349
],
[
348,
350
],
[
350,
351
],
[
351,
352
],
[
0,
353
],
[
353,
354
],
[
353,
355
]
]
| [
"\n\t\t\t\t\t\t\n\t\t\t\t\t\timport java.io.BufferedReader;\n\t\t\t\t\t\timport java.util.ArrayList;\n\t\t\t\t\t\timport java.util.Arrays;\n\t\t\t\t\t\timport java.util.Collections;\n\t\t\t\t\t\timport java.util.HashMap;\n\t\t\t\t\t\timport java.util.HashSet;\n\t\t\t\t\t\timport java.util.List;\n\t\t\t\t\t\timport java.util.Map;\n\t\t\t\t\t\timport java.io.IOException;\n\t\t\t\t\t\timport java.io.InputStreamReader;\n\t\t\t\t\timport java.math.BigInteger;\n\t\t\t\t\timport java.util.Scanner;\n\t\t\t\t\t\timport java.util.Set;\n\t\t\t\t\t\timport java.util.StringTokenizer;\n\t\t\t\t\timport java.util.Vector;\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tpublic class Main {\n\t\t\t\t\t\t\t static class FastReader \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t BufferedReader br; \n\t\t\t\t\t\t\t StringTokenizer st; \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t public FastReader() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t br = new BufferedReader(new\n\t\t\t\t\t\t\t InputStreamReader(System.in)); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t String next() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t while (st == null || !st.hasMoreTokens()) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t st = new StringTokenizer(br.readLine()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return st.nextToken();\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t int nextInt() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Integer.parseInt(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t long nextLong() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Long.parseLong(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t double nextDouble() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Double.parseDouble(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t String nextLine() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t String str = \"\"; \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t str = br.readLine(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return str; \n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpublic Character charAt(int i) {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\tpublic BigInteger nextBigInteger() {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t static int gcd(int a , int b) {\n\t\t\t\t\t\t\t\t if(b==0)return a;\n\t\t\t\t\t\t\t\t return gcd(b,a%b);\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t * @param args\n\t\t\t\t\t\t\t * @throws IOException\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t static int m =(int) (1e9+7);\n\t\t\t\t\t\t\t static long mod(long x) {\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t return ((x%m+m)%m);\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t static long add(long x,long y) {\n\t\t\t\t\t\t\t\t return mod((mod(x)+mod(y)));\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t static long mul(long x,long y) {\n\t\t\t\t\t\t\t\t return mod((mod(x)*mod(y)));\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t static List<Integer> a= new ArrayList<>();\n\t\t\t\t\t\t\t static int solve(List<Integer> l) {\n\t\t\t\t\t\t\t\t int m = Integer.MAX_VALUE;\n\t\t\t\t\t\t\t\t while(!a.contains(m) && !l.contains(m)) {\n\t\t\t\t\t\t\t\t\t m++;\n\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t a.add(m);\n\t\t\t\t\t\t\t\t return m;\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t static int[] readAr(int n) {\n\t\t\t\t\t\t \tFastReader s=new FastReader();\n\t\t\t\t\t\t \tint [] ar = new int [n];\n\t\t\t\t\t\t \tfor(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tar[i]=s.nextInt();\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \treturn ar;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t static int[] printAr(int[] ar,int n) {\n\t\t\t\t\t\t \tfor(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tSystem.out.print(ar[i]+\" \");\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \treturn ar;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t\tpublic static void main(String[] args)throws IOException {\n\t\t\t\t\t\t\t\tFastReader s=new FastReader();\n\t\t\t\t\t\t\t\tint n = s.nextInt();\n\t\t\t\t\t\t\t\tif(n==0)System.out.println(1);\n\t\t\t\t\t\t\t\telse if(n==1)System.out.println(0);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.Vector;",
"Vector",
"java.util",
"public class Main {\n\t\t\t\t\t\t\t static class FastReader \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t BufferedReader br; \n\t\t\t\t\t\t\t StringTokenizer st; \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t public FastReader() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t br = new BufferedReader(new\n\t\t\t\t\t\t\t InputStreamReader(System.in)); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t String next() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t while (st == null || !st.hasMoreTokens()) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t st = new StringTokenizer(br.readLine()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return st.nextToken();\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t int nextInt() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Integer.parseInt(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t long nextLong() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Long.parseLong(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t double nextDouble() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Double.parseDouble(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t String nextLine() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t String str = \"\"; \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t str = br.readLine(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return str; \n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpublic Character charAt(int i) {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\tpublic BigInteger nextBigInteger() {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t static int gcd(int a , int b) {\n\t\t\t\t\t\t\t\t if(b==0)return a;\n\t\t\t\t\t\t\t\t return gcd(b,a%b);\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t * @param args\n\t\t\t\t\t\t\t * @throws IOException\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t static int m =(int) (1e9+7);\n\t\t\t\t\t\t\t static long mod(long x) {\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t return ((x%m+m)%m);\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t static long add(long x,long y) {\n\t\t\t\t\t\t\t\t return mod((mod(x)+mod(y)));\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t static long mul(long x,long y) {\n\t\t\t\t\t\t\t\t return mod((mod(x)*mod(y)));\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t static List<Integer> a= new ArrayList<>();\n\t\t\t\t\t\t\t static int solve(List<Integer> l) {\n\t\t\t\t\t\t\t\t int m = Integer.MAX_VALUE;\n\t\t\t\t\t\t\t\t while(!a.contains(m) && !l.contains(m)) {\n\t\t\t\t\t\t\t\t\t m++;\n\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t a.add(m);\n\t\t\t\t\t\t\t\t return m;\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t static int[] readAr(int n) {\n\t\t\t\t\t\t \tFastReader s=new FastReader();\n\t\t\t\t\t\t \tint [] ar = new int [n];\n\t\t\t\t\t\t \tfor(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tar[i]=s.nextInt();\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \treturn ar;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t static int[] printAr(int[] ar,int n) {\n\t\t\t\t\t\t \tfor(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tSystem.out.print(ar[i]+\" \");\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \treturn ar;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t\tpublic static void main(String[] args)throws IOException {\n\t\t\t\t\t\t\t\tFastReader s=new FastReader();\n\t\t\t\t\t\t\t\tint n = s.nextInt();\n\t\t\t\t\t\t\t\tif(n==0)System.out.println(1);\n\t\t\t\t\t\t\t\telse if(n==1)System.out.println(0);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n}",
"Main",
"/**\n\t\t\t\t\t\t\t * @param args\n\t\t\t\t\t\t\t * @throws IOException\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t static int m =(int) (1e9+7);",
"m",
"(int) (1e9+7)",
"1e9",
"7",
"static List<Integer> a= new ArrayList<>();",
"a",
"new ArrayList<>()",
"static int gcd(int a , int b) {\n\t\t\t\t\t\t\t\t if(b==0)return a;\n\t\t\t\t\t\t\t\t return gcd(b,a%b);\n\t\t\t\t\t\t\t }",
"gcd",
"{\n\t\t\t\t\t\t\t\t if(b==0)return a;\n\t\t\t\t\t\t\t\t return gcd(b,a%b);\n\t\t\t\t\t\t\t }",
"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",
"static long mod(long x) {\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t return ((x%m+m)%m);\n\t\t\t\t\t\t\t }",
"mod",
"{\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t return ((x%m+m)%m);\n\t\t\t\t\t\t\t }",
"return ((x%m+m)%m);",
"((x%m+m)%m)",
"(x%m+m)",
"x%m",
"x",
"m",
"m",
"m",
"long x",
"x",
"static long add(long x,long y) {\n\t\t\t\t\t\t\t\t return mod((mod(x)+mod(y)));\n\t\t\t\t\t\t\t }",
"add",
"{\n\t\t\t\t\t\t\t\t return mod((mod(x)+mod(y)));\n\t\t\t\t\t\t\t }",
"return mod((mod(x)+mod(y)));",
"mod((mod(x)+mod(y)))",
"mod",
"(mod(x)+mod(y))",
"mod(x)",
"mod",
"x",
"mod(y)",
"mod",
"y",
"long x",
"x",
"long y",
"y",
"static long mul(long x,long y) {\n\t\t\t\t\t\t\t\t return mod((mod(x)*mod(y)));\n\t\t\t\t\t\t\t }",
"mul",
"{\n\t\t\t\t\t\t\t\t return mod((mod(x)*mod(y)));\n\t\t\t\t\t\t\t }",
"return mod((mod(x)*mod(y)));",
"mod((mod(x)*mod(y)))",
"mod",
"(mod(x)*mod(y))",
"mod(x)",
"mod",
"x",
"mod(y)",
"mod",
"y",
"long x",
"x",
"long y",
"y",
"static int solve(List<Integer> l) {\n\t\t\t\t\t\t\t\t int m = Integer.MAX_VALUE;\n\t\t\t\t\t\t\t\t while(!a.contains(m) && !l.contains(m)) {\n\t\t\t\t\t\t\t\t\t m++;\n\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t a.add(m);\n\t\t\t\t\t\t\t\t return m;\n\t\t\t\t\t\t\t }",
"solve",
"{\n\t\t\t\t\t\t\t\t int m = Integer.MAX_VALUE;\n\t\t\t\t\t\t\t\t while(!a.contains(m) && !l.contains(m)) {\n\t\t\t\t\t\t\t\t\t m++;\n\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t a.add(m);\n\t\t\t\t\t\t\t\t return m;\n\t\t\t\t\t\t\t }",
"int m = Integer.MAX_VALUE;",
"m",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"while(!a.contains(m) && !l.contains(m)) {\n\t\t\t\t\t\t\t\t\t m++;\n\t\t\t\t\t\t\t\t }",
"!a.contains(m) && !l.contains(m)",
"!a.contains(m)",
"a.contains(m)",
"a.contains",
"a",
"m",
"!l.contains(m)",
"l.contains(m)",
"l.contains",
"l",
"m",
"{\n\t\t\t\t\t\t\t\t\t m++;\n\t\t\t\t\t\t\t\t }",
"m++",
"m",
"a.add(m)",
"a.add",
"a",
"m",
"return m;",
"m",
"List<Integer> l",
"l",
"static int[] readAr(int n) {\n\t\t\t\t\t\t \tFastReader s=new FastReader();\n\t\t\t\t\t\t \tint [] ar = new int [n];\n\t\t\t\t\t\t \tfor(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tar[i]=s.nextInt();\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \treturn ar;\n\t\t\t\t\t\t }",
"readAr",
"{\n\t\t\t\t\t\t \tFastReader s=new FastReader();\n\t\t\t\t\t\t \tint [] ar = new int [n];\n\t\t\t\t\t\t \tfor(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tar[i]=s.nextInt();\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \treturn ar;\n\t\t\t\t\t\t }",
"FastReader s=new FastReader();",
"s",
"new FastReader()",
"int [] ar = new int [n];",
"ar",
"new int [n]",
"n",
"for(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tar[i]=s.nextInt();\n\t\t\t\t\t\t \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\t\t\t \t\tar[i]=s.nextInt();\n\t\t\t\t\t\t \t}",
"{\n\t\t\t\t\t\t \t\tar[i]=s.nextInt();\n\t\t\t\t\t\t \t}",
"ar[i]=s.nextInt()",
"ar[i]",
"ar",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"return ar;",
"ar",
"int n",
"n",
"static int[] printAr(int[] ar,int n) {\n\t\t\t\t\t\t \tfor(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tSystem.out.print(ar[i]+\" \");\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \treturn ar;\n\t\t\t\t\t\t }",
"printAr",
"{\n\t\t\t\t\t\t \tfor(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tSystem.out.print(ar[i]+\" \");\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \treturn ar;\n\t\t\t\t\t\t }",
"for(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tSystem.out.print(ar[i]+\" \");\n\t\t\t\t\t\t \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\t\t\t \t\tSystem.out.print(ar[i]+\" \");\n\t\t\t\t\t\t \t}",
"{\n\t\t\t\t\t\t \t\tSystem.out.print(ar[i]+\" \");\n\t\t\t\t\t\t \t}",
"System.out.print(ar[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"ar[i]+\" \"",
"ar[i]",
"ar",
"i",
"\" \"",
"return ar;",
"ar",
"int[] ar",
"ar",
"int n",
"n",
"public static void main(String[] args)throws IOException {\n\t\t\t\t\t\t\t\tFastReader s=new FastReader();\n\t\t\t\t\t\t\t\tint n = s.nextInt();\n\t\t\t\t\t\t\t\tif(n==0)System.out.println(1);\n\t\t\t\t\t\t\t\telse if(n==1)System.out.println(0);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}",
"main",
"{\n\t\t\t\t\t\t\t\tFastReader s=new FastReader();\n\t\t\t\t\t\t\t\tint n = s.nextInt();\n\t\t\t\t\t\t\t\tif(n==0)System.out.println(1);\n\t\t\t\t\t\t\t\telse if(n==1)System.out.println(0);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}",
"FastReader s=new FastReader();",
"s",
"new FastReader()",
"int n = s.nextInt();",
"n",
"s.nextInt()",
"s.nextInt",
"s",
"if(n==0)System.out.println(1);\n\t\t\t\t\t\t\t\telse if(n==1)System.out.println(0);",
"n==0",
"n",
"0",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"if(n==1)System.out.println(0);",
"n==1",
"n",
"1",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"static class FastReader \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t BufferedReader br; \n\t\t\t\t\t\t\t StringTokenizer st; \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t public FastReader() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t br = new BufferedReader(new\n\t\t\t\t\t\t\t InputStreamReader(System.in)); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t String next() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t while (st == null || !st.hasMoreTokens()) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t st = new StringTokenizer(br.readLine()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return st.nextToken();\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t int nextInt() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Integer.parseInt(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t long nextLong() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Long.parseLong(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t double nextDouble() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Double.parseDouble(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t String nextLine() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t String str = \"\"; \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t str = br.readLine(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return str; \n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpublic Character charAt(int i) {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\tpublic BigInteger nextBigInteger() {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t br = new BufferedReader(new\n\t\t\t\t\t\t\t InputStreamReader(System.in)); \n\t\t\t\t\t\t\t }",
"FastReader",
"{ \n\t\t\t\t\t\t\t br = new BufferedReader(new\n\t\t\t\t\t\t\t InputStreamReader(System.in)); \n\t\t\t\t\t\t\t }",
"br = new BufferedReader(new\n\t\t\t\t\t\t\t InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n\t\t\t\t\t\t\t InputStreamReader(System.in))",
"String next() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t while (st == null || !st.hasMoreTokens()) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t st = new StringTokenizer(br.readLine()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return st.nextToken();\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t }",
"next",
"{ \n\t\t\t\t\t\t\t while (st == null || !st.hasMoreTokens()) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t st = new StringTokenizer(br.readLine()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return st.nextToken();\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t }",
"while (st == null || !st.hasMoreTokens()) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t st = new StringTokenizer(br.readLine()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{ \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t st = new StringTokenizer(br.readLine()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t }",
"try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t st = new StringTokenizer(br.readLine()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t }",
"catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t }",
"IOException e",
"{ \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n\t\t\t\t\t\t\t st = new StringTokenizer(br.readLine()); \n\t\t\t\t\t\t\t }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Integer.parseInt(next()); \n\t\t\t\t\t\t\t }",
"nextInt",
"{ \n\t\t\t\t\t\t\t return Integer.parseInt(next()); \n\t\t\t\t\t\t\t }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Long.parseLong(next()); \n\t\t\t\t\t\t\t }",
"nextLong",
"{ \n\t\t\t\t\t\t\t return Long.parseLong(next()); \n\t\t\t\t\t\t\t }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Double.parseDouble(next()); \n\t\t\t\t\t\t\t }",
"nextDouble",
"{ \n\t\t\t\t\t\t\t return Double.parseDouble(next()); \n\t\t\t\t\t\t\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t String str = \"\"; \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t str = br.readLine(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return str; \n\t\t\t\t\t\t\t }",
"nextLine",
"{ \n\t\t\t\t\t\t\t String str = \"\"; \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t str = br.readLine(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return str; \n\t\t\t\t\t\t\t }",
"String str = \"\";",
"str",
"\"\"",
"try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t str = br.readLine(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t }",
"catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t }",
"IOException e",
"{ \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n\t\t\t\t\t\t\t str = br.readLine(); \n\t\t\t\t\t\t\t }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public Character charAt(int i) {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t}",
"charAt",
"{\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t}",
"return null;",
"null",
"int i",
"i",
"public BigInteger nextBigInteger() {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t}",
"nextBigInteger",
"{\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t}",
"return null;",
"null",
"public class Main {\n\t\t\t\t\t\t\t static class FastReader \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t BufferedReader br; \n\t\t\t\t\t\t\t StringTokenizer st; \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t public FastReader() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t br = new BufferedReader(new\n\t\t\t\t\t\t\t InputStreamReader(System.in)); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t String next() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t while (st == null || !st.hasMoreTokens()) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t st = new StringTokenizer(br.readLine()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return st.nextToken();\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t int nextInt() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Integer.parseInt(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t long nextLong() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Long.parseLong(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t double nextDouble() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Double.parseDouble(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t String nextLine() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t String str = \"\"; \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t str = br.readLine(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return str; \n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpublic Character charAt(int i) {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\tpublic BigInteger nextBigInteger() {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t static int gcd(int a , int b) {\n\t\t\t\t\t\t\t\t if(b==0)return a;\n\t\t\t\t\t\t\t\t return gcd(b,a%b);\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t * @param args\n\t\t\t\t\t\t\t * @throws IOException\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t static int m =(int) (1e9+7);\n\t\t\t\t\t\t\t static long mod(long x) {\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t return ((x%m+m)%m);\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t static long add(long x,long y) {\n\t\t\t\t\t\t\t\t return mod((mod(x)+mod(y)));\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t static long mul(long x,long y) {\n\t\t\t\t\t\t\t\t return mod((mod(x)*mod(y)));\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t static List<Integer> a= new ArrayList<>();\n\t\t\t\t\t\t\t static int solve(List<Integer> l) {\n\t\t\t\t\t\t\t\t int m = Integer.MAX_VALUE;\n\t\t\t\t\t\t\t\t while(!a.contains(m) && !l.contains(m)) {\n\t\t\t\t\t\t\t\t\t m++;\n\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t a.add(m);\n\t\t\t\t\t\t\t\t return m;\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t static int[] readAr(int n) {\n\t\t\t\t\t\t \tFastReader s=new FastReader();\n\t\t\t\t\t\t \tint [] ar = new int [n];\n\t\t\t\t\t\t \tfor(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tar[i]=s.nextInt();\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \treturn ar;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t static int[] printAr(int[] ar,int n) {\n\t\t\t\t\t\t \tfor(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tSystem.out.print(ar[i]+\" \");\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \treturn ar;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t\tpublic static void main(String[] args)throws IOException {\n\t\t\t\t\t\t\t\tFastReader s=new FastReader();\n\t\t\t\t\t\t\t\tint n = s.nextInt();\n\t\t\t\t\t\t\t\tif(n==0)System.out.println(1);\n\t\t\t\t\t\t\t\telse if(n==1)System.out.println(0);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n}",
"public class Main {\n\t\t\t\t\t\t\t static class FastReader \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t BufferedReader br; \n\t\t\t\t\t\t\t StringTokenizer st; \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t public FastReader() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t br = new BufferedReader(new\n\t\t\t\t\t\t\t InputStreamReader(System.in)); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t String next() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t while (st == null || !st.hasMoreTokens()) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t st = new StringTokenizer(br.readLine()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return st.nextToken();\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t int nextInt() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Integer.parseInt(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t long nextLong() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Long.parseLong(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t double nextDouble() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t return Double.parseDouble(next()); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t String nextLine() \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t String str = \"\"; \n\t\t\t\t\t\t\t try\n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t str = br.readLine(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t catch (IOException e) \n\t\t\t\t\t\t\t { \n\t\t\t\t\t\t\t e.printStackTrace(); \n\t\t\t\t\t\t\t } \n\t\t\t\t\t\t\t return str; \n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tpublic Character charAt(int i) {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t\t\tpublic BigInteger nextBigInteger() {\n\t\t\t\t\t\t\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t} \n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t static int gcd(int a , int b) {\n\t\t\t\t\t\t\t\t if(b==0)return a;\n\t\t\t\t\t\t\t\t return gcd(b,a%b);\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t * @param args\n\t\t\t\t\t\t\t * @throws IOException\n\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t static int m =(int) (1e9+7);\n\t\t\t\t\t\t\t static long mod(long x) {\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t return ((x%m+m)%m);\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t static long add(long x,long y) {\n\t\t\t\t\t\t\t\t return mod((mod(x)+mod(y)));\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t static long mul(long x,long y) {\n\t\t\t\t\t\t\t\t return mod((mod(x)*mod(y)));\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t static List<Integer> a= new ArrayList<>();\n\t\t\t\t\t\t\t static int solve(List<Integer> l) {\n\t\t\t\t\t\t\t\t int m = Integer.MAX_VALUE;\n\t\t\t\t\t\t\t\t while(!a.contains(m) && !l.contains(m)) {\n\t\t\t\t\t\t\t\t\t m++;\n\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t a.add(m);\n\t\t\t\t\t\t\t\t return m;\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t static int[] readAr(int n) {\n\t\t\t\t\t\t \tFastReader s=new FastReader();\n\t\t\t\t\t\t \tint [] ar = new int [n];\n\t\t\t\t\t\t \tfor(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tar[i]=s.nextInt();\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \treturn ar;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t static int[] printAr(int[] ar,int n) {\n\t\t\t\t\t\t \tfor(int i=0;i<n;i++) {\n\t\t\t\t\t\t \t\tSystem.out.print(ar[i]+\" \");\n\t\t\t\t\t\t \t}\n\t\t\t\t\t\t \treturn ar;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t\tpublic static void main(String[] args)throws IOException {\n\t\t\t\t\t\t\t\tFastReader s=new FastReader();\n\t\t\t\t\t\t\t\tint n = s.nextInt();\n\t\t\t\t\t\t\t\tif(n==0)System.out.println(1);\n\t\t\t\t\t\t\t\telse if(n==1)System.out.println(0);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigInteger;
import java.util.Scanner;
import java.util.Set;
import java.util.StringTokenizer;
import java.util.Vector;
public class Main {
static class FastReader
{
BufferedReader br;
StringTokenizer st;
public FastReader()
{
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next()
{
while (st == null || !st.hasMoreTokens())
{
try
{
st = new StringTokenizer(br.readLine());
}
catch (IOException e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt()
{
return Integer.parseInt(next());
}
long nextLong()
{
return Long.parseLong(next());
}
double nextDouble()
{
return Double.parseDouble(next());
}
String nextLine()
{
String str = "";
try
{
str = br.readLine();
}
catch (IOException e)
{
e.printStackTrace();
}
return str;
}
public Character charAt(int i) {
// TODO Auto-generated method stub
return null;
}
public BigInteger nextBigInteger() {
// TODO Auto-generated method stub
return null;
}
}
static int gcd(int a , int b) {
if(b==0)return a;
return gcd(b,a%b);
}
/**
* @param args
* @throws IOException
*/
static int m =(int) (1e9+7);
static long mod(long x) {
return ((x%m+m)%m);
}
static long add(long x,long y) {
return mod((mod(x)+mod(y)));
}
static long mul(long x,long y) {
return mod((mod(x)*mod(y)));
}
static List<Integer> a= new ArrayList<>();
static int solve(List<Integer> l) {
int m = Integer.MAX_VALUE;
while(!a.contains(m) && !l.contains(m)) {
m++;
}
a.add(m);
return m;
}
static int[] readAr(int n) {
FastReader s=new FastReader();
int [] ar = new int [n];
for(int i=0;i<n;i++) {
ar[i]=s.nextInt();
}
return ar;
}
static int[] printAr(int[] ar,int n) {
for(int i=0;i<n;i++) {
System.out.print(ar[i]+" ");
}
return ar;
}
public static void main(String[] args)throws IOException {
FastReader s=new FastReader();
int n = s.nextInt();
if(n==0)System.out.println(1);
else if(n==1)System.out.println(0);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
17,
29,
17,
6,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
4,
18,
13,
13,
14,
2,
2,
13,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
40,
13,
14,
2,
2,
13,
13,
13,
40,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
0,
13,
13,
14,
2,
2,
13,
13,
13,
0,
13,
2,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
9,
41,
13,
17,
42,
2,
2,
13,
13,
17,
30,
40,
13,
0,
13,
13,
4,
18,
13,
20,
14,
2,
13,
17,
4,
18,
13,
20,
29,
13,
23,
13,
12,
13,
30,
41,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
42,
2,
0,
13,
2,
13,
13,
17,
30,
0,
13,
13,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
4,
18,
13,
13,
13,
17,
37,
20,
41,
13,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
13,
41,
13,
0,
13,
2,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
2,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
17,
0,
13,
13,
29,
13,
23,
13,
23,
13,
6,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
17,
2,
13,
2,
17,
13,
23,
13,
23,
13,
12,
13,
30,
29,
0,
13,
2,
17,
13,
23,
13,
23,
13,
12,
13,
30,
29,
0,
13,
40,
2,
17,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
4,
13,
13,
13,
4,
13,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
40,
13,
23,
13,
6,
13,
41,
13,
17,
12,
13,
30,
4,
13,
13,
13,
23,
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
],
[
523,
20
],
[
523,
21
],
[
21,
22
],
[
21,
23
],
[
523,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
24,
41
],
[
41,
42
],
[
523,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
47,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
47,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
47,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
74,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
81,
91
],
[
91,
92
],
[
92,
93
],
[
81,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
96,
102
],
[
102,
103
],
[
74,
104
],
[
104,
105
],
[
72,
106
],
[
106,
107
],
[
70,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
114,
124
],
[
124,
125
],
[
125,
126
],
[
114,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
129,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
135,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
140,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
149,
150
],
[
149,
151
],
[
110,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
110,
156
],
[
156,
157
],
[
108,
158
],
[
158,
159
],
[
70,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
166,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
171,
175
],
[
166,
176
],
[
176,
177
],
[
177,
178
],
[
166,
179
],
[
180,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
181,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
195
],
[
190,
196
],
[
196,
197
],
[
162,
198
],
[
198,
199
],
[
160,
200
],
[
200,
201
],
[
70,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
208,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
217
],
[
208,
218
],
[
218,
219
],
[
219,
220
],
[
208,
221
],
[
222,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
223,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
233,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
241,
243
],
[
204,
244
],
[
244,
245
],
[
202,
246
],
[
246,
247
],
[
70,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
250,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
254,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
263
],
[
254,
264
],
[
264,
265
],
[
265,
266
],
[
254,
267
],
[
268,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
270,
274
],
[
269,
275
],
[
268,
276
],
[
276,
277
],
[
276,
278
],
[
268,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
284
],
[
279,
285
],
[
285,
286
],
[
286,
287
],
[
285,
288
],
[
288,
289
],
[
288,
290
],
[
268,
291
],
[
291,
292
],
[
292,
293
],
[
291,
294
],
[
250,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
295,
299
],
[
299,
300
],
[
300,
301
],
[
299,
302
],
[
250,
303
],
[
303,
304
],
[
248,
305
],
[
305,
306
],
[
70,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
310,
311
],
[
309,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
313,
317
],
[
317,
318
],
[
317,
319
],
[
312,
320
],
[
320,
321
],
[
321,
322
],
[
309,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
327,
329
],
[
324,
330
],
[
323,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
331,
335
],
[
335,
336
],
[
335,
337
],
[
309,
338
],
[
338,
339
],
[
307,
340
],
[
340,
341
],
[
307,
342
],
[
342,
343
],
[
70,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
347,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
349,
352
],
[
349,
353
],
[
348,
354
],
[
347,
355
],
[
355,
356
],
[
346,
357
],
[
357,
358
],
[
357,
359
],
[
346,
360
],
[
360,
361
],
[
360,
362
],
[
346,
363
],
[
363,
364
],
[
363,
365
],
[
346,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
366,
370
],
[
370,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
373,
375
],
[
370,
376
],
[
376,
377
],
[
370,
378
],
[
378,
379
],
[
378,
380
],
[
380,
381
],
[
380,
382
],
[
370,
383
],
[
383,
384
],
[
383,
385
],
[
370,
386
],
[
386,
387
],
[
386,
388
],
[
370,
389
],
[
389,
390
],
[
389,
391
],
[
370,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
394,
396
],
[
370,
397
],
[
397,
398
],
[
397,
399
],
[
370,
400
],
[
400,
401
],
[
400,
402
],
[
370,
403
],
[
403,
404
],
[
403,
405
],
[
346,
406
],
[
406,
407
],
[
406,
408
],
[
346,
409
],
[
409,
410
],
[
410,
411
],
[
410,
412
],
[
409,
413
],
[
413,
414
],
[
413,
415
],
[
346,
416
],
[
416,
417
],
[
344,
418
],
[
418,
419
],
[
344,
420
],
[
420,
421
],
[
0,
422
],
[
422,
423
],
[
422,
424
],
[
424,
425
],
[
424,
426
],
[
426,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
428,
431
],
[
424,
432
],
[
432,
433
],
[
422,
434
],
[
434,
435
],
[
434,
436
],
[
436,
437
],
[
437,
438
],
[
438,
439
],
[
438,
440
],
[
440,
441
],
[
440,
442
],
[
442,
443
],
[
442,
444
],
[
434,
445
],
[
445,
446
],
[
434,
447
],
[
447,
448
],
[
422,
449
],
[
449,
450
],
[
449,
451
],
[
451,
452
],
[
452,
453
],
[
453,
454
],
[
453,
455
],
[
455,
456
],
[
455,
457
],
[
449,
458
],
[
458,
459
],
[
449,
460
],
[
460,
461
],
[
422,
462
],
[
462,
463
],
[
462,
464
],
[
464,
465
],
[
465,
466
],
[
466,
467
],
[
466,
468
],
[
468,
469
],
[
469,
470
],
[
469,
471
],
[
462,
472
],
[
472,
473
],
[
462,
474
],
[
474,
475
],
[
422,
476
],
[
476,
477
],
[
476,
478
],
[
478,
479
],
[
479,
480
],
[
480,
481
],
[
481,
482
],
[
481,
483
],
[
481,
484
],
[
480,
485
],
[
485,
486
],
[
485,
487
],
[
485,
488
],
[
480,
489
],
[
489,
490
],
[
489,
491
],
[
489,
492
],
[
476,
493
],
[
493,
494
],
[
476,
495
],
[
495,
496
],
[
422,
497
],
[
497,
498
],
[
497,
499
],
[
499,
500
],
[
500,
501
],
[
501,
502
],
[
497,
503
],
[
503,
504
],
[
0,
505
],
[
505,
506
],
[
505,
507
],
[
507,
508
],
[
507,
509
],
[
505,
510
],
[
510,
511
],
[
510,
512
],
[
512,
513
],
[
513,
514
],
[
513,
515
],
[
513,
516
],
[
510,
517
],
[
517,
518
],
[
510,
519
],
[
519,
520
],
[
505,
521
],
[
0,
522
],
[
522,
523
],
[
522,
524
]
]
| [
"import java.util.AbstractMap;\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.Collections;\nimport java.util.Scanner;\nimport static java.lang.Math.*;\n\npublic class Main {\n final long MOD = 1000000007;\n\n public static void main(String[] args) throws ArithmeticException {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n static Object run() throws ArithmeticException {\n try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n int x = sc.nextInt();\n if (x == 1) return 0;\n if (x == 0) return 1;\n return null;\n }\n }\n\n}\n\nclass ChenNumberUtil {\n /**\n * nが素数かどうかを判定します。\n *\n * @param n 素数か判定したい値\n * @return boolean 素数か否か\n */\n static boolean isPrime(long n) {\n if (n == 1)\n return false;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n /**\n * nの約数の配列を求めます。\n *\n * @param n 約数を取得したい値\n * @return 約数の配列\n */\n static Collection<Long> getDivisors(long n) {\n ArrayList<Long> al = new ArrayList<>();\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }\n Collections.sort(al);\n return al;\n }\n\n /**\n * nの約数の個数を求めます。\n *\n * @param n 約数の個数を取得したい値\n * @return 約数の個数\n */\n static long getDivisorsCount(long n) {\n long count = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }\n return count;\n }\n\n /**\n * nの約数の総和を求めます。\n *\n * @param n 約数を取得したい値\n * @return 約数の配列\n */\n static long getDivisorsSum(long n) {\n long sum = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }\n return sum;\n }\n\n /**\n * nの素因数分解の数列を求めます。\n *\n * @param n , not {@code null}\n * @return 素因数分解のペア配列 <素因数, 指数>\n */\n static Collection<Pair<Long, Long>> primeFactorize(long n) {\n ArrayList<Pair<Long, Long>> al = new ArrayList<>();\n for (long a = 2; a * a <= n; ++a) {\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }\n if (n != 1)\n al.add(new Pair<>(n, 1l));\n return al;\n }\n\n /**\n * 最大公約数を求めます。1が返る場合、xとyは互いに素です。\n *\n * @param x 自然数1\n * @param y 自然数2\n * @return 最大公約数\n * @throws Error x,yのどちらかが0だよ\n */\n static long getGCD(long x, long y) throws Error {\n long r;\n if (x == 0 || y == 0) {\n throw new Error(\"Invalid Value\");\n }\n while ((r = x % y) != 0) {\n x = y;\n y = r;\n }\n return y;\n }\n\n /**\n *\n * @param a\n * @param p\n * @return\n * @throws Error\n */\n static long modInvert(long a, long p) throws Error {\n if (ChenNumberUtil.getGCD(a, p) != 1)\n throw new Error(\"Inverse element does not exist\");\n long b = p, u = 1, v = 0;\n while (b != 0) {\n long t = a / b, temp;\n\n a -= t * b;\n temp = a;\n a = b;\n b = temp;\n\n u -= t * v;\n temp = u;\n u = v;\n v = temp;\n }\n u %= p;\n if (u < 0)\n u += p;\n return u;\n }\n}\n\nclass ChenBitUtil {\n static int popCount(int bit) {\n return Integer.bitCount(bit);\n }\n\n static boolean isFlag(int bit, int i) {\n return 0 != (bit & (1 << i));\n }\n\n static int setTrue(int bit, int i) {\n return bit |= (1 << i);\n }\n\n static int setFalse(int bit, int i) {\n return bit &= ~(1 << i);\n }\n\n static int setReverse(int bit, int i) {\n return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);\n }\n\n static int reverseAll(int bit) {\n return ~bit;\n }\n}\n\n/**\n * ペアで値を格納します\n *\n * @param <K>\n * @param <V>\n */\nclass Pair<K, V> extends AbstractMap.SimpleEntry<K, V> {\n /** serialVersionUID. */\n private static final long serialVersionUID = 6411527075103472113L;\n\n public Pair(final K key, final V value) {\n super(key, value);\n }\n}",
"import java.util.AbstractMap;",
"AbstractMap",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collection;",
"Collection",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"public class Main {\n final long MOD = 1000000007;\n\n public static void main(String[] args) throws ArithmeticException {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n static Object run() throws ArithmeticException {\n try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n int x = sc.nextInt();\n if (x == 1) return 0;\n if (x == 0) return 1;\n return null;\n }\n }\n\n}",
"Main",
"final long MOD = 1000000007;",
"MOD",
"1000000007",
"public static void main(String[] args) throws ArithmeticException {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }",
"main",
"{\n Object o = run();\n if (o != null)\n System.out.println(o);\n }",
"Object o = run();",
"o",
"run()",
"run",
"if (o != null)\n System.out.println(o);",
"o != null",
"o",
"null",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"String[] args",
"args",
"static Object run() throws ArithmeticException {\n try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n int x = sc.nextInt();\n if (x == 1) return 0;\n if (x == 0) return 1;\n return null;\n }\n }",
"run",
"{\n try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n int x = sc.nextInt();\n if (x == 1) return 0;\n if (x == 0) return 1;\n return null;\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n int x = sc.nextInt();\n if (x == 1) return 0;\n if (x == 0) return 1;\n return null;\n }",
"{\n // Main Code\n int x = sc.nextInt();\n if (x == 1) return 0;\n if (x == 0) return 1;\n return null;\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x == 1) return 0;",
"x == 1",
"x",
"1",
"return 0;",
"0",
"if (x == 0) return 1;",
"x == 0",
"x",
"0",
"return 1;",
"1",
"return null;",
"null",
"class ChenNumberUtil {\n /**\n * nが素数かどうかを判定します。\n *\n * @param n 素数か判定したい値\n * @return boolean 素数か否か\n */\n static boolean isPrime(long n) {\n if (n == 1)\n return false;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n /**\n * nの約数の配列を求めます。\n *\n * @param n 約数を取得したい値\n * @return 約数の配列\n */\n static Collection<Long> getDivisors(long n) {\n ArrayList<Long> al = new ArrayList<>();\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }\n Collections.sort(al);\n return al;\n }\n\n /**\n * nの約数の個数を求めます。\n *\n * @param n 約数の個数を取得したい値\n * @return 約数の個数\n */\n static long getDivisorsCount(long n) {\n long count = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }\n return count;\n }\n\n /**\n * nの約数の総和を求めます。\n *\n * @param n 約数を取得したい値\n * @return 約数の配列\n */\n static long getDivisorsSum(long n) {\n long sum = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }\n return sum;\n }\n\n /**\n * nの素因数分解の数列を求めます。\n *\n * @param n , not {@code null}\n * @return 素因数分解のペア配列 <素因数, 指数>\n */\n static Collection<Pair<Long, Long>> primeFactorize(long n) {\n ArrayList<Pair<Long, Long>> al = new ArrayList<>();\n for (long a = 2; a * a <= n; ++a) {\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }\n if (n != 1)\n al.add(new Pair<>(n, 1l));\n return al;\n }\n\n /**\n * 最大公約数を求めます。1が返る場合、xとyは互いに素です。\n *\n * @param x 自然数1\n * @param y 自然数2\n * @return 最大公約数\n * @throws Error x,yのどちらかが0だよ\n */\n static long getGCD(long x, long y) throws Error {\n long r;\n if (x == 0 || y == 0) {\n throw new Error(\"Invalid Value\");\n }\n while ((r = x % y) != 0) {\n x = y;\n y = r;\n }\n return y;\n }\n\n /**\n *\n * @param a\n * @param p\n * @return\n * @throws Error\n */\n static long modInvert(long a, long p) throws Error {\n if (ChenNumberUtil.getGCD(a, p) != 1)\n throw new Error(\"Inverse element does not exist\");\n long b = p, u = 1, v = 0;\n while (b != 0) {\n long t = a / b, temp;\n\n a -= t * b;\n temp = a;\n a = b;\n b = temp;\n\n u -= t * v;\n temp = u;\n u = v;\n v = temp;\n }\n u %= p;\n if (u < 0)\n u += p;\n return u;\n }\n}",
"ChenNumberUtil",
"/**\n * nが素数かどうかを判定します。\n *\n * @param n 素数か判定したい値\n * @return boolean 素数か否か\n */\n static boolean isPrime(long n) {\n if (n == 1)\n return false;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"isPrime",
"{\n if (n == 1)\n return false;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"if (n == 1)\n return false;",
"n == 1",
"n",
"1",
"return false;",
"false",
"for (long i = 1; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }",
"long i = 1;",
"long i = 1;",
"i",
"1",
"i * i <= n",
"i * i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (n % i == 0)\n return false;\n }",
"{\n if (n % i == 0)\n return false;\n }",
"if (n % i == 0)\n return false;",
"n % i == 0",
"n % i",
"n",
"i",
"0",
"return false;",
"false",
"return true;",
"true",
"long n",
"n",
"/**\n * nの約数の配列を求めます。\n *\n * @param n 約数を取得したい値\n * @return 約数の配列\n */\n static Collection<Long> getDivisors(long n) {\n ArrayList<Long> al = new ArrayList<>();\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }\n Collections.sort(al);\n return al;\n }",
"getDivisors",
"{\n ArrayList<Long> al = new ArrayList<>();\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }\n Collections.sort(al);\n return al;\n }",
"ArrayList<Long> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }",
"long i = 1;",
"long i = 1;",
"i",
"1",
"i * i <= n",
"i * i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }",
"{\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }",
"if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }",
"n % i == 0",
"n % i",
"n",
"i",
"0",
"{\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }",
"al.add(i)",
"al.add",
"al",
"i",
"if (n / i != i)\n al.add(n / i);",
"n / i != i",
"n / i",
"n",
"i",
"i",
"al.add(n / i)",
"al.add",
"al",
"n / i",
"n",
"i",
"Collections.sort(al)",
"Collections.sort",
"Collections",
"al",
"return al;",
"al",
"long n",
"n",
"/**\n * nの約数の個数を求めます。\n *\n * @param n 約数の個数を取得したい値\n * @return 約数の個数\n */\n static long getDivisorsCount(long n) {\n long count = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }\n return count;\n }",
"getDivisorsCount",
"{\n long count = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }\n return count;\n }",
"long count = 0;",
"count",
"0",
"for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }",
"long i = 1;",
"long i = 1;",
"i",
"1",
"i * i <= n",
"i * i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }",
"{\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }",
"if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }",
"n % i == 0",
"n % i",
"n",
"i",
"0",
"{\n count++;\n if (n / i != i)\n count++;\n }",
"count++",
"count",
"if (n / i != i)\n count++;",
"n / i != i",
"n / i",
"n",
"i",
"i",
"count++",
"count",
"return count;",
"count",
"long n",
"n",
"/**\n * nの約数の総和を求めます。\n *\n * @param n 約数を取得したい値\n * @return 約数の配列\n */\n static long getDivisorsSum(long n) {\n long sum = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }\n return sum;\n }",
"getDivisorsSum",
"{\n long sum = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }\n return sum;\n }",
"long sum = 0;",
"sum",
"0",
"for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }",
"long i = 1;",
"long i = 1;",
"i",
"1",
"i * i <= n",
"i * i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }",
"{\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }",
"if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }",
"n % i == 0",
"n % i",
"n",
"i",
"0",
"{\n sum += i;\n if (n / i != i)\n sum += n / i;\n }",
"sum += i",
"sum",
"i",
"if (n / i != i)\n sum += n / i;",
"n / i != i",
"n / i",
"n",
"i",
"i",
"sum += n / i",
"sum",
"n / i",
"n",
"i",
"return sum;",
"sum",
"long n",
"n",
"/**\n * nの素因数分解の数列を求めます。\n *\n * @param n , not {@code null}\n * @return 素因数分解のペア配列 <素因数, 指数>\n */\n static Collection<Pair<Long, Long>> primeFactorize(long n) {\n ArrayList<Pair<Long, Long>> al = new ArrayList<>();\n for (long a = 2; a * a <= n; ++a) {\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }\n if (n != 1)\n al.add(new Pair<>(n, 1l));\n return al;\n }",
"primeFactorize",
"{\n ArrayList<Pair<Long, Long>> al = new ArrayList<>();\n for (long a = 2; a * a <= n; ++a) {\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }\n if (n != 1)\n al.add(new Pair<>(n, 1l));\n return al;\n }",
"ArrayList<Pair<Long, Long>> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"for (long a = 2; a * a <= n; ++a) {\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }",
"long a = 2;",
"long a = 2;",
"a",
"2",
"a * a <= n",
"a * a",
"a",
"a",
"n",
"++a",
"++a",
"a",
"{\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }",
"{\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }",
"if (n % a != 0)\n continue;",
"n % a != 0",
"n % a",
"n",
"a",
"0",
"continue;",
"long ex = 0;",
"ex",
"0",
"while (n % a == 0) {\n ex++;\n n /= a;\n }",
"n % a == 0",
"n % a",
"n",
"a",
"0",
"{\n ex++;\n n /= a;\n }",
"ex++",
"ex",
"n /= a",
"n",
"a",
"al.add(new Pair<>(a, ex))",
"al.add",
"al",
"new Pair<>(a, ex)",
"if (n != 1)\n al.add(new Pair<>(n, 1l));",
"n != 1",
"n",
"1",
"al.add(new Pair<>(n, 1l))",
"al.add",
"al",
"new Pair<>(n, 1l)",
"return al;",
"al",
"long n",
"n",
"/**\n * 最大公約数を求めます。1が返る場合、xとyは互いに素です。\n *\n * @param x 自然数1\n * @param y 自然数2\n * @return 最大公約数\n * @throws Error x,yのどちらかが0だよ\n */\n static long getGCD(long x, long y) throws Error {\n long r;\n if (x == 0 || y == 0) {\n throw new Error(\"Invalid Value\");\n }\n while ((r = x % y) != 0) {\n x = y;\n y = r;\n }\n return y;\n }",
"getGCD",
"{\n long r;\n if (x == 0 || y == 0) {\n throw new Error(\"Invalid Value\");\n }\n while ((r = x % y) != 0) {\n x = y;\n y = r;\n }\n return y;\n }",
"long r;",
"r",
"if (x == 0 || y == 0) {\n throw new Error(\"Invalid Value\");\n }",
"x == 0 || y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n throw new Error(\"Invalid Value\");\n }",
"throw new Error(\"Invalid Value\");",
"new Error(\"Invalid Value\")",
"while ((r = x % y) != 0) {\n x = y;\n y = r;\n }",
"(r = x % y) != 0",
"(r = x % y)",
"r",
"x % y",
"x",
"y",
"0",
"{\n x = y;\n y = r;\n }",
"x = y",
"x",
"y",
"y = r",
"y",
"r",
"return y;",
"y",
"long x",
"x",
"long y",
"y",
"/**\n *\n * @param a\n * @param p\n * @return\n * @throws Error\n */\n static long modInvert(long a, long p) throws Error {\n if (ChenNumberUtil.getGCD(a, p) != 1)\n throw new Error(\"Inverse element does not exist\");\n long b = p, u = 1, v = 0;\n while (b != 0) {\n long t = a / b, temp;\n\n a -= t * b;\n temp = a;\n a = b;\n b = temp;\n\n u -= t * v;\n temp = u;\n u = v;\n v = temp;\n }\n u %= p;\n if (u < 0)\n u += p;\n return u;\n }",
"modInvert",
"{\n if (ChenNumberUtil.getGCD(a, p) != 1)\n throw new Error(\"Inverse element does not exist\");\n long b = p, u = 1, v = 0;\n while (b != 0) {\n long t = a / b, temp;\n\n a -= t * b;\n temp = a;\n a = b;\n b = temp;\n\n u -= t * v;\n temp = u;\n u = v;\n v = temp;\n }\n u %= p;\n if (u < 0)\n u += p;\n return u;\n }",
"if (ChenNumberUtil.getGCD(a, p) != 1)\n throw new Error(\"Inverse element does not exist\");",
"ChenNumberUtil.getGCD(a, p) != 1",
"ChenNumberUtil.getGCD(a, p)",
"ChenNumberUtil.getGCD",
"ChenNumberUtil",
"a",
"p",
"1",
"throw new Error(\"Inverse element does not exist\");",
"new Error(\"Inverse element does not exist\")",
"long b = p",
"b",
"p",
"u = 1",
"u",
"1",
"v = 0;",
"v",
"0",
"while (b != 0) {\n long t = a / b, temp;\n\n a -= t * b;\n temp = a;\n a = b;\n b = temp;\n\n u -= t * v;\n temp = u;\n u = v;\n v = temp;\n }",
"b != 0",
"b",
"0",
"{\n long t = a / b, temp;\n\n a -= t * b;\n temp = a;\n a = b;\n b = temp;\n\n u -= t * v;\n temp = u;\n u = v;\n v = temp;\n }",
"long t = a / b",
"t",
"a / b",
"a",
"b",
"temp;",
"temp",
"a -= t * b",
"a",
"t * b",
"t",
"b",
"temp = a",
"temp",
"a",
"a = b",
"a",
"b",
"b = temp",
"b",
"temp",
"u -= t * v",
"u",
"t * v",
"t",
"v",
"temp = u",
"temp",
"u",
"u = v",
"u",
"v",
"v = temp",
"v",
"temp",
"u %= p",
"u",
"p",
"if (u < 0)\n u += p;",
"u < 0",
"u",
"0",
"u += p",
"u",
"p",
"return u;",
"u",
"long a",
"a",
"long p",
"p",
"class ChenBitUtil {\n static int popCount(int bit) {\n return Integer.bitCount(bit);\n }\n\n static boolean isFlag(int bit, int i) {\n return 0 != (bit & (1 << i));\n }\n\n static int setTrue(int bit, int i) {\n return bit |= (1 << i);\n }\n\n static int setFalse(int bit, int i) {\n return bit &= ~(1 << i);\n }\n\n static int setReverse(int bit, int i) {\n return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);\n }\n\n static int reverseAll(int bit) {\n return ~bit;\n }\n}",
"ChenBitUtil",
"static int popCount(int bit) {\n return Integer.bitCount(bit);\n }",
"popCount",
"{\n return Integer.bitCount(bit);\n }",
"return Integer.bitCount(bit);",
"Integer.bitCount(bit)",
"Integer.bitCount",
"Integer",
"bit",
"int bit",
"bit",
"static boolean isFlag(int bit, int i) {\n return 0 != (bit & (1 << i));\n }",
"isFlag",
"{\n return 0 != (bit & (1 << i));\n }",
"return 0 != (bit & (1 << i));",
"0 != (bit & (1 << i))",
"0",
"(bit & (1 << i))",
"bit",
"(1 << i)",
"1",
"i",
"int bit",
"bit",
"int i",
"i",
"static int setTrue(int bit, int i) {\n return bit |= (1 << i);\n }",
"setTrue",
"{\n return bit |= (1 << i);\n }",
"return bit |= (1 << i);",
"bit |= (1 << i)",
"bit",
"(1 << i)",
"1",
"i",
"int bit",
"bit",
"int i",
"i",
"static int setFalse(int bit, int i) {\n return bit &= ~(1 << i);\n }",
"setFalse",
"{\n return bit &= ~(1 << i);\n }",
"return bit &= ~(1 << i);",
"bit &= ~(1 << i)",
"bit",
"~(1 << i)",
"(1 << i)",
"1",
"i",
"int bit",
"bit",
"int i",
"i",
"static int setReverse(int bit, int i) {\n return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);\n }",
"setReverse",
"{\n return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);\n }",
"return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);",
"isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i)",
"isFlag(bit, i)",
"isFlag",
"bit",
"i",
"setFalse(bit, i)",
"setFalse",
"bit",
"i",
"setTrue(bit, i)",
"setTrue",
"bit",
"i",
"int bit",
"bit",
"int i",
"i",
"static int reverseAll(int bit) {\n return ~bit;\n }",
"reverseAll",
"{\n return ~bit;\n }",
"return ~bit;",
"~bit",
"bit",
"int bit",
"bit",
"class Pair<K, V> extends AbstractMap.SimpleEntry<K, V> {\n /** serialVersionUID. */\n private static final long serialVersionUID = 6411527075103472113L;\n\n public Pair(final K key, final V value) {\n super(key, value);\n }\n}",
"Pair",
"/** serialVersionUID. */\n private static final long serialVersionUID = 6411527075103472113L;",
"serialVersionUID",
"6411527075103472113L",
"public Pair(final K key, final V value) {\n super(key, value);\n }",
"Pair",
"{\n super(key, value);\n }",
"super(key, value)",
"super",
"key",
"value",
"final K key",
"key",
"final V value",
"value",
"SimpleEntry",
"public class Main {\n final long MOD = 1000000007;\n\n public static void main(String[] args) throws ArithmeticException {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n static Object run() throws ArithmeticException {\n try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n int x = sc.nextInt();\n if (x == 1) return 0;\n if (x == 0) return 1;\n return null;\n }\n }\n\n}",
"public class Main {\n final long MOD = 1000000007;\n\n public static void main(String[] args) throws ArithmeticException {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n static Object run() throws ArithmeticException {\n try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n int x = sc.nextInt();\n if (x == 1) return 0;\n if (x == 0) return 1;\n return null;\n }\n }\n\n}",
"Main"
]
| import java.util.AbstractMap;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Scanner;
import static java.lang.Math.*;
public class Main {
final long MOD = 1000000007;
public static void main(String[] args) throws ArithmeticException {
Object o = run();
if (o != null)
System.out.println(o);
}
static Object run() throws ArithmeticException {
try (Scanner sc = new Scanner(System.in)) {
// Main Code
int x = sc.nextInt();
if (x == 1) return 0;
if (x == 0) return 1;
return null;
}
}
}
class ChenNumberUtil {
/**
* nが素数かどうかを判定します。
*
* @param n 素数か判定したい値
* @return boolean 素数か否か
*/
static boolean isPrime(long n) {
if (n == 1)
return false;
for (long i = 1; i * i <= n; i++) {
if (n % i == 0)
return false;
}
return true;
}
/**
* nの約数の配列を求めます。
*
* @param n 約数を取得したい値
* @return 約数の配列
*/
static Collection<Long> getDivisors(long n) {
ArrayList<Long> al = new ArrayList<>();
for (long i = 1; i * i <= n; i++) {
if (n % i == 0) {
al.add(i);
if (n / i != i)
al.add(n / i);
}
}
Collections.sort(al);
return al;
}
/**
* nの約数の個数を求めます。
*
* @param n 約数の個数を取得したい値
* @return 約数の個数
*/
static long getDivisorsCount(long n) {
long count = 0;
for (long i = 1; i * i <= n; i++) {
if (n % i == 0) {
count++;
if (n / i != i)
count++;
}
}
return count;
}
/**
* nの約数の総和を求めます。
*
* @param n 約数を取得したい値
* @return 約数の配列
*/
static long getDivisorsSum(long n) {
long sum = 0;
for (long i = 1; i * i <= n; i++) {
if (n % i == 0) {
sum += i;
if (n / i != i)
sum += n / i;
}
}
return sum;
}
/**
* nの素因数分解の数列を求めます。
*
* @param n , not {@code null}
* @return 素因数分解のペア配列 <素因数, 指数>
*/
static Collection<Pair<Long, Long>> primeFactorize(long n) {
ArrayList<Pair<Long, Long>> al = new ArrayList<>();
for (long a = 2; a * a <= n; ++a) {
if (n % a != 0)
continue;
long ex = 0;
while (n % a == 0) {
ex++;
n /= a;
}
al.add(new Pair<>(a, ex));
}
if (n != 1)
al.add(new Pair<>(n, 1l));
return al;
}
/**
* 最大公約数を求めます。1が返る場合、xとyは互いに素です。
*
* @param x 自然数1
* @param y 自然数2
* @return 最大公約数
* @throws Error x,yのどちらかが0だよ
*/
static long getGCD(long x, long y) throws Error {
long r;
if (x == 0 || y == 0) {
throw new Error("Invalid Value");
}
while ((r = x % y) != 0) {
x = y;
y = r;
}
return y;
}
/**
*
* @param a
* @param p
* @return
* @throws Error
*/
static long modInvert(long a, long p) throws Error {
if (ChenNumberUtil.getGCD(a, p) != 1)
throw new Error("Inverse element does not exist");
long b = p, u = 1, v = 0;
while (b != 0) {
long t = a / b, temp;
a -= t * b;
temp = a;
a = b;
b = temp;
u -= t * v;
temp = u;
u = v;
v = temp;
}
u %= p;
if (u < 0)
u += p;
return u;
}
}
class ChenBitUtil {
static int popCount(int bit) {
return Integer.bitCount(bit);
}
static boolean isFlag(int bit, int i) {
return 0 != (bit & (1 << i));
}
static int setTrue(int bit, int i) {
return bit |= (1 << i);
}
static int setFalse(int bit, int i) {
return bit &= ~(1 << i);
}
static int setReverse(int bit, int i) {
return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);
}
static int reverseAll(int bit) {
return ~bit;
}
}
/**
* ペアで値を格納します
*
* @param <K>
* @param <V>
*/
class Pair<K, V> extends AbstractMap.SimpleEntry<K, V> {
/** serialVersionUID. */
private static final long serialVersionUID = 6411527075103472113L;
public Pair(final K key, final V value) {
super(key, value);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
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
],
[
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
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
6,
34
],
[
34,
35
],
[
0,
36
],
[
36,
37
],
[
36,
38
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = sc.nextInt();\n\t\tint ans = 1;\n\t\tif (i == 1) {\n\t\t\tans = 0;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = sc.nextInt();\n\t\tint ans = 1;\n\t\tif (i == 1) {\n\t\t\tans = 0;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = sc.nextInt();\n\t\tint ans = 1;\n\t\tif (i == 1) {\n\t\t\tans = 0;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = sc.nextInt();\n\t\tint ans = 1;\n\t\tif (i == 1) {\n\t\t\tans = 0;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = sc.nextInt();",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = 1;",
"ans",
"1",
"if (i == 1) {\n\t\t\tans = 0;\n\t\t}",
"i == 1",
"i",
"1",
"{\n\t\t\tans = 0;\n\t\t}",
"ans = 0",
"ans",
"0",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = sc.nextInt();\n\t\tint ans = 1;\n\t\tif (i == 1) {\n\t\t\tans = 0;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = sc.nextInt();\n\t\tint ans = 1;\n\t\tif (i == 1) {\n\t\t\tans = 0;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int i = sc.nextInt();
int ans = 1;
if (i == 1) {
ans = 0;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
29,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
22,
24
],
[
17,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n if (n > 1 || n < 0) {\n return;\n }\n if (n == 0) {\n System.out.println(1);\n } else {\n System.out.println(0);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n if (n > 1 || n < 0) {\n return;\n }\n if (n == 0) {\n System.out.println(1);\n } else {\n System.out.println(0);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n if (n > 1 || n < 0) {\n return;\n }\n if (n == 0) {\n System.out.println(1);\n } else {\n System.out.println(0);\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n if (n > 1 || n < 0) {\n return;\n }\n if (n == 0) {\n System.out.println(1);\n } else {\n System.out.println(0);\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int n = scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (n > 1 || n < 0) {\n return;\n }",
"n > 1 || n < 0",
"n > 1",
"n",
"1",
"n < 0",
"n",
"0",
"{\n return;\n }",
"return;",
"if (n == 0) {\n System.out.println(1);\n } else {\n System.out.println(0);\n }",
"n == 0",
"n",
"0",
"{\n System.out.println(1);\n }",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"{\n System.out.println(0);\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n if (n > 1 || n < 0) {\n return;\n }\n if (n == 0) {\n System.out.println(1);\n } else {\n System.out.println(0);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n if (n > 1 || n < 0) {\n return;\n }\n if (n == 0) {\n System.out.println(1);\n } else {\n System.out.println(0);\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
if (n > 1 || n < 0) {
return;
}
if (n == 0) {
System.out.println(1);
} else {
System.out.println(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
20,
12,
13,
30,
4,
18,
13,
4,
18,
2,
13,
17,
23,
13,
12,
13,
30,
4,
18,
13,
4,
18,
2,
13,
17,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
4,
18,
13,
4,
18,
2,
18,
13,
13,
17,
4,
18,
13,
4,
18,
17,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
4,
18,
13,
4,
18,
2,
18,
13,
13,
17,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
4,
13,
2,
17,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
264,
11
],
[
264,
12
],
[
12,
13
],
[
12,
14
],
[
264,
15
],
[
15,
16
],
[
15,
17
],
[
264,
18
],
[
18,
19
],
[
18,
20
],
[
264,
21
],
[
21,
22
],
[
21,
23
],
[
264,
24
],
[
24,
25
],
[
24,
26
],
[
264,
27
],
[
27,
28
],
[
27,
29
],
[
264,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
30,
41
],
[
41,
42
],
[
264,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
43,
54
],
[
54,
55
],
[
264,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
59,
69
],
[
69,
70
],
[
70,
71
],
[
59,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
58,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
87,
88
],
[
56,
89
],
[
89,
90
],
[
264,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
94,
104
],
[
104,
105
],
[
105,
106
],
[
94,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
91,
118
],
[
118,
119
],
[
264,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
128,
129
],
[
128,
130
],
[
123,
131
],
[
131,
132
],
[
132,
133
],
[
123,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
140,
141
],
[
120,
142
],
[
142,
143
],
[
120,
144
],
[
144,
145
],
[
264,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
149,
154
],
[
154,
155
],
[
154,
156
],
[
149,
157
],
[
157,
158
],
[
158,
159
],
[
149,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
166,
167
],
[
146,
168
],
[
168,
169
],
[
146,
170
],
[
170,
171
],
[
264,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
175,
180
],
[
180,
181
],
[
180,
182
],
[
175,
183
],
[
183,
184
],
[
184,
185
],
[
175,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
187,
192
],
[
192,
193
],
[
192,
194
],
[
187,
195
],
[
195,
196
],
[
196,
197
],
[
187,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
199,
205
],
[
205,
206
],
[
206,
207
],
[
172,
208
],
[
208,
209
],
[
172,
210
],
[
210,
211
],
[
172,
212
],
[
212,
213
],
[
264,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
216,
222
],
[
222,
223
],
[
222,
224
],
[
216,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
216,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
232,
234
],
[
216,
235
],
[
235,
236
],
[
236,
237
],
[
214,
238
],
[
238,
239
],
[
0,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
240,
244
],
[
244,
245
],
[
240,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
249,
253
],
[
248,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
254,
258
],
[
246,
259
],
[
259,
260
],
[
246,
261
],
[
261,
262
],
[
0,
263
],
[
263,
264
],
[
263,
265
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.math.*;\n\npublic class Main{\n\n\n\n public static OutputStream out=new BufferedOutputStream(System.out);\n static Scanner sc=new Scanner(System.in);\n static long mod=1000000007l;\n static int INF=10000000;\n static int[] rr=new int[]{1, 0, -1, 0}; //rook row move\n static int[] rc=new int[]{0, 1, 0, -1}; //rook col move\n\n //nl-->neew line; //l-->line; //arp-->array print; //arpnl-->array print new line\n public static void nl(Object o) throws IOException{out.write((o+\"\\n\").getBytes()); }\n public static void l(Object o) throws IOException{out.write((o+\"\").getBytes());}\n public static void arp(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+\" \").getBytes()); out.write((\"\\n\").getBytes());}\n public static void arpnl(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+\"\\n\").getBytes());}\n public static void scanl(long[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextLong();}\n public static void scani(int[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextInt();}\n public static void scan2D(int[][] a,int n,int m) {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();}\n //static variables\n\n //\n\n\n public static void main(String[] args) throws IOException{\n long sttm=System.currentTimeMillis();\n long mod=100000l;\n\n int t=sc.nextInt();\n nl(1-t);\n\n out.flush();\n }\n\n}\n\nclass Pair{\n int x; int y;\n Pair(int x,int y){\n this.x=x;\n this.y=y;\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main{\n\n\n\n public static OutputStream out=new BufferedOutputStream(System.out);\n static Scanner sc=new Scanner(System.in);\n static long mod=1000000007l;\n static int INF=10000000;\n static int[] rr=new int[]{1, 0, -1, 0}; //rook row move\n static int[] rc=new int[]{0, 1, 0, -1}; //rook col move\n\n //nl-->neew line; //l-->line; //arp-->array print; //arpnl-->array print new line\n public static void nl(Object o) throws IOException{out.write((o+\"\\n\").getBytes()); }\n public static void l(Object o) throws IOException{out.write((o+\"\").getBytes());}\n public static void arp(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+\" \").getBytes()); out.write((\"\\n\").getBytes());}\n public static void arpnl(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+\"\\n\").getBytes());}\n public static void scanl(long[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextLong();}\n public static void scani(int[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextInt();}\n public static void scan2D(int[][] a,int n,int m) {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();}\n //static variables\n\n //\n\n\n public static void main(String[] args) throws IOException{\n long sttm=System.currentTimeMillis();\n long mod=100000l;\n\n int t=sc.nextInt();\n nl(1-t);\n\n out.flush();\n }\n\n}",
"Main",
"public static OutputStream out=new BufferedOutputStream(System.out);",
"out",
"new BufferedOutputStream(System.out)",
"static Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static long mod=1000000007l;",
"mod",
"1000000007l",
"static int INF=10000000;",
"INF",
"10000000",
"static int[] rr=new int[]{1, 0, -1, 0}; //rook row move",
"rr",
"new int[]{1, 0, -1, 0}",
"static int[] rc=new int[]{0, 1, 0, -1}; //rook col move",
"rc",
"new int[]{0, 1, 0, -1}",
"//nl-->neew line; //l-->line; //arp-->array print; //arpnl-->array print new line\n public static void nl(Object o) throws IOException{out.write((o+\"\\n\").getBytes()); }",
"nl",
"{out.write((o+\"\\n\").getBytes()); }",
"out.write((o+\"\\n\").getBytes())",
"out.write",
"out",
"(o+\"\\n\").getBytes()",
"(o+\"\\n\").getBytes",
"(o+\"\\n\")",
"o",
"\"\\n\"",
"Object o",
"o",
"public static void l(Object o) throws IOException{out.write((o+\"\").getBytes());}",
"l",
"{out.write((o+\"\").getBytes());}",
"out.write((o+\"\").getBytes())",
"out.write",
"out",
"(o+\"\").getBytes()",
"(o+\"\").getBytes",
"(o+\"\")",
"o",
"\"\"",
"Object o",
"o",
"public static void arp(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+\" \").getBytes()); out.write((\"\\n\").getBytes());}",
"arp",
"{for(int i=0;i<o.length;i++) out.write((o[i]+\" \").getBytes()); out.write((\"\\n\").getBytes());}",
"for(int i=0;i<o.length;i++) out.write((o[i]+\" \").getBytes());",
"int i=0;",
"int i=0;",
"i",
"0",
"i<o.length",
"i",
"o.length",
"o",
"o.length",
"i++",
"i++",
"i",
"out.write((o[i]+\" \").getBytes());",
"out.write((o[i]+\" \").getBytes())",
"out.write",
"out",
"(o[i]+\" \").getBytes()",
"(o[i]+\" \").getBytes",
"(o[i]+\" \")",
"o[i]",
"o",
"i",
"\" \"",
"out.write((\"\\n\").getBytes())",
"out.write",
"out",
"(\"\\n\").getBytes()",
"(\"\\n\").getBytes",
"(\"\\n\")",
"int[] o",
"o",
"public static void arpnl(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+\"\\n\").getBytes());}",
"arpnl",
"{for(int i=0;i<o.length;i++) out.write((o[i]+\"\\n\").getBytes());}",
"for(int i=0;i<o.length;i++) out.write((o[i]+\"\\n\").getBytes());",
"int i=0;",
"int i=0;",
"i",
"0",
"i<o.length",
"i",
"o.length",
"o",
"o.length",
"i++",
"i++",
"i",
"out.write((o[i]+\"\\n\").getBytes());",
"out.write((o[i]+\"\\n\").getBytes())",
"out.write",
"out",
"(o[i]+\"\\n\").getBytes()",
"(o[i]+\"\\n\").getBytes",
"(o[i]+\"\\n\")",
"o[i]",
"o",
"i",
"\"\\n\"",
"int[] o",
"o",
"public static void scanl(long[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextLong();}",
"scanl",
"{for(int i=0;i<n;i++) a[i]=sc.nextLong();}",
"for(int i=0;i<n;i++) a[i]=sc.nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=sc.nextLong();",
"a[i]=sc.nextLong()",
"a[i]",
"a",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long[] a",
"a",
"int n",
"n",
"public static void scani(int[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextInt();}",
"scani",
"{for(int i=0;i<n;i++) a[i]=sc.nextInt();}",
"for(int i=0;i<n;i++) a[i]=sc.nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=sc.nextInt();",
"a[i]=sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] a",
"a",
"int n",
"n",
"public static void scan2D(int[][] a,int n,int m) {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();}",
"scan2D",
"{for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();}",
"for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"for(int j=0;j<m;j++) a[i][j]=sc.nextInt();",
"for(int j=0;j<m;j++) a[i][j]=sc.nextInt();",
"int j=0;",
"int j=0;",
"j",
"0",
"j<m",
"j",
"m",
"j++",
"j++",
"j",
"a[i][j]=sc.nextInt();",
"a[i][j]=sc.nextInt()",
"a[i][j]",
"a[i]",
"a",
"i",
"j",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[][] a",
"a",
"int n",
"n",
"int m",
"m",
"public static void main(String[] args) throws IOException{\n long sttm=System.currentTimeMillis();\n long mod=100000l;\n\n int t=sc.nextInt();\n nl(1-t);\n\n out.flush();\n }",
"main",
"{\n long sttm=System.currentTimeMillis();\n long mod=100000l;\n\n int t=sc.nextInt();\n nl(1-t);\n\n out.flush();\n }",
"long sttm=System.currentTimeMillis();",
"sttm",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"long mod=100000l;",
"mod",
"100000l",
"int t=sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"nl(1-t)",
"nl",
"1-t",
"1",
"t",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"class Pair{\n int x; int y;\n Pair(int x,int y){\n this.x=x;\n this.y=y;\n }\n}",
"Pair",
"int x;",
"x",
"int 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 class Main{\n\n\n\n public static OutputStream out=new BufferedOutputStream(System.out);\n static Scanner sc=new Scanner(System.in);\n static long mod=1000000007l;\n static int INF=10000000;\n static int[] rr=new int[]{1, 0, -1, 0}; //rook row move\n static int[] rc=new int[]{0, 1, 0, -1}; //rook col move\n\n //nl-->neew line; //l-->line; //arp-->array print; //arpnl-->array print new line\n public static void nl(Object o) throws IOException{out.write((o+\"\\n\").getBytes()); }\n public static void l(Object o) throws IOException{out.write((o+\"\").getBytes());}\n public static void arp(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+\" \").getBytes()); out.write((\"\\n\").getBytes());}\n public static void arpnl(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+\"\\n\").getBytes());}\n public static void scanl(long[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextLong();}\n public static void scani(int[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextInt();}\n public static void scan2D(int[][] a,int n,int m) {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();}\n //static variables\n\n //\n\n\n public static void main(String[] args) throws IOException{\n long sttm=System.currentTimeMillis();\n long mod=100000l;\n\n int t=sc.nextInt();\n nl(1-t);\n\n out.flush();\n }\n\n}",
"public class Main{\n\n\n\n public static OutputStream out=new BufferedOutputStream(System.out);\n static Scanner sc=new Scanner(System.in);\n static long mod=1000000007l;\n static int INF=10000000;\n static int[] rr=new int[]{1, 0, -1, 0}; //rook row move\n static int[] rc=new int[]{0, 1, 0, -1}; //rook col move\n\n //nl-->neew line; //l-->line; //arp-->array print; //arpnl-->array print new line\n public static void nl(Object o) throws IOException{out.write((o+\"\\n\").getBytes()); }\n public static void l(Object o) throws IOException{out.write((o+\"\").getBytes());}\n public static void arp(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+\" \").getBytes()); out.write((\"\\n\").getBytes());}\n public static void arpnl(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+\"\\n\").getBytes());}\n public static void scanl(long[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextLong();}\n public static void scani(int[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextInt();}\n public static void scan2D(int[][] a,int n,int m) {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();}\n //static variables\n\n //\n\n\n public static void main(String[] args) throws IOException{\n long sttm=System.currentTimeMillis();\n long mod=100000l;\n\n int t=sc.nextInt();\n nl(1-t);\n\n out.flush();\n }\n\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.math.*;
public class Main{
public static OutputStream out=new BufferedOutputStream(System.out);
static Scanner sc=new Scanner(System.in);
static long mod=1000000007l;
static int INF=10000000;
static int[] rr=new int[]{1, 0, -1, 0}; //rook row move
static int[] rc=new int[]{0, 1, 0, -1}; //rook col move
//nl-->neew line; //l-->line; //arp-->array print; //arpnl-->array print new line
public static void nl(Object o) throws IOException{out.write((o+"\n").getBytes()); }
public static void l(Object o) throws IOException{out.write((o+"").getBytes());}
public static void arp(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+" ").getBytes()); out.write(("\n").getBytes());}
public static void arpnl(int[] o) throws IOException{for(int i=0;i<o.length;i++) out.write((o[i]+"\n").getBytes());}
public static void scanl(long[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextLong();}
public static void scani(int[] a,int n) {for(int i=0;i<n;i++) a[i]=sc.nextInt();}
public static void scan2D(int[][] a,int n,int m) {for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=sc.nextInt();}
//static variables
//
public static void main(String[] args) throws IOException{
long sttm=System.currentTimeMillis();
long mod=100000l;
int t=sc.nextInt();
nl(1-t);
out.flush();
}
}
class Pair{
int x; int y;
Pair(int x,int y){
this.x=x;
this.y=y;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
2,
17,
17,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
4,
18,
20,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
17,
23,
13,
13,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
2,
17,
17,
41,
13,
17,
41,
13,
42,
2,
0,
13,
4,
13,
40,
17,
30,
14,
2,
13,
17,
3,
0,
18,
13,
40,
13,
13,
29,
20,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
2,
13,
17,
30,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
0,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
17,
13,
14,
2,
13,
40,
17,
0,
18,
13,
17,
40,
17,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
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,
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,
0,
18,
18,
13,
13,
13,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
18,
13,
13,
13,
4,
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
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
10,
15
],
[
15,
16
],
[
15,
17
],
[
10,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
20,
22
],
[
10,
23
],
[
23,
24
],
[
10,
25
],
[
25,
26
],
[
10,
27
],
[
27,
28
],
[
10,
29
],
[
29,
30
],
[
10,
31
],
[
31,
32
],
[
31,
33
],
[
10,
34
],
[
34,
35
],
[
34,
36
],
[
10,
37
],
[
37,
38
],
[
37,
39
],
[
10,
41
],
[
41,
42
],
[
41,
43
],
[
10,
44
],
[
44,
45
],
[
44,
46
],
[
10,
47
],
[
47,
48
],
[
47,
49
],
[
10,
50
],
[
50,
51
],
[
10,
52
],
[
52,
53
],
[
10,
54
],
[
54,
55
],
[
10,
56
],
[
56,
57
],
[
56,
58
],
[
10,
59
],
[
59,
60
],
[
59,
61
],
[
10,
62
],
[
62,
63
],
[
62,
64
],
[
10,
65
],
[
65,
66
],
[
10,
67
],
[
67,
68
],
[
10,
69
],
[
69,
70
],
[
10,
71
],
[
71,
72
],
[
10,
73
],
[
73,
74
],
[
10,
75
],
[
75,
76
],
[
75,
77
],
[
10,
78
],
[
78,
79
],
[
10,
80
],
[
80,
81
],
[
10,
82
],
[
82,
83
],
[
10,
84
],
[
84,
85
],
[
10,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
88,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
88,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
86,
117
],
[
117,
118
],
[
10,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
119,
128
],
[
128,
129
],
[
10,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
130,
134
],
[
134,
135
],
[
130,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
142,
144
],
[
136,
145
],
[
145,
146
],
[
136,
147
],
[
147,
148
],
[
130,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
149,
154
],
[
154,
155
],
[
130,
156
],
[
10,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
161,
163
],
[
157,
164
],
[
164,
165
],
[
157,
166
],
[
166,
167
],
[
157,
168
],
[
168,
169
],
[
157,
170
],
[
170,
171
],
[
157,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
178,
180
],
[
174,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
184,
186
],
[
157,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
193,
194
],
[
193,
195
],
[
189,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
199,
201
],
[
187,
202
],
[
202,
203
],
[
157,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
210,
211
],
[
210,
212
],
[
206,
213
],
[
213,
214
],
[
213,
215
],
[
206,
216
],
[
216,
217
],
[
206,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
219,
224
],
[
224,
225
],
[
218,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
226,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
232,
237
],
[
206,
238
],
[
238,
239
],
[
157,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
242,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
250,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
242,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
260,
262
],
[
242,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
242,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
271,
276
],
[
270,
277
],
[
277,
278
],
[
277,
279
],
[
269,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
283,
289
],
[
242,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
242,
295
],
[
295,
296
],
[
157,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
299,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
299,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
299,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
317,
319
],
[
299,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
299,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
328,
333
],
[
327,
334
],
[
334,
335
],
[
334,
336
],
[
326,
337
],
[
337,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
345
],
[
340,
346
],
[
299,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
350,
351
],
[
299,
352
],
[
352,
353
],
[
157,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
357,
358
],
[
357,
359
],
[
356,
360
],
[
360,
361
],
[
360,
362
],
[
356,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
356,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
367,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
356,
375
],
[
375,
376
],
[
375,
377
],
[
377,
378
],
[
377,
379
],
[
356,
380
],
[
380,
381
],
[
380,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
356,
386
],
[
386,
387
],
[
387,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
391,
392
],
[
388,
393
],
[
387,
394
],
[
394,
395
],
[
394,
396
],
[
386,
397
],
[
397,
398
],
[
398,
399
],
[
398,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
401,
405
],
[
400,
406
],
[
356,
407
],
[
407,
408
],
[
408,
409
],
[
408,
410
],
[
407,
411
],
[
411,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
415,
416
],
[
415,
417
],
[
417,
418
],
[
414,
419
],
[
413,
420
],
[
420,
421
],
[
420,
422
],
[
412,
423
],
[
423,
424
],
[
424,
425
],
[
424,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
426,
430
],
[
430,
431
],
[
430,
432
],
[
356,
433
],
[
433,
434
],
[
433,
435
],
[
435,
436
],
[
436,
437
],
[
356,
438
],
[
438,
439
],
[
157,
440
],
[
440,
441
],
[
440,
442
],
[
442,
443
],
[
443,
444
],
[
443,
445
],
[
445,
446
],
[
446,
447
],
[
445,
448
],
[
445,
449
],
[
449,
450
],
[
449,
451
],
[
445,
452
],
[
442,
453
],
[
453,
454
],
[
454,
455
],
[
454,
456
],
[
456,
457
],
[
453,
458
],
[
458,
459
],
[
459,
460
],
[
459,
461
],
[
458,
462
],
[
462,
463
],
[
157,
464
],
[
464,
465
],
[
464,
466
],
[
466,
467
],
[
467,
468
],
[
468,
469
],
[
468,
470
],
[
467,
471
],
[
471,
472
],
[
466,
473
],
[
473,
474
],
[
474,
475
],
[
474,
476
],
[
476,
477
],
[
157,
478
],
[
478,
479
],
[
478,
480
],
[
480,
481
],
[
481,
482
],
[
482,
483
],
[
482,
484
],
[
481,
485
],
[
480,
486
],
[
486,
487
],
[
487,
488
],
[
157,
489
],
[
489,
490
],
[
489,
491
],
[
491,
492
],
[
492,
493
],
[
492,
494
],
[
491,
496
],
[
496,
497
],
[
497,
498
],
[
498,
499
],
[
498,
500
],
[
496,
501
],
[
501,
502
],
[
501,
503
],
[
496,
504
],
[
504,
505
],
[
505,
506
],
[
496,
507
],
[
508,
508
],
[
508,
509
],
[
509,
510
],
[
510,
511
],
[
510,
512
],
[
509,
513
],
[
513,
514
],
[
491,
515
],
[
515,
516
],
[
489,
517
],
[
517,
518
],
[
157,
519
],
[
519,
520
],
[
519,
521
],
[
521,
522
],
[
522,
523
],
[
522,
524
],
[
521,
526
],
[
526,
527
],
[
527,
528
],
[
528,
529
],
[
528,
530
],
[
526,
531
],
[
531,
532
],
[
531,
533
],
[
526,
534
],
[
534,
535
],
[
535,
536
],
[
526,
537
],
[
538,
538
],
[
538,
539
],
[
539,
540
],
[
540,
541
],
[
540,
542
],
[
539,
543
],
[
543,
544
],
[
521,
545
],
[
545,
546
],
[
519,
547
],
[
547,
548
],
[
157,
549
],
[
549,
550
],
[
549,
551
],
[
551,
552
],
[
552,
553
],
[
552,
554
],
[
551,
557
],
[
557,
558
],
[
558,
559
],
[
559,
560
],
[
559,
561
],
[
557,
562
],
[
562,
563
],
[
562,
564
],
[
557,
565
],
[
565,
566
],
[
566,
567
],
[
557,
568
],
[
569,
569
],
[
569,
570
],
[
570,
571
],
[
571,
572
],
[
572,
573
],
[
572,
574
],
[
570,
575
],
[
575,
576
],
[
575,
577
],
[
570,
578
],
[
578,
579
],
[
579,
580
],
[
570,
581
],
[
581,
582
],
[
582,
583
],
[
583,
584
],
[
584,
585
],
[
584,
586
],
[
583,
587
],
[
582,
588
],
[
588,
589
],
[
551,
590
],
[
590,
591
],
[
549,
592
],
[
592,
593
],
[
549,
594
],
[
594,
595
],
[
157,
596
],
[
596,
597
],
[
596,
598
],
[
598,
599
],
[
599,
600
],
[
599,
601
],
[
598,
604
],
[
604,
605
],
[
605,
606
],
[
606,
607
],
[
606,
608
],
[
604,
609
],
[
609,
610
],
[
609,
611
],
[
604,
612
],
[
612,
613
],
[
613,
614
],
[
604,
615
],
[
616,
616
],
[
616,
617
],
[
617,
618
],
[
618,
619
],
[
619,
620
],
[
619,
621
],
[
617,
622
],
[
622,
623
],
[
622,
624
],
[
617,
625
],
[
625,
626
],
[
626,
627
],
[
617,
628
],
[
628,
629
],
[
629,
630
],
[
630,
631
],
[
631,
632
],
[
631,
633
],
[
630,
634
],
[
629,
635
],
[
635,
636
],
[
598,
637
],
[
637,
638
],
[
596,
639
],
[
639,
640
],
[
596,
641
],
[
641,
642
]
]
| [
"\nimport java.io.*;\nimport java.math.BigInteger;\nimport java.util.*;\n\n class Main {\n\n\tstatic long sx = 0, sy = 0, mod = (long) (1e9 + 7);\n\n\tstatic ArrayList<Integer>[] a;\n\tstatic Double[][][] dp;\n\tstatic long[] fa;\n\tstatic long[] farr;\n\tpublic static PrintWriter out = new PrintWriter(System.out);\n\tstatic ArrayList<pair> pa = new ArrayList<>();\n\tstatic long[] fact = new long[(int) 1e6];\n\tstatic StringBuilder sb = new StringBuilder();\n\tstatic boolean cycle = false;\n\tstatic long m = 998244353;\n\tstatic long[] no, col;\n\tstatic String s;\n\tstatic long k = 0, n = 0, one = 0;\n\tstatic int cnt;\n\t// static long[] dp;\n\t// static long[] p;\n\tstatic long[] ans;\n\t// static Double[][] a = new Double[2][2];\n\t// static Double[][] b = new Double[2][2];\n\tstatic Double[] x;\n\tstatic Double[] y;\n\tstatic Double[] dis;\n\tstatic boolean b = true;\n\tstatic int[][] par;\n\tstatic int[] depth;\n\tstatic HashSet<Integer> hm;\n\tstatic ArrayList<Integer> p;\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// Scanner scn = new Scanner(new BufferedReader(new\n\t\t// InputStreamReader(System.in)));\n\n\t\tReader scn = new Reader();\n\n\t\tdouble x = scn.nextDouble();\n\t\t\n\t\tif(x == 0)\n\t\t\t System.out.println(1);\n\t\tif(x == 1)\n\t\t\t System.out.println(0);\n\t}\n\n\n\t// _________________________TEMPLATE_____________________________________________________________\n\n\t// public static long lcm(long x, long y) {\n\t//\n\t// return (x * y) / gcd(x, y);\n\t// }\n\t//\n\t// private static long gcd(long x, long y) {\n\t// if (x == 0)\n\t// return y;\n\t//\n\t// return gcd(y % x, x);\n\t// }\n\t//\n\t// static class comp implements Comparator<Integer> {\n\t//\n\t// @Override\n\t// public int compare(Integer p1, Integer p2) {\n\t//\n\t// return p2 - p1;\n\t//\n\t// }\n\t// }\n\t//\n\t// }\n\t//\n\t// public static long pow(long a, long b) {\n\t//\n\t// if (b < 0)\n\t// return 0;\n\t// if (b == 0 || b == 1)\n\t// return (long) Math.pow(a, b);\n\t//\n\t// if (b % 2 == 0) {\n\t//\n\t// long ret = pow(a, b / 2);\n\t// ret = (ret % mod * ret % mod) % mod;\n\t// return ret;\n\t// }\n\t//\n\t// else {\n\t// return ((pow(a, b - 1) % mod) * a % mod) % mod;\n\t// }\n\t// }\n\n\tprivate static class pair implements Comparable<pair> {\n\n\t\tint v;\n\t\tint d;\n\n\t\tpair(int a, int b) {\n\t\t\tv = a;\n\t\t\td = b;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn 1;\n\t\t}\n\n\t\t// @Override\n\t\t//\n\t\t// public int hashCode() {\n\t\t// return i;\n\t\t// }\n\t\t//\n\t\t// @Override\n\t\t//\n\t\t// public boolean equals(Object o) {\n\t\t//\n\t\t// pair p = (pair) o;\n\t\t// return this.i == p.i;\n\t\t// }\n\n\t}\n\n\tprivate static String reverse(String s) {\n\n\t\treturn new StringBuilder(s).reverse().toString();\n\t}\n\n\tpublic static class Reader {\n\t\tfinal private int BUFFER_SIZE = 1 << 16;\n\t\tprivate DataInputStream din;\n\t\tprivate byte[] buffer;\n\t\tprivate int bufferPointer, bytesRead;\n\n\t\tpublic Reader() {\n\t\t\tdin = new DataInputStream(System.in);\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\n\t\tpublic Reader(String file_name) throws IOException {\n\t\t\tdin = new DataInputStream(new FileInputStream(file_name));\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\n\t\tpublic String readLine() throws IOException {\n\t\t\tbyte[] buf = new byte[1000000 + 1]; // line length\n\t\t\tint cnt = 0, c;\n\t\t\twhile ((c = read()) != -1) {\n\t\t\t\tif (c == '\\n')\n\t\t\t\t\tbreak;\n\t\t\t\tbuf[cnt++] = (byte) c;\n\t\t\t}\n\t\t\treturn new String(buf, 0, cnt);\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\tint ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\tlong ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\tdouble ret = 0, div = 1;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (c == '.') {\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') {\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\n\t\tprivate void fillBuffer() throws IOException {\n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n\t\t\tif (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;\n\t\t}\n\n\t\tprivate byte read() throws IOException {\n\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\tfillBuffer();\n\t\t\treturn buffer[bufferPointer++];\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\tif (din == null)\n\t\t\t\treturn;\n\t\t\tdin.close();\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) throws IOException {\n\t\t\tint[] arr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tarr[i] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) throws IOException {\n\t\t\tlong[] arr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tarr[i] = nextLong();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\n\t\tpublic int[][] nextInt2DArray(int m, int n) throws IOException {\n\t\t\tint[][] arr = new int[m][n];\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\n\t\tpublic long[][] nextInt2DArrayL(int m, int n) throws IOException {\n\t\t\tlong[][] arr = new long[m][n];\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\t// kickstart - Solution\n\t\t// atcoder - Main\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n\tstatic long sx = 0, sy = 0, mod = (long) (1e9 + 7);\n\n\tstatic ArrayList<Integer>[] a;\n\tstatic Double[][][] dp;\n\tstatic long[] fa;\n\tstatic long[] farr;\n\tpublic static PrintWriter out = new PrintWriter(System.out);\n\tstatic ArrayList<pair> pa = new ArrayList<>();\n\tstatic long[] fact = new long[(int) 1e6];\n\tstatic StringBuilder sb = new StringBuilder();\n\tstatic boolean cycle = false;\n\tstatic long m = 998244353;\n\tstatic long[] no, col;\n\tstatic String s;\n\tstatic long k = 0, n = 0, one = 0;\n\tstatic int cnt;\n\t// static long[] dp;\n\t// static long[] p;\n\tstatic long[] ans;\n\t// static Double[][] a = new Double[2][2];\n\t// static Double[][] b = new Double[2][2];\n\tstatic Double[] x;\n\tstatic Double[] y;\n\tstatic Double[] dis;\n\tstatic boolean b = true;\n\tstatic int[][] par;\n\tstatic int[] depth;\n\tstatic HashSet<Integer> hm;\n\tstatic ArrayList<Integer> p;\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t// Scanner scn = new Scanner(new BufferedReader(new\n\t\t// InputStreamReader(System.in)));\n\n\t\tReader scn = new Reader();\n\n\t\tdouble x = scn.nextDouble();\n\t\t\n\t\tif(x == 0)\n\t\t\t System.out.println(1);\n\t\tif(x == 1)\n\t\t\t System.out.println(0);\n\t}\n\n\n\t// _________________________TEMPLATE_____________________________________________________________\n\n\t// public static long lcm(long x, long y) {\n\t//\n\t// return (x * y) / gcd(x, y);\n\t// }\n\t//\n\t// private static long gcd(long x, long y) {\n\t// if (x == 0)\n\t// return y;\n\t//\n\t// return gcd(y % x, x);\n\t// }\n\t//\n\t// static class comp implements Comparator<Integer> {\n\t//\n\t// @Override\n\t// public int compare(Integer p1, Integer p2) {\n\t//\n\t// return p2 - p1;\n\t//\n\t// }\n\t// }\n\t//\n\t// }\n\t//\n\t// public static long pow(long a, long b) {\n\t//\n\t// if (b < 0)\n\t// return 0;\n\t// if (b == 0 || b == 1)\n\t// return (long) Math.pow(a, b);\n\t//\n\t// if (b % 2 == 0) {\n\t//\n\t// long ret = pow(a, b / 2);\n\t// ret = (ret % mod * ret % mod) % mod;\n\t// return ret;\n\t// }\n\t//\n\t// else {\n\t// return ((pow(a, b - 1) % mod) * a % mod) % mod;\n\t// }\n\t// }\n\n\tprivate static class pair implements Comparable<pair> {\n\n\t\tint v;\n\t\tint d;\n\n\t\tpair(int a, int b) {\n\t\t\tv = a;\n\t\t\td = b;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn 1;\n\t\t}\n\n\t\t// @Override\n\t\t//\n\t\t// public int hashCode() {\n\t\t// return i;\n\t\t// }\n\t\t//\n\t\t// @Override\n\t\t//\n\t\t// public boolean equals(Object o) {\n\t\t//\n\t\t// pair p = (pair) o;\n\t\t// return this.i == p.i;\n\t\t// }\n\n\t}\n\n\tprivate static String reverse(String s) {\n\n\t\treturn new StringBuilder(s).reverse().toString();\n\t}\n\n\tpublic static class Reader {\n\t\tfinal private int BUFFER_SIZE = 1 << 16;\n\t\tprivate DataInputStream din;\n\t\tprivate byte[] buffer;\n\t\tprivate int bufferPointer, bytesRead;\n\n\t\tpublic Reader() {\n\t\t\tdin = new DataInputStream(System.in);\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\n\t\tpublic Reader(String file_name) throws IOException {\n\t\t\tdin = new DataInputStream(new FileInputStream(file_name));\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\n\t\tpublic String readLine() throws IOException {\n\t\t\tbyte[] buf = new byte[1000000 + 1]; // line length\n\t\t\tint cnt = 0, c;\n\t\t\twhile ((c = read()) != -1) {\n\t\t\t\tif (c == '\\n')\n\t\t\t\t\tbreak;\n\t\t\t\tbuf[cnt++] = (byte) c;\n\t\t\t}\n\t\t\treturn new String(buf, 0, cnt);\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\tint ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\tlong ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\tdouble ret = 0, div = 1;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (c == '.') {\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') {\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\n\t\tprivate void fillBuffer() throws IOException {\n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n\t\t\tif (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;\n\t\t}\n\n\t\tprivate byte read() throws IOException {\n\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\tfillBuffer();\n\t\t\treturn buffer[bufferPointer++];\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\tif (din == null)\n\t\t\t\treturn;\n\t\t\tdin.close();\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) throws IOException {\n\t\t\tint[] arr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tarr[i] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) throws IOException {\n\t\t\tlong[] arr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tarr[i] = nextLong();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\n\t\tpublic int[][] nextInt2DArray(int m, int n) throws IOException {\n\t\t\tint[][] arr = new int[m][n];\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\n\t\tpublic long[][] nextInt2DArrayL(int m, int n) throws IOException {\n\t\t\tlong[][] arr = new long[m][n];\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\t// kickstart - Solution\n\t\t// atcoder - Main\n\t}\n\n}",
"Main",
"static long sx = 0",
"sx",
"0",
"sy = 0",
"sy",
"0",
"mod = (long) (1e9 + 7);",
"mod",
"(long) (1e9 + 7)",
"1e9",
"7",
"static ArrayList<Integer>[] a;",
"a",
"static Double[][][] dp;",
"dp",
"static long[] fa;",
"fa",
"static long[] farr;",
"farr",
"public static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static ArrayList<pair> pa = new ArrayList<>();",
"pa",
"new ArrayList<>()",
"static long[] fact = new long[(int) 1e6];",
"fact",
"new long[(int) 1e6]",
"(int) 1e6",
"static StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"static boolean cycle = false;",
"cycle",
"false",
"static long m = 998244353;",
"m",
"998244353",
"static long[] no",
"no",
"col;",
"col",
"static String s;",
"s",
"static long k = 0",
"k",
"0",
"n = 0",
"n",
"0",
"one = 0;",
"one",
"0",
"static int cnt;",
"cnt",
"// static long[] dp;\n\t// static long[] p;\n\tstatic long[] ans;",
"ans",
"// static Double[][] a = new Double[2][2];\n\t// static Double[][] b = new Double[2][2];\n\tstatic Double[] x;",
"x",
"static Double[] y;",
"y",
"static Double[] dis;",
"dis",
"static boolean b = true;",
"b",
"true",
"static int[][] par;",
"par",
"static int[] depth;",
"depth",
"static HashSet<Integer> hm;",
"hm",
"static ArrayList<Integer> p;",
"p",
"public static void main(String[] args) throws IOException {\n\n\t\t// Scanner scn = new Scanner(new BufferedReader(new\n\t\t// InputStreamReader(System.in)));\n\n\t\tReader scn = new Reader();\n\n\t\tdouble x = scn.nextDouble();\n\t\t\n\t\tif(x == 0)\n\t\t\t System.out.println(1);\n\t\tif(x == 1)\n\t\t\t System.out.println(0);\n\t}",
"main",
"{\n\n\t\t// Scanner scn = new Scanner(new BufferedReader(new\n\t\t// InputStreamReader(System.in)));\n\n\t\tReader scn = new Reader();\n\n\t\tdouble x = scn.nextDouble();\n\t\t\n\t\tif(x == 0)\n\t\t\t System.out.println(1);\n\t\tif(x == 1)\n\t\t\t System.out.println(0);\n\t}",
"Reader scn = new Reader();",
"scn",
"new Reader()",
"double x = scn.nextDouble();",
"x",
"scn.nextDouble()",
"scn.nextDouble",
"scn",
"if(x == 0)\n\t\t\t System.out.println(1);",
"x == 0",
"x",
"0",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"if(x == 1)\n\t\t\t System.out.println(0);",
"x == 1",
"x",
"1",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"private static String reverse(String s) {\n\n\t\treturn new StringBuilder(s).reverse().toString();\n\t}",
"reverse",
"{\n\n\t\treturn new StringBuilder(s).reverse().toString();\n\t}",
"return new StringBuilder(s).reverse().toString();",
"new StringBuilder(s).reverse().toString()",
"new StringBuilder(s).reverse().toString",
"new StringBuilder(s).reverse()",
"new StringBuilder(s).reverse",
"new StringBuilder(s)",
"String s",
"s",
"private static class pair implements Comparable<pair> {\n\n\t\tint v;\n\t\tint d;\n\n\t\tpair(int a, int b) {\n\t\t\tv = a;\n\t\t\td = b;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn 1;\n\t\t}\n\n\t\t// @Override\n\t\t//\n\t\t// public int hashCode() {\n\t\t// return i;\n\t\t// }\n\t\t//\n\t\t// @Override\n\t\t//\n\t\t// public boolean equals(Object o) {\n\t\t//\n\t\t// pair p = (pair) o;\n\t\t// return this.i == p.i;\n\t\t// }\n\n\t}",
"pair",
"int v;",
"v",
"int d;",
"d",
"pair(int a, int b) {\n\t\t\tv = a;\n\t\t\td = b;\n\t\t}",
"pair",
"{\n\t\t\tv = a;\n\t\t\td = b;\n\t\t}",
"v = a",
"v",
"a",
"d = b",
"d",
"b",
"int a",
"a",
"int b",
"b",
"@Override\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn 1;\n\t\t}",
"compareTo",
"{\n\t\t\treturn 1;\n\t\t}",
"return 1;",
"1",
"pair o",
"o",
"Comparable",
"public static class Reader {\n\t\tfinal private int BUFFER_SIZE = 1 << 16;\n\t\tprivate DataInputStream din;\n\t\tprivate byte[] buffer;\n\t\tprivate int bufferPointer, bytesRead;\n\n\t\tpublic Reader() {\n\t\t\tdin = new DataInputStream(System.in);\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\n\t\tpublic Reader(String file_name) throws IOException {\n\t\t\tdin = new DataInputStream(new FileInputStream(file_name));\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}\n\n\t\tpublic String readLine() throws IOException {\n\t\t\tbyte[] buf = new byte[1000000 + 1]; // line length\n\t\t\tint cnt = 0, c;\n\t\t\twhile ((c = read()) != -1) {\n\t\t\t\tif (c == '\\n')\n\t\t\t\t\tbreak;\n\t\t\t\tbuf[cnt++] = (byte) c;\n\t\t\t}\n\t\t\treturn new String(buf, 0, cnt);\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\tint ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\tlong ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\tdouble ret = 0, div = 1;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (c == '.') {\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') {\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}\n\n\t\tprivate void fillBuffer() throws IOException {\n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n\t\t\tif (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;\n\t\t}\n\n\t\tprivate byte read() throws IOException {\n\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\tfillBuffer();\n\t\t\treturn buffer[bufferPointer++];\n\t\t}\n\n\t\tpublic void close() throws IOException {\n\t\t\tif (din == null)\n\t\t\t\treturn;\n\t\t\tdin.close();\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) throws IOException {\n\t\t\tint[] arr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tarr[i] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) throws IOException {\n\t\t\tlong[] arr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tarr[i] = nextLong();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\n\t\tpublic int[][] nextInt2DArray(int m, int n) throws IOException {\n\t\t\tint[][] arr = new int[m][n];\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\n\t\tpublic long[][] nextInt2DArrayL(int m, int n) throws IOException {\n\t\t\tlong[][] arr = new long[m][n];\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\t// kickstart - Solution\n\t\t// atcoder - Main\n\t}",
"Reader",
"final private int BUFFER_SIZE = 1 << 16;",
"BUFFER_SIZE",
"1 << 16",
"1",
"16",
"private DataInputStream din;",
"din",
"private byte[] buffer;",
"buffer",
"private int bufferPointer",
"bufferPointer",
"bytesRead;",
"bytesRead",
"public Reader() {\n\t\t\tdin = new DataInputStream(System.in);\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}",
"Reader",
"{\n\t\t\tdin = new DataInputStream(System.in);\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}",
"din = new DataInputStream(System.in)",
"din",
"new DataInputStream(System.in)",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"public Reader(String file_name) throws IOException {\n\t\t\tdin = new DataInputStream(new FileInputStream(file_name));\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}",
"Reader",
"{\n\t\t\tdin = new DataInputStream(new FileInputStream(file_name));\n\t\t\tbuffer = new byte[BUFFER_SIZE];\n\t\t\tbufferPointer = bytesRead = 0;\n\t\t}",
"din = new DataInputStream(new FileInputStream(file_name))",
"din",
"new DataInputStream(new FileInputStream(file_name))",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"String file_name",
"file_name",
"public String readLine() throws IOException {\n\t\t\tbyte[] buf = new byte[1000000 + 1]; // line length\n\t\t\tint cnt = 0, c;\n\t\t\twhile ((c = read()) != -1) {\n\t\t\t\tif (c == '\\n')\n\t\t\t\t\tbreak;\n\t\t\t\tbuf[cnt++] = (byte) c;\n\t\t\t}\n\t\t\treturn new String(buf, 0, cnt);\n\t\t}",
"readLine",
"{\n\t\t\tbyte[] buf = new byte[1000000 + 1]; // line length\n\t\t\tint cnt = 0, c;\n\t\t\twhile ((c = read()) != -1) {\n\t\t\t\tif (c == '\\n')\n\t\t\t\t\tbreak;\n\t\t\t\tbuf[cnt++] = (byte) c;\n\t\t\t}\n\t\t\treturn new String(buf, 0, cnt);\n\t\t}",
"byte[] buf = new byte[1000000 + 1];",
"buf",
"new byte[1000000 + 1]",
"1000000 + 1",
"1000000",
"1",
"int cnt = 0",
"cnt",
"0",
"c;",
"c",
"while ((c = read()) != -1) {\n\t\t\t\tif (c == '\\n')\n\t\t\t\t\tbreak;\n\t\t\t\tbuf[cnt++] = (byte) c;\n\t\t\t}",
"(c = read()) != -1",
"(c = read())",
"c",
"read()",
"read",
"-1",
"1",
"{\n\t\t\t\tif (c == '\\n')\n\t\t\t\t\tbreak;\n\t\t\t\tbuf[cnt++] = (byte) c;\n\t\t\t}",
"if (c == '\\n')\n\t\t\t\t\tbreak;",
"c == '\\n'",
"c",
"'\\n'",
"break;",
"buf[cnt++] = (byte) c",
"buf[cnt++]",
"buf",
"cnt++",
"cnt",
"(byte) c",
"return new String(buf, 0, cnt);",
"new String(buf, 0, cnt)",
"public int nextInt() throws IOException {\n\t\t\tint ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}",
"nextInt",
"{\n\t\t\tint ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}",
"int ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n\t\t\t\tc = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n\t\t\t\tc = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t}",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg)\n\t\t\t\treturn -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public long nextLong() throws IOException {\n\t\t\tlong ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}",
"nextLong",
"{\n\t\t\tlong ret = 0;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}",
"long ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n\t\t\t\tc = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n\t\t\t\tc = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t}",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg)\n\t\t\t\treturn -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public double nextDouble() throws IOException {\n\t\t\tdouble ret = 0, div = 1;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (c == '.') {\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') {\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}",
"nextDouble",
"{\n\t\t\tdouble ret = 0, div = 1;\n\t\t\tbyte c = read();\n\t\t\twhile (c <= ' ')\n\t\t\t\tc = read();\n\t\t\tboolean neg = (c == '-');\n\t\t\tif (neg)\n\t\t\t\tc = read();\n\n\t\t\tdo {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');\n\n\t\t\tif (c == '.') {\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') {\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (neg)\n\t\t\t\treturn -ret;\n\t\t\treturn ret;\n\t\t}",
"double ret = 0",
"ret",
"0",
"div = 1;",
"div",
"1",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n\t\t\t\tc = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n\t\t\t\tc = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do {\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t} while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n\t\t\t\tret = ret * 10 + c - '0';\n\t\t\t}",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (c == '.') {\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') {\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\t\t}\n\t\t\t}",
"c == '.'",
"c",
"'.'",
"{\n\t\t\t\twhile ((c = read()) >= '0' && c <= '9') {\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\t\t}\n\t\t\t}",
"while ((c = read()) >= '0' && c <= '9') {\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\t\t}",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n\t\t\t\t\tret += (c - '0') / (div *= 10);\n\t\t\t\t}",
"ret += (c - '0') / (div *= 10)",
"ret",
"(c - '0') / (div *= 10)",
"(c - '0')",
"c",
"'0'",
"(div *= 10)",
"div",
"10",
"if (neg)\n\t\t\t\treturn -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"private void fillBuffer() throws IOException {\n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n\t\t\tif (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;\n\t\t}",
"fillBuffer",
"{\n\t\t\tbytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n\t\t\tif (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;\n\t\t}",
"bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"bytesRead",
"din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"din.read",
"din",
"buffer",
"bufferPointer = 0",
"bufferPointer",
"0",
"BUFFER_SIZE",
"if (bytesRead == -1)\n\t\t\t\tbuffer[0] = -1;",
"bytesRead == -1",
"bytesRead",
"-1",
"1",
"buffer[0] = -1",
"buffer[0]",
"buffer",
"0",
"-1",
"1",
"private byte read() throws IOException {\n\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\tfillBuffer();\n\t\t\treturn buffer[bufferPointer++];\n\t\t}",
"read",
"{\n\t\t\tif (bufferPointer == bytesRead)\n\t\t\t\tfillBuffer();\n\t\t\treturn buffer[bufferPointer++];\n\t\t}",
"if (bufferPointer == bytesRead)\n\t\t\t\tfillBuffer();",
"bufferPointer == bytesRead",
"bufferPointer",
"bytesRead",
"fillBuffer()",
"fillBuffer",
"return buffer[bufferPointer++];",
"buffer[bufferPointer++]",
"buffer",
"bufferPointer++",
"bufferPointer",
"public void close() throws IOException {\n\t\t\tif (din == null)\n\t\t\t\treturn;\n\t\t\tdin.close();\n\t\t}",
"close",
"{\n\t\t\tif (din == null)\n\t\t\t\treturn;\n\t\t\tdin.close();\n\t\t}",
"if (din == null)\n\t\t\t\treturn;",
"din == null",
"din",
"null",
"return;",
"din.close()",
"din.close",
"din",
"public int[] nextIntArray(int n) throws IOException {\n\t\t\tint[] arr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tarr[i] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"nextIntArray",
"{\n\t\t\tint[] arr = new int[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tarr[i] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"int[] arr = new int[n];",
"arr",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\t\tarr[i] = nextInt();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tarr[i] = nextInt();\n\t\t\t}",
"{\n\t\t\t\tarr[i] = nextInt();\n\t\t\t}",
"arr[i] = nextInt()",
"arr[i]",
"arr",
"i",
"nextInt()",
"nextInt",
"return arr;",
"arr",
"int n",
"n",
"public long[] nextLongArray(int n) throws IOException {\n\t\t\tlong[] arr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tarr[i] = nextLong();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"nextLongArray",
"{\n\t\t\tlong[] arr = new long[n];\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tarr[i] = nextLong();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"long[] arr = new long[n];",
"arr",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n\t\t\t\tarr[i] = nextLong();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tarr[i] = nextLong();\n\t\t\t}",
"{\n\t\t\t\tarr[i] = nextLong();\n\t\t\t}",
"arr[i] = nextLong()",
"arr[i]",
"arr",
"i",
"nextLong()",
"nextLong",
"return arr;",
"arr",
"int n",
"n",
"public int[][] nextInt2DArray(int m, int n) throws IOException {\n\t\t\tint[][] arr = new int[m][n];\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"nextInt2DArray",
"{\n\t\t\tint[][] arr = new int[m][n];\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"int[][] arr = new int[m][n];",
"arr",
"new int[m][n]",
"m",
"n",
"for (int i = 0; i < m; i++) {\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < m",
"i",
"m",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}",
"for (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < n",
"j",
"n",
"j++",
"j++",
"j",
"arr[i][j] = nextInt();",
"arr[i][j] = nextInt()",
"arr[i][j]",
"arr[i]",
"arr",
"i",
"j",
"nextInt()",
"nextInt",
"return arr;",
"arr",
"int m",
"m",
"int n",
"n",
"public long[][] nextInt2DArrayL(int m, int n) throws IOException {\n\t\t\tlong[][] arr = new long[m][n];\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"nextInt2DArrayL",
"{\n\t\t\tlong[][] arr = new long[m][n];\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"long[][] arr = new long[m][n];",
"arr",
"new long[m][n]",
"m",
"n",
"for (int i = 0; i < m; i++) {\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < m",
"i",
"m",
"i++",
"i++",
"i",
"{\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}",
"{\n\t\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();\n\t\t\t}",
"for (int j = 0; j < n; j++)\n\t\t\t\t\tarr[i][j] = nextInt();",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < n",
"j",
"n",
"j++",
"j++",
"j",
"arr[i][j] = nextInt();",
"arr[i][j] = nextInt()",
"arr[i][j]",
"arr[i]",
"arr",
"i",
"j",
"nextInt()",
"nextInt",
"return arr;",
"arr",
"int m",
"m",
"int n",
"n"
]
|
import java.io.*;
import java.math.BigInteger;
import java.util.*;
class Main {
static long sx = 0, sy = 0, mod = (long) (1e9 + 7);
static ArrayList<Integer>[] a;
static Double[][][] dp;
static long[] fa;
static long[] farr;
public static PrintWriter out = new PrintWriter(System.out);
static ArrayList<pair> pa = new ArrayList<>();
static long[] fact = new long[(int) 1e6];
static StringBuilder sb = new StringBuilder();
static boolean cycle = false;
static long m = 998244353;
static long[] no, col;
static String s;
static long k = 0, n = 0, one = 0;
static int cnt;
// static long[] dp;
// static long[] p;
static long[] ans;
// static Double[][] a = new Double[2][2];
// static Double[][] b = new Double[2][2];
static Double[] x;
static Double[] y;
static Double[] dis;
static boolean b = true;
static int[][] par;
static int[] depth;
static HashSet<Integer> hm;
static ArrayList<Integer> p;
public static void main(String[] args) throws IOException {
// Scanner scn = new Scanner(new BufferedReader(new
// InputStreamReader(System.in)));
Reader scn = new Reader();
double x = scn.nextDouble();
if(x == 0)
System.out.println(1);
if(x == 1)
System.out.println(0);
}
// _________________________TEMPLATE_____________________________________________________________
// public static long lcm(long x, long y) {
//
// return (x * y) / gcd(x, y);
// }
//
// private static long gcd(long x, long y) {
// if (x == 0)
// return y;
//
// return gcd(y % x, x);
// }
//
// static class comp implements Comparator<Integer> {
//
// @Override
// public int compare(Integer p1, Integer p2) {
//
// return p2 - p1;
//
// }
// }
//
// }
//
// public static long pow(long a, long b) {
//
// if (b < 0)
// return 0;
// if (b == 0 || b == 1)
// return (long) Math.pow(a, b);
//
// if (b % 2 == 0) {
//
// long ret = pow(a, b / 2);
// ret = (ret % mod * ret % mod) % mod;
// return ret;
// }
//
// else {
// return ((pow(a, b - 1) % mod) * a % mod) % mod;
// }
// }
private static class pair implements Comparable<pair> {
int v;
int d;
pair(int a, int b) {
v = a;
d = b;
}
@Override
public int compareTo(pair o) {
return 1;
}
// @Override
//
// public int hashCode() {
// return i;
// }
//
// @Override
//
// public boolean equals(Object o) {
//
// pair p = (pair) o;
// return this.i == p.i;
// }
}
private static String reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
public static class Reader {
final private int BUFFER_SIZE = 1 << 16;
private DataInputStream din;
private byte[] buffer;
private int bufferPointer, bytesRead;
public Reader() {
din = new DataInputStream(System.in);
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public Reader(String file_name) throws IOException {
din = new DataInputStream(new FileInputStream(file_name));
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public String readLine() throws IOException {
byte[] buf = new byte[1000000 + 1]; // line length
int cnt = 0, c;
while ((c = read()) != -1) {
if (c == '\n')
break;
buf[cnt++] = (byte) c;
}
return new String(buf, 0, cnt);
}
public int nextInt() throws IOException {
int ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public long nextLong() throws IOException {
long ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public double nextDouble() throws IOException {
double ret = 0, div = 1;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (c == '.') {
while ((c = read()) >= '0' && c <= '9') {
ret += (c - '0') / (div *= 10);
}
}
if (neg)
return -ret;
return ret;
}
private void fillBuffer() throws IOException {
bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);
if (bytesRead == -1)
buffer[0] = -1;
}
private byte read() throws IOException {
if (bufferPointer == bytesRead)
fillBuffer();
return buffer[bufferPointer++];
}
public void close() throws IOException {
if (din == null)
return;
din.close();
}
public int[] nextIntArray(int n) throws IOException {
int[] arr = new int[n];
for (int i = 0; i < n; i++) {
arr[i] = nextInt();
}
return arr;
}
public long[] nextLongArray(int n) throws IOException {
long[] arr = new long[n];
for (int i = 0; i < n; i++) {
arr[i] = nextLong();
}
return arr;
}
public int[][] nextInt2DArray(int m, int n) throws IOException {
int[][] arr = new int[m][n];
for (int i = 0; i < m; i++) {
for (int j = 0; j < n; j++)
arr[i][j] = nextInt();
}
return arr;
}
public long[][] nextInt2DArrayL(int m, int n) throws IOException {
long[][] arr = new long[m][n];
for (int i = 0; i < m; i++) {
for (int j = 0; j < n; j++)
arr[i][j] = nextInt();
}
return arr;
}
// kickstart - Solution
// atcoder - Main
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
9,
33
],
[
33,
34
]
]
| [
"import java.util.*;\nclass Main{\n static Scanner sr = new Scanner(System.in);\n\n public static void main(String[] args) throws java.lang.Exception {\n int T = sr.nextInt();\n if(T==1)\n System.out.println(0);\n else\n System.out.println(1);\n\n\n }\n }\n\n",
"import java.util.*;",
"util.*",
"java",
"class Main{\n static Scanner sr = new Scanner(System.in);\n\n public static void main(String[] args) throws java.lang.Exception {\n int T = sr.nextInt();\n if(T==1)\n System.out.println(0);\n else\n System.out.println(1);\n\n\n }\n }",
"Main",
"static Scanner sr = new Scanner(System.in);",
"sr",
"new Scanner(System.in)",
"public static void main(String[] args) throws java.lang.Exception {\n int T = sr.nextInt();\n if(T==1)\n System.out.println(0);\n else\n System.out.println(1);\n\n\n }",
"main",
"{\n int T = sr.nextInt();\n if(T==1)\n System.out.println(0);\n else\n System.out.println(1);\n\n\n }",
"int T = sr.nextInt();",
"T",
"sr.nextInt()",
"sr.nextInt",
"sr",
"if(T==1)\n System.out.println(0);\n else\n System.out.println(1);",
"T==1",
"T",
"1",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"String[] args",
"args"
]
| import java.util.*;
class Main{
static Scanner sr = new Scanner(System.in);
public static void main(String[] args) throws java.lang.Exception {
int T = sr.nextInt();
if(T==1)
System.out.println(0);
else
System.out.println(1);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
17,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
31,
5
],
[
31,
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
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
22,
27
],
[
6,
28
],
[
28,
29
],
[
0,
30
],
[
30,
31
],
[
30,
32
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final int x = sc.nextInt();\n \n System.out.println(x == 0 ? 1 : 0);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final int x = sc.nextInt();\n \n System.out.println(x == 0 ? 1 : 0);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final int x = sc.nextInt();\n \n System.out.println(x == 0 ? 1 : 0);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n final int x = sc.nextInt();\n \n System.out.println(x == 0 ? 1 : 0);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(x == 0 ? 1 : 0)",
"System.out.println",
"System.out",
"System",
"System.out",
"x == 0 ? 1 : 0",
"x == 0",
"x",
"0",
"1",
"0",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final int x = sc.nextInt();\n \n System.out.println(x == 0 ? 1 : 0);\n }\n}",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final int x = sc.nextInt();\n \n System.out.println(x == 0 ? 1 : 0);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
final int x = sc.nextInt();
System.out.println(x == 0 ? 1 : 0);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
12,
13,
30,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
39,
8
],
[
39,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
39,
14
],
[
14,
15
],
[
14,
16
],
[
39,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
20,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
17,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
]
| [
"import java.io.PrintStream;\nimport java.util.Scanner;\n\npublic class Main {\n\tstatic PrintStream o = System.out;\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tif (sc.nextInt() == 0) {\n\t\t\to.println(1);\n\t\t} else {\n\t\t\to.println(0);\n\t\t}\n\t}\n}",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tstatic PrintStream o = System.out;\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tif (sc.nextInt() == 0) {\n\t\t\to.println(1);\n\t\t} else {\n\t\t\to.println(0);\n\t\t}\n\t}\n}",
"Main",
"static PrintStream o = System.out;",
"o",
"System.out",
"System",
"System.out",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\t\tif (sc.nextInt() == 0) {\n\t\t\to.println(1);\n\t\t} else {\n\t\t\to.println(0);\n\t\t}\n\t}",
"main",
"{\n\t\tif (sc.nextInt() == 0) {\n\t\t\to.println(1);\n\t\t} else {\n\t\t\to.println(0);\n\t\t}\n\t}",
"if (sc.nextInt() == 0) {\n\t\t\to.println(1);\n\t\t} else {\n\t\t\to.println(0);\n\t\t}",
"sc.nextInt() == 0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n\t\t\to.println(1);\n\t\t}",
"o.println(1)",
"o.println",
"o",
"1",
"{\n\t\t\to.println(0);\n\t\t}",
"o.println(0)",
"o.println",
"o",
"0",
"String[] args",
"args",
"public class Main {\n\tstatic PrintStream o = System.out;\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tif (sc.nextInt() == 0) {\n\t\t\to.println(1);\n\t\t} else {\n\t\t\to.println(0);\n\t\t}\n\t}\n}",
"public class Main {\n\tstatic PrintStream o = System.out;\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tif (sc.nextInt() == 0) {\n\t\t\to.println(1);\n\t\t} else {\n\t\t\to.println(0);\n\t\t}\n\t}\n}",
"Main"
]
| import java.io.PrintStream;
import java.util.Scanner;
public class Main {
static PrintStream o = System.out;
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
if (sc.nextInt() == 0) {
o.println(1);
} else {
o.println(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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
],
[
9,
10
],
[
7,
11
],
[
11,
12
],
[
7,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
7,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
22,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
21,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
7,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
7,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
7,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
7,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
80,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
76,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
99,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
108,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
0,
124
],
[
138,
125
],
[
138,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
126,
135
],
[
135,
136
],
[
0,
137
],
[
137,
138
],
[
137,
139
]
]
| [
"import java.io.*;\nimport java.util.*;\n\nclass FastReader \n{ \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new 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\nclass Solution\n{\n void solve()\n {\n FastReader sc = new FastReader();\n\n int x = sc.nextInt();\n\n if(x == 0)\n System.out.println(1);\n else\n System.out.println(0);\n \n }\n}\n \npublic class Main\n{ \n public static void main(String[] args) \n { \n Solution ob = new Solution();\n\n ob.solve();\n } \n} ",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class FastReader \n{ \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new 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 InputStreamReader(System.in)); \n }",
"FastReader",
"{ \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() \n { \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",
"class Solution\n{\n void solve()\n {\n FastReader sc = new FastReader();\n\n int x = sc.nextInt();\n\n if(x == 0)\n System.out.println(1);\n else\n System.out.println(0);\n \n }\n}",
"Solution",
"void solve()\n {\n FastReader sc = new FastReader();\n\n int x = sc.nextInt();\n\n if(x == 0)\n System.out.println(1);\n else\n System.out.println(0);\n \n }",
"solve",
"{\n FastReader sc = new FastReader();\n\n int x = sc.nextInt();\n\n if(x == 0)\n System.out.println(1);\n else\n System.out.println(0);\n \n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0)\n System.out.println(1);\n else\n System.out.println(0);",
"x == 0",
"x",
"0",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"public class Main\n{ \n public static void main(String[] args) \n { \n Solution ob = new Solution();\n\n ob.solve();\n } \n}",
"Main",
"public static void main(String[] args) \n { \n Solution ob = new Solution();\n\n ob.solve();\n }",
"main",
"{ \n Solution ob = new Solution();\n\n ob.solve();\n }",
"Solution ob = new Solution();",
"ob",
"new Solution()",
"ob.solve()",
"ob.solve",
"ob",
"String[] args",
"args",
"public class Main\n{ \n public static void main(String[] args) \n { \n Solution ob = new Solution();\n\n ob.solve();\n } \n}",
"public class Main\n{ \n public static void main(String[] args) \n { \n Solution ob = new Solution();\n\n ob.solve();\n } \n}",
"Main"
]
| import java.io.*;
import java.util.*;
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;
}
}
class Solution
{
void solve()
{
FastReader sc = new FastReader();
int x = sc.nextInt();
if(x == 0)
System.out.println(1);
else
System.out.println(0);
}
}
public class Main
{
public static void main(String[] args)
{
Solution ob = new Solution();
ob.solve();
}
} |
[
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,
2,
17,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
123,
8
],
[
123,
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
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
9,
32
],
[
32,
33
],
[
123,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
34,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
34,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
49,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
59,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
48,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
34,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
34,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
90,
91
],
[
34,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
34,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
107,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
103,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n int x = sc.nextInt();\n out.println(1 - x);\n out.close();\n }\n\n\n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n int x = sc.nextInt();\n out.println(1 - x);\n out.close();\n }\n\n\n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n int x = sc.nextInt();\n out.println(1 - x);\n out.close();\n }",
"main",
"{\n MyScanner sc = new MyScanner();\n PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n int x = sc.nextInt();\n out.println(1 - x);\n out.close();\n }",
"MyScanner sc = new MyScanner();",
"sc",
"new MyScanner()",
"PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));",
"out",
"new PrintWriter(new BufferedOutputStream(System.out))",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"out.println(1 - x)",
"out.println",
"out",
"1 - x",
"1",
"x",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n\n }",
"MyScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"MyScanner",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n int x = sc.nextInt();\n out.println(1 - x);\n out.close();\n }\n\n\n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n\n }\n\n}",
"public class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n int x = sc.nextInt();\n out.println(1 - x);\n out.close();\n }\n\n\n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n\n\n }\n\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) {
MyScanner sc = new MyScanner();
PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));
int x = sc.nextInt();
out.println(1 - x);
out.close();
}
//-----------MyScanner class for faster input----------
public static class MyScanner {
BufferedReader br;
StringTokenizer st;
public MyScanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
4,
13,
14,
2,
13,
17,
30,
4,
18,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
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,
2,
13,
13,
40,
4,
13,
13,
30,
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,
17,
41,
13,
41,
13,
17,
42,
2,
2,
0,
13,
4,
13,
40,
17,
40,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
42,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
2,
13,
17,
30,
29,
8,
13,
40,
13,
13,
0,
13,
4,
13,
12,
13,
30,
41,
13,
17,
41,
13,
41,
13,
17,
42,
2,
2,
0,
13,
4,
13,
40,
17,
40,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
42,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
2,
13,
17,
30,
29,
8,
13,
40,
13,
13,
0,
13,
4,
13,
12,
13,
30,
14,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
508,
17
],
[
508,
18
],
[
18,
19
],
[
508,
20
],
[
20,
21
],
[
508,
22
],
[
22,
23
],
[
22,
24
],
[
508,
25
],
[
25,
26
],
[
25,
27
],
[
508,
29
],
[
29,
30
],
[
29,
31
],
[
508,
32
],
[
32,
33
],
[
32,
34
],
[
508,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
42,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
508,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
65,
72
],
[
62,
73
],
[
73,
74
],
[
73,
75
],
[
62,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
62,
81
],
[
81,
82
],
[
62,
83
],
[
83,
84
],
[
84,
85
],
[
62,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
94,
98
],
[
93,
99
],
[
508,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
100,
106
],
[
106,
107
],
[
508,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
111,
116
],
[
116,
117
],
[
110,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
126,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
122,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
144,
145
],
[
110,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
508,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
160,
162
],
[
151,
163
],
[
163,
164
],
[
508,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
167,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
172,
177
],
[
177,
178
],
[
171,
179
],
[
179,
180
],
[
179,
181
],
[
167,
182
],
[
182,
183
],
[
508,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
191,
192
],
[
508,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
508,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
201,
206
],
[
206,
207
],
[
206,
208
],
[
201,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
209,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
215,
218
],
[
214,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
201,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
508,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
229,
238
],
[
238,
239
],
[
238,
240
],
[
229,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
241,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
251,
256
],
[
250,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
229,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
262,
266
],
[
262,
267
],
[
267,
268
],
[
268,
269
],
[
267,
270
],
[
267,
271
],
[
227,
272
],
[
272,
273
],
[
508,
274
],
[
274,
275
],
[
274,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
276,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
281,
286
],
[
286,
287
],
[
286,
288
],
[
281,
289
],
[
289,
290
],
[
290,
291
],
[
281,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
297,
299
],
[
276,
300
],
[
300,
301
],
[
274,
302
],
[
302,
303
],
[
274,
304
],
[
304,
305
],
[
508,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
308,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
313,
318
],
[
318,
319
],
[
318,
320
],
[
313,
321
],
[
321,
322
],
[
322,
323
],
[
313,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
325,
329
],
[
329,
330
],
[
308,
331
],
[
331,
332
],
[
306,
333
],
[
333,
334
],
[
508,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
338,
339
],
[
338,
340
],
[
337,
341
],
[
341,
342
],
[
337,
343
],
[
343,
344
],
[
343,
345
],
[
337,
346
],
[
346,
347
],
[
347,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
348,
353
],
[
353,
354
],
[
347,
355
],
[
355,
356
],
[
356,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
357,
361
],
[
361,
362
],
[
361,
363
],
[
356,
364
],
[
364,
365
],
[
364,
366
],
[
337,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
367,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
371,
375
],
[
375,
376
],
[
375,
377
],
[
377,
378
],
[
337,
379
],
[
379,
380
],
[
379,
381
],
[
381,
382
],
[
382,
383
],
[
383,
384
],
[
384,
385
],
[
384,
386
],
[
383,
387
],
[
387,
388
],
[
387,
389
],
[
382,
390
],
[
390,
391
],
[
391,
392
],
[
391,
393
],
[
393,
394
],
[
394,
395
],
[
394,
396
],
[
393,
397
],
[
397,
398
],
[
397,
399
],
[
382,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
404,
405
],
[
402,
406
],
[
381,
407
],
[
407,
408
],
[
407,
409
],
[
409,
410
],
[
508,
411
],
[
411,
412
],
[
411,
413
],
[
413,
414
],
[
414,
415
],
[
414,
416
],
[
413,
417
],
[
417,
418
],
[
413,
419
],
[
419,
420
],
[
419,
421
],
[
413,
422
],
[
422,
423
],
[
423,
424
],
[
424,
425
],
[
425,
426
],
[
425,
427
],
[
427,
428
],
[
424,
429
],
[
429,
430
],
[
423,
431
],
[
431,
432
],
[
432,
433
],
[
433,
434
],
[
434,
435
],
[
434,
436
],
[
433,
437
],
[
437,
438
],
[
437,
439
],
[
432,
440
],
[
440,
441
],
[
440,
442
],
[
413,
443
],
[
443,
444
],
[
444,
445
],
[
444,
446
],
[
443,
447
],
[
447,
448
],
[
448,
449
],
[
448,
450
],
[
447,
451
],
[
451,
452
],
[
451,
453
],
[
453,
454
],
[
413,
455
],
[
455,
456
],
[
455,
457
],
[
457,
458
],
[
458,
459
],
[
459,
460
],
[
460,
461
],
[
460,
462
],
[
459,
463
],
[
463,
464
],
[
463,
465
],
[
458,
466
],
[
466,
467
],
[
467,
468
],
[
467,
469
],
[
469,
470
],
[
470,
471
],
[
470,
472
],
[
469,
473
],
[
473,
474
],
[
473,
475
],
[
458,
476
],
[
476,
477
],
[
477,
478
],
[
478,
479
],
[
478,
480
],
[
480,
481
],
[
478,
482
],
[
457,
483
],
[
483,
484
],
[
483,
485
],
[
485,
486
],
[
508,
487
],
[
487,
488
],
[
487,
489
],
[
489,
490
],
[
490,
491
],
[
491,
492
],
[
492,
493
],
[
493,
494
],
[
491,
495
],
[
490,
496
],
[
496,
497
],
[
497,
498
],
[
498,
499
],
[
498,
500
],
[
496,
501
],
[
501,
502
],
[
502,
503
],
[
501,
504
],
[
487,
505
],
[
505,
506
],
[
0,
507
],
[
507,
508
],
[
507,
509
]
]
| [
"import java.io.ByteArrayInputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.*;\n\npublic class Main {\n InputStream is;\n PrintWriter out;\n String INPUT = \"\";\n\n void solve() throws IOException {\n int x = ni();\n if(x == 0){\n out.println(1);\n } else if(x == 1) {\n out.println(0);\n }\n }\n\n void run() throws Exception\n {\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n long s = System.currentTimeMillis();\n solve();\n out.flush();\n if(!INPUT.isEmpty())tr(System.currentTimeMillis()-s+\"ms\");\n }\n\n public static void main(String[] args) throws Exception { new Main().run(); }\n\n private byte[] inbuf = new byte[1024];\n public int lenbuf = 0, ptrbuf = 0;\n\n private int readByte()\n {\n if(lenbuf == -1)throw new InputMismatchException();\n if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }\n return inbuf[ptrbuf++];\n }\n\n private boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); }\n private int skip() { int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }\n\n private double nd() { return Double.parseDouble(ns()); }\n private char nc() { return (char)skip(); }\n\n private String ns()\n {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while(!(isSpaceChar(b))){ // when nextLine, (isSpaceChar(b) && b != ' ')\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n private char[] ns(int n)\n {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }\n\n private char[][] nm(int n, int m)\n {\n char[][] map = new char[n][];\n for(int i = 0;i < n;i++)map[i] = ns(m);\n return map;\n }\n\n private int[] na(int n)\n {\n int[] a = new int[n];\n for(int i = 0;i < n;i++)a[i] = ni();\n return a;\n }\n\n private int ni()\n {\n int num = 0, b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private long nl()\n {\n long num = 0;\n int b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private void tr(Object... o) { if(INPUT.length() > 0)System.out.println(Arrays.deepToString(o)); }\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.*;",
"util.*",
"java",
"public class Main {\n InputStream is;\n PrintWriter out;\n String INPUT = \"\";\n\n void solve() throws IOException {\n int x = ni();\n if(x == 0){\n out.println(1);\n } else if(x == 1) {\n out.println(0);\n }\n }\n\n void run() throws Exception\n {\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n long s = System.currentTimeMillis();\n solve();\n out.flush();\n if(!INPUT.isEmpty())tr(System.currentTimeMillis()-s+\"ms\");\n }\n\n public static void main(String[] args) throws Exception { new Main().run(); }\n\n private byte[] inbuf = new byte[1024];\n public int lenbuf = 0, ptrbuf = 0;\n\n private int readByte()\n {\n if(lenbuf == -1)throw new InputMismatchException();\n if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }\n return inbuf[ptrbuf++];\n }\n\n private boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); }\n private int skip() { int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }\n\n private double nd() { return Double.parseDouble(ns()); }\n private char nc() { return (char)skip(); }\n\n private String ns()\n {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while(!(isSpaceChar(b))){ // when nextLine, (isSpaceChar(b) && b != ' ')\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n private char[] ns(int n)\n {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }\n\n private char[][] nm(int n, int m)\n {\n char[][] map = new char[n][];\n for(int i = 0;i < n;i++)map[i] = ns(m);\n return map;\n }\n\n private int[] na(int n)\n {\n int[] a = new int[n];\n for(int i = 0;i < n;i++)a[i] = ni();\n return a;\n }\n\n private int ni()\n {\n int num = 0, b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private long nl()\n {\n long num = 0;\n int b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private void tr(Object... o) { if(INPUT.length() > 0)System.out.println(Arrays.deepToString(o)); }\n\n}",
"Main",
"InputStream is;",
"is",
"PrintWriter out;",
"out",
"String INPUT = \"\";",
"INPUT",
"\"\"",
"private byte[] inbuf = new byte[1024];",
"inbuf",
"new byte[1024]",
"1024",
"public int lenbuf = 0",
"lenbuf",
"0",
"ptrbuf = 0;",
"ptrbuf",
"0",
"void solve() throws IOException {\n int x = ni();\n if(x == 0){\n out.println(1);\n } else if(x == 1) {\n out.println(0);\n }\n }",
"solve",
"{\n int x = ni();\n if(x == 0){\n out.println(1);\n } else if(x == 1) {\n out.println(0);\n }\n }",
"int x = ni();",
"x",
"ni()",
"ni",
"if(x == 0){\n out.println(1);\n } else if(x == 1) {\n out.println(0);\n }",
"x == 0",
"x",
"0",
"{\n out.println(1);\n }",
"out.println(1)",
"out.println",
"out",
"1",
"if(x == 1) {\n out.println(0);\n }",
"x == 1",
"x",
"1",
"{\n out.println(0);\n }",
"out.println(0)",
"out.println",
"out",
"0",
"void run() throws Exception\n {\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n long s = System.currentTimeMillis();\n solve();\n out.flush();\n if(!INPUT.isEmpty())tr(System.currentTimeMillis()-s+\"ms\");\n }",
"run",
"{\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n long s = System.currentTimeMillis();\n solve();\n out.flush();\n if(!INPUT.isEmpty())tr(System.currentTimeMillis()-s+\"ms\");\n }",
"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())tr(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 { new Main().run(); }",
"main",
"{ new Main().run(); }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"private int readByte()\n {\n if(lenbuf == -1)throw new InputMismatchException();\n if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }\n return inbuf[ptrbuf++];\n }",
"readByte",
"{\n if(lenbuf == -1)throw new InputMismatchException();\n if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }\n return inbuf[ptrbuf++];\n }",
"if(lenbuf == -1)throw new InputMismatchException();",
"lenbuf == -1",
"lenbuf",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }",
"ptrbuf >= lenbuf",
"ptrbuf",
"lenbuf",
"{\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }",
"ptrbuf = 0",
"ptrbuf",
"0",
"try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }",
"catch (IOException e) { throw new InputMismatchException(); }",
"IOException e",
"{ throw new InputMismatchException(); }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{ lenbuf = is.read(inbuf); }",
"lenbuf = is.read(inbuf)",
"lenbuf",
"is.read(inbuf)",
"is.read",
"is",
"inbuf",
"if(lenbuf <= 0)return -1;",
"lenbuf <= 0",
"lenbuf",
"0",
"return -1;",
"-1",
"1",
"return inbuf[ptrbuf++];",
"inbuf[ptrbuf++]",
"inbuf",
"ptrbuf++",
"ptrbuf",
"private boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); }",
"isSpaceChar",
"{ return !(c >= 33 && c <= 126); }",
"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() { int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }",
"skip",
"{ int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }",
"int b;",
"b",
"while((b = readByte()) != -1 && isSpaceChar(b));",
"(b = readByte()) != -1 && isSpaceChar(b)",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"isSpaceChar(b)",
"isSpaceChar",
"b",
"return b;",
"b",
"private double nd() { return Double.parseDouble(ns()); }",
"nd",
"{ return Double.parseDouble(ns()); }",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"private char nc() { return (char)skip(); }",
"nc",
"{ return (char)skip(); }",
"return (char)skip();",
"(char)skip()",
"skip",
"private String ns()\n {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while(!(isSpaceChar(b))){ // when nextLine, (isSpaceChar(b) && b != ' ')\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"ns",
"{\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while(!(isSpaceChar(b))){ // when nextLine, (isSpaceChar(b) && b != ' ')\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"int b = skip();",
"b",
"skip()",
"skip",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(!(isSpaceChar(b))){ // when nextLine, (isSpaceChar(b) && b != ' ')\n sb.appendCodePoint(b);\n b = readByte();\n }",
"!(isSpaceChar(b))",
"(isSpaceChar(b))",
"isSpaceChar",
"b",
"{ // when nextLine, (isSpaceChar(b) && 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",
"private char[] ns(int n)\n {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }",
"ns",
"{\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }",
"char[] buf = new char[n];",
"buf",
"new char[n]",
"n",
"int b = skip()",
"b",
"skip()",
"skip",
"p = 0;",
"p",
"0",
"while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }",
"p < n && !(isSpaceChar(b))",
"p < n",
"p",
"n",
"!(isSpaceChar(b))",
"(isSpaceChar(b))",
"isSpaceChar",
"b",
"{\n buf[p++] = (char)b;\n b = readByte();\n }",
"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 {\n char[][] map = new char[n][];\n for(int i = 0;i < n;i++)map[i] = ns(m);\n return map;\n }",
"nm",
"{\n char[][] map = new char[n][];\n for(int i = 0;i < n;i++)map[i] = ns(m);\n return map;\n }",
"char[][] map = new char[n][];",
"map",
"new char[n][]",
"n",
"for(int i = 0;i < n;i++)map[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 {\n int[] a = new int[n];\n for(int i = 0;i < n;i++)a[i] = ni();\n return a;\n }",
"na",
"{\n int[] a = new int[n];\n for(int i = 0;i < n;i++)a[i] = ni();\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i = 0;i < n;i++)a[i] = ni();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = ni();",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"private int ni()\n {\n int num = 0, b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"ni",
"{\n int num = 0, b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"int num = 0",
"num",
"0",
"b;",
"b",
"boolean minus = false;",
"minus",
"false",
"while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));",
"(b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"!((b >= '0' && b <= '9') || b == '-')",
"((b >= '0' && b <= '9') || b == '-')",
"(b >= '0' && b <= '9')",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"b == '-'",
"b",
"'-'",
"if(b == '-'){\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",
"while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }",
"true",
"{\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }",
"if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }",
"b >= '0' && b <= '9'",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"{\n num = num * 10 + (b - '0');\n }",
"num = num * 10 + (b - '0')",
"num",
"num * 10 + (b - '0')",
"num * 10",
"num",
"10",
"(b - '0')",
"b",
"'0'",
"{\n return minus ? -num : num;\n }",
"return minus ? -num : num;",
"minus ? -num : num",
"minus",
"-num",
"num",
"num",
"b = readByte()",
"b",
"readByte()",
"readByte",
"private long nl()\n {\n long num = 0;\n int b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"nl",
"{\n long num = 0;\n int b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"long num = 0;",
"num",
"0",
"int b;",
"b",
"boolean minus = false;",
"minus",
"false",
"while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));",
"(b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"!((b >= '0' && b <= '9') || b == '-')",
"((b >= '0' && b <= '9') || b == '-')",
"(b >= '0' && b <= '9')",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"b == '-'",
"b",
"'-'",
"if(b == '-'){\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",
"while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }",
"true",
"{\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }",
"if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }",
"b >= '0' && b <= '9'",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"{\n num = num * 10 + (b - '0');\n }",
"num = num * 10 + (b - '0')",
"num",
"num * 10 + (b - '0')",
"num * 10",
"num",
"10",
"(b - '0')",
"b",
"'0'",
"{\n return minus ? -num : num;\n }",
"return minus ? -num : num;",
"minus ? -num : num",
"minus",
"-num",
"num",
"num",
"b = readByte()",
"b",
"readByte()",
"readByte",
"private void tr(Object... o) { if(INPUT.length() > 0)System.out.println(Arrays.deepToString(o)); }",
"tr",
"{ if(INPUT.length() > 0)System.out.println(Arrays.deepToString(o)); }",
"if(INPUT.length() > 0)System.out.println(Arrays.deepToString(o));",
"INPUT.length() > 0",
"INPUT.length()",
"INPUT.length",
"INPUT",
"0",
"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 Main {\n InputStream is;\n PrintWriter out;\n String INPUT = \"\";\n\n void solve() throws IOException {\n int x = ni();\n if(x == 0){\n out.println(1);\n } else if(x == 1) {\n out.println(0);\n }\n }\n\n void run() throws Exception\n {\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n long s = System.currentTimeMillis();\n solve();\n out.flush();\n if(!INPUT.isEmpty())tr(System.currentTimeMillis()-s+\"ms\");\n }\n\n public static void main(String[] args) throws Exception { new Main().run(); }\n\n private byte[] inbuf = new byte[1024];\n public int lenbuf = 0, ptrbuf = 0;\n\n private int readByte()\n {\n if(lenbuf == -1)throw new InputMismatchException();\n if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }\n return inbuf[ptrbuf++];\n }\n\n private boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); }\n private int skip() { int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }\n\n private double nd() { return Double.parseDouble(ns()); }\n private char nc() { return (char)skip(); }\n\n private String ns()\n {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while(!(isSpaceChar(b))){ // when nextLine, (isSpaceChar(b) && b != ' ')\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n private char[] ns(int n)\n {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }\n\n private char[][] nm(int n, int m)\n {\n char[][] map = new char[n][];\n for(int i = 0;i < n;i++)map[i] = ns(m);\n return map;\n }\n\n private int[] na(int n)\n {\n int[] a = new int[n];\n for(int i = 0;i < n;i++)a[i] = ni();\n return a;\n }\n\n private int ni()\n {\n int num = 0, b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private long nl()\n {\n long num = 0;\n int b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private void tr(Object... o) { if(INPUT.length() > 0)System.out.println(Arrays.deepToString(o)); }\n\n}",
"public class Main {\n InputStream is;\n PrintWriter out;\n String INPUT = \"\";\n\n void solve() throws IOException {\n int x = ni();\n if(x == 0){\n out.println(1);\n } else if(x == 1) {\n out.println(0);\n }\n }\n\n void run() throws Exception\n {\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n long s = System.currentTimeMillis();\n solve();\n out.flush();\n if(!INPUT.isEmpty())tr(System.currentTimeMillis()-s+\"ms\");\n }\n\n public static void main(String[] args) throws Exception { new Main().run(); }\n\n private byte[] inbuf = new byte[1024];\n public int lenbuf = 0, ptrbuf = 0;\n\n private int readByte()\n {\n if(lenbuf == -1)throw new InputMismatchException();\n if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }\n return inbuf[ptrbuf++];\n }\n\n private boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); }\n private int skip() { int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }\n\n private double nd() { return Double.parseDouble(ns()); }\n private char nc() { return (char)skip(); }\n\n private String ns()\n {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while(!(isSpaceChar(b))){ // when nextLine, (isSpaceChar(b) && b != ' ')\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n private char[] ns(int n)\n {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }\n\n private char[][] nm(int n, int m)\n {\n char[][] map = new char[n][];\n for(int i = 0;i < n;i++)map[i] = ns(m);\n return map;\n }\n\n private int[] na(int n)\n {\n int[] a = new int[n];\n for(int i = 0;i < n;i++)a[i] = ni();\n return a;\n }\n\n private int ni()\n {\n int num = 0, b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private long nl()\n {\n long num = 0;\n int b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private void tr(Object... o) { if(INPUT.length() > 0)System.out.println(Arrays.deepToString(o)); }\n\n}",
"Main"
]
| import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.*;
public class Main {
InputStream is;
PrintWriter out;
String INPUT = "";
void solve() throws IOException {
int x = ni();
if(x == 0){
out.println(1);
} else if(x == 1) {
out.println(0);
}
}
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 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 && !(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 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()
{
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 void tr(Object... o) { if(INPUT.length() > 0)System.out.println(Arrays.deepToString(o)); }
}
|
[
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,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
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
],
[
92,
8
],
[
92,
9
],
[
9,
10
],
[
92,
11
],
[
11,
12
],
[
92,
13
],
[
13,
14
],
[
92,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
25,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
15,
43
],
[
43,
44
],
[
92,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
92,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
92,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
92,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
75,
84
],
[
84,
85
],
[
84,
86
],
[
74,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
]
| [
"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 int x = nextInt();\n\n if( x == 0) {\n System.out.println(\"1\");\n }\n else{\n System.out.println(\"0\");\n };\n\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 int x = nextInt();\n\n if( x == 0) {\n System.out.println(\"1\");\n }\n else{\n System.out.println(\"0\");\n };\n\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 int x = nextInt();\n\n if( x == 0) {\n System.out.println(\"1\");\n }\n else{\n System.out.println(\"0\");\n };\n\n \n\n }",
"main",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n\n int x = nextInt();\n\n if( x == 0) {\n System.out.println(\"1\");\n }\n else{\n System.out.println(\"0\");\n };\n\n \n\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int x = nextInt();",
"x",
"nextInt()",
"nextInt",
"if( x == 0) {\n System.out.println(\"1\");\n }\n else{\n System.out.println(\"0\");\n }",
"x == 0",
"x",
"0",
"{\n System.out.println(\"1\");\n }",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"{\n System.out.println(\"0\");\n }",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"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 int x = nextInt();\n\n if( x == 0) {\n System.out.println(\"1\");\n }\n else{\n System.out.println(\"0\");\n };\n\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 int x = nextInt();\n\n if( x == 0) {\n System.out.println(\"1\");\n }\n else{\n System.out.println(\"0\");\n };\n\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));
int x = nextInt();
if( x == 0) {
System.out.println("1");
}
else{
System.out.println("0");
};
}
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,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
19,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
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,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
0,
13,
20,
17,
0,
13,
17,
0,
13,
20,
12,
13,
30,
38,
30,
4,
13,
30,
4,
18,
33,
12,
13,
30,
14,
2,
13,
17,
4,
18,
13,
12,
13,
30,
14,
2,
13,
18,
13,
13,
29,
18,
13,
40,
13,
41,
13,
4,
18,
13,
42,
2,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
17,
0,
13,
17,
29,
18,
13,
40,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
184,
11
],
[
184,
12
],
[
12,
13
],
[
184,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
184,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
33,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
46,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
184,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
68,
72
],
[
72,
73
],
[
68,
74
],
[
74,
75
],
[
68,
76
],
[
76,
77
],
[
76,
78
],
[
68,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
89,
91
],
[
68,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
95,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
68,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
68,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
119,
121
],
[
116,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
115,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
115,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
115,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
143,
147
],
[
115,
148
],
[
148,
149
],
[
148,
150
],
[
115,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
68,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
163,
164
],
[
68,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
169,
172
],
[
172,
173
],
[
68,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
181,
182
],
[
0,
183
],
[
183,
184
],
[
183,
185
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n int X = sc.nextInt();\n if (X == 0) {\n \tSystem.out.println(\"1\");\n } else if (X == 1) {\n \tSystem.out.println(\"0\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n int X = sc.nextInt();\n if (X == 0) {\n \tSystem.out.println(\"1\");\n } else if (X == 1) {\n \tSystem.out.println(\"0\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}",
"Main",
"private static Scanner sc;",
"sc",
"public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }",
"main",
"{\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }",
"Main instance = new Main();",
"instance",
"new Main()",
"sc = instance.new Scanner()",
"sc",
"instance.new Scanner()",
"instance",
"instance",
"instance.solve()",
"instance.solve",
"instance",
"String[] args",
"args",
"private void solve() {\n try {\n int X = sc.nextInt();\n if (X == 0) {\n \tSystem.out.println(\"1\");\n } else if (X == 1) {\n \tSystem.out.println(\"0\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"solve",
"{\n try {\n int X = sc.nextInt();\n if (X == 0) {\n \tSystem.out.println(\"1\");\n } else if (X == 1) {\n \tSystem.out.println(\"0\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"try {\n int X = sc.nextInt();\n if (X == 0) {\n \tSystem.out.println(\"1\");\n } else if (X == 1) {\n \tSystem.out.println(\"0\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n int X = sc.nextInt();\n if (X == 0) {\n \tSystem.out.println(\"1\");\n } else if (X == 1) {\n \tSystem.out.println(\"0\");\n }\n }",
"int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (X == 0) {\n \tSystem.out.println(\"1\");\n } else if (X == 1) {\n \tSystem.out.println(\"0\");\n }",
"X == 0",
"X",
"0",
"{\n \tSystem.out.println(\"1\");\n }",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"if (X == 1) {\n \tSystem.out.println(\"0\");\n }",
"X == 1",
"X",
"1",
"{\n \tSystem.out.println(\"0\");\n }",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }",
"Scanner",
"String[] s;",
"s",
"int i;",
"i",
"BufferedReader br;",
"br",
"String regex = \" \";",
"regex",
"\" \"",
"public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"Scanner",
"{\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"s = new String[0]",
"s",
"new String[0]",
"0",
"i = 0",
"i",
"0",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"@Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }",
"finalize",
"{\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }",
"try {\n super.finalize();\n } finally {\n destruction();\n }",
"{\n destruction();\n }",
"destruction()",
"destruction",
"{\n super.finalize();\n }",
"super.finalize()",
"super.finalize",
"super",
"private void destruction() throws IOException {\n if (br != null) br.close();\n }",
"destruction",
"{\n if (br != null) br.close();\n }",
"if (br != null) br.close();",
"br != null",
"br",
"null",
"br.close()",
"br.close",
"br",
"public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }",
"next",
"{\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }",
"if (i < s.length) return s[i++];",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"return s[i++];",
"s[i++]",
"s",
"i++",
"i",
"String st = br.readLine();",
"st",
"br.readLine()",
"br.readLine",
"br",
"while (st == \"\") st = br.readLine();",
"st == \"\"",
"st",
"\"\"",
"st = br.readLine()",
"st",
"br.readLine()",
"br.readLine",
"br",
"s = st.split(regex, 0)",
"s",
"st.split(regex, 0)",
"st.split",
"st",
"regex",
"0",
"i = 0",
"i",
"0",
"return s[i++];",
"s[i++]",
"s",
"i++",
"i",
"public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n int X = sc.nextInt();\n if (X == 0) {\n \tSystem.out.println(\"1\");\n } else if (X == 1) {\n \tSystem.out.println(\"0\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}",
"public class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n int X = sc.nextInt();\n if (X == 0) {\n \tSystem.out.println(\"1\");\n } else if (X == 1) {\n \tSystem.out.println(\"0\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
private static Scanner sc;
public static void main(String[] args) {
Main instance = new Main();
sc = instance.new Scanner();
instance.solve();
}
private void solve() {
try {
int X = sc.nextInt();
if (X == 0) {
System.out.println("1");
} else if (X == 1) {
System.out.println("0");
}
} catch (Exception e) {
e.printStackTrace();
}
}
private class Scanner {
String[] s;
int i;
BufferedReader br;
String regex = " ";
public Scanner() {
s = new String[0];
i = 0;
br = new BufferedReader(new InputStreamReader(System.in));
}
@Override
protected void finalize() throws Throwable {
try {
super.finalize();
} finally {
destruction();
}
}
private void destruction() throws IOException {
if (br != null) br.close();
}
public String next() throws IOException {
if (i < s.length) return s[i++];
String st = br.readLine();
while (st == "") st = br.readLine();
s = st.split(regex, 0);
i = 0;
return s[i++];
}
public int nextInt() throws NumberFormatException, IOException {
return Integer.parseInt(next());
}
public Long nextLong() throws NumberFormatException, IOException {
return Long.parseLong(next());
}
public Double nextDouble() throws NumberFormatException, IOException {
return Double.parseDouble(next());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
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,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
13,
13,
40,
13,
30,
0,
13,
2,
13,
13,
0,
13,
17,
29,
13,
23,
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,
14,
2,
13,
17,
30,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
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,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
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,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
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
],
[
379,
8
],
[
379,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
379,
14
],
[
14,
15
],
[
14,
16
],
[
379,
17
],
[
17,
18
],
[
17,
19
],
[
379,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
22,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
31,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
20,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
70,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
64,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
54,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
96,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
102,
108
],
[
108,
109
],
[
96,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
113,
115
],
[
110,
116
],
[
116,
117
],
[
116,
118
],
[
87,
119
],
[
119,
120
],
[
85,
121
],
[
121,
122
],
[
85,
123
],
[
123,
124
],
[
54,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
127,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
136,
139
],
[
139,
140
],
[
139,
141
],
[
125,
142
],
[
142,
143
],
[
125,
144
],
[
144,
145
],
[
54,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
153,
154
],
[
154,
155
],
[
148,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
157,
160
],
[
160,
161
],
[
160,
162
],
[
146,
163
],
[
163,
164
],
[
146,
165
],
[
165,
166
],
[
54,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
173,
174
],
[
173,
175
],
[
173,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
169,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
169,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
185,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
192,
194
],
[
185,
195
],
[
195,
196
],
[
196,
197
],
[
185,
198
],
[
199,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
205,
206
],
[
204,
207
],
[
169,
208
],
[
208,
209
],
[
167,
210
],
[
210,
211
],
[
54,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
218,
219
],
[
218,
220
],
[
218,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
222,
225
],
[
214,
226
],
[
226,
227
],
[
227,
228
],
[
226,
229
],
[
214,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
230,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
230,
240
],
[
240,
241
],
[
241,
242
],
[
230,
243
],
[
244,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
245,
249
],
[
249,
250
],
[
250,
251
],
[
249,
252
],
[
214,
253
],
[
253,
254
],
[
212,
255
],
[
255,
256
],
[
54,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
263
],
[
263,
264
],
[
263,
265
],
[
263,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
267,
270
],
[
259,
271
],
[
271,
272
],
[
272,
273
],
[
271,
274
],
[
259,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
275,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
282,
284
],
[
275,
285
],
[
285,
286
],
[
286,
287
],
[
275,
288
],
[
289,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
294
],
[
294,
295
],
[
295,
296
],
[
294,
297
],
[
259,
298
],
[
298,
299
],
[
257,
300
],
[
300,
301
],
[
54,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
306,
309
],
[
309,
310
],
[
54,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
313,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
318,
323
],
[
323,
324
],
[
323,
325
],
[
318,
326
],
[
326,
327
],
[
327,
328
],
[
318,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
330,
334
],
[
334,
335
],
[
313,
336
],
[
336,
337
],
[
311,
338
],
[
338,
339
],
[
54,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
344,
347
],
[
347,
348
],
[
54,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
351,
356
],
[
356,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
356,
361
],
[
361,
362
],
[
361,
363
],
[
356,
364
],
[
364,
365
],
[
365,
366
],
[
356,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
368,
372
],
[
372,
373
],
[
351,
374
],
[
374,
375
],
[
349,
376
],
[
376,
377
],
[
0,
378
],
[
378,
379
],
[
378,
380
]
]
| [
"//package Atcoder;\nimport java.util.*;\nimport java.io.*;\npublic class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint x=fs.nextInt();\n\t\tif(x==0)\n\t\t{\n\t\t\tSystem.out.println(1);\n\t\t}\n\t\telse if(x==1)\n\t\t\tSystem.out.println(0);\n\t}\n}\nclass FastScanner \n{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\tpublic String next() \n\t\t{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tlong pow(long x,long n)\n\t\t{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\t\tint gcd(int a,int b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t\tlong longgcd(long a,long b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}\n\t\tint[] sort(int arr[])\n\t\t{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tchar[] charsort(char arr[])\n\t {\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }\n\t\tlong[] longsort(long arr[])\n\t\t{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tpublic int nextInt() \n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic int[] readArray(int n)\n\t\t{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}\t\n\t\tpublic long nextLong()\n\t\t{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic long[] longreadArray(int n) \n\t\t{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint x=fs.nextInt();\n\t\tif(x==0)\n\t\t{\n\t\t\tSystem.out.println(1);\n\t\t}\n\t\telse if(x==1)\n\t\t\tSystem.out.println(0);\n\t}\n}",
"Main",
"static final int mod=(int)1e9+7;",
"mod",
"(int)1e9+7",
"(int)1e9",
"7",
"static final int inf=(int)1e9;",
"inf",
"(int)1e9",
"static final long INF=(long)1e18;",
"INF",
"(long)1e18",
"public static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint x=fs.nextInt();\n\t\tif(x==0)\n\t\t{\n\t\t\tSystem.out.println(1);\n\t\t}\n\t\telse if(x==1)\n\t\t\tSystem.out.println(0);\n\t}",
"main",
"{\n\t\tFastScanner fs=new FastScanner();\n\t\tint x=fs.nextInt();\n\t\tif(x==0)\n\t\t{\n\t\t\tSystem.out.println(1);\n\t\t}\n\t\telse if(x==1)\n\t\t\tSystem.out.println(0);\n\t}",
"FastScanner fs=new FastScanner();",
"fs",
"new FastScanner()",
"int x=fs.nextInt();",
"x",
"fs.nextInt()",
"fs.nextInt",
"fs",
"if(x==0)\n\t\t{\n\t\t\tSystem.out.println(1);\n\t\t}\n\t\telse if(x==1)\n\t\t\tSystem.out.println(0);",
"x==0",
"x",
"0",
"{\n\t\t\tSystem.out.println(1);\n\t\t}",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"if(x==1)\n\t\t\tSystem.out.println(0);",
"x==1",
"x",
"1",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"class FastScanner \n{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\tpublic String next() \n\t\t{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tlong pow(long x,long n)\n\t\t{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\t\tint gcd(int a,int b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t\tlong longgcd(long a,long b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}\n\t\tint[] sort(int arr[])\n\t\t{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tchar[] charsort(char arr[])\n\t {\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }\n\t\tlong[] longsort(long arr[])\n\t\t{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tpublic int nextInt() \n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic int[] readArray(int n)\n\t\t{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}\t\n\t\tpublic long nextLong()\n\t\t{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic long[] longreadArray(int n) \n\t\t{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\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\t\t{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t\t\n\t\t}",
"next",
"{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t\t\n\t\t}",
"while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"long pow(long x,long n)\n\t\t{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}",
"pow",
"{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}",
"long res=1;",
"res",
"1",
"while(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}",
"n>0",
"n",
"0",
"{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}",
"if(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}",
"n%2!=0",
"n%2",
"n",
"2",
"0",
"{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}",
"res=(res*x)",
"res",
"(res*x)",
"res",
"x",
"n--",
"n",
"{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}",
"x=(x*x)",
"x",
"(x*x)",
"x",
"x",
"n/=2",
"n",
"2",
"return res;",
"res",
"long x",
"x",
"long n",
"n",
"int gcd(int a,int b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}",
"gcd",
"{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}",
"if(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}",
"b==0",
"b",
"0",
"{\n\t\t\t\treturn a;\n\t\t\t}",
"return a;",
"a",
"return gcd(b,a%b);",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"long longgcd(long a,long b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}",
"longgcd",
"{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}",
"if(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}",
"b==0",
"b",
"0",
"{\n\t\t\t\treturn a;\n\t\t\t}",
"return a;",
"a",
"return longgcd(b,a%b);",
"longgcd(b,a%b)",
"longgcd",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"int[] sort(int arr[])\n\t\t{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"sort",
"{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for(int i:arr)list.add(i);",
"int i",
"arr",
"list.add(i);",
"list.add(i)",
"list.add",
"list",
"i",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}",
"{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}",
"arr[i]=list.get(i)",
"arr[i]",
"arr",
"i",
"list.get(i)",
"list.get",
"list",
"i",
"return arr;",
"arr",
"int arr[]",
"arr",
"char[] charsort(char arr[])\n\t {\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }",
"charsort",
"{\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }",
"ArrayList<Character> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"for(char c:arr)list.add(c);",
"char c",
"arr",
"list.add(c);",
"list.add(c)",
"list.add",
"list",
"c",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t \t\tarr[i]=list.get(i);\n\t \t}",
"{\n\t \t\tarr[i]=list.get(i);\n\t \t}",
"arr[i]=list.get(i)",
"arr[i]",
"arr",
"i",
"list.get(i)",
"list.get",
"list",
"i",
"return arr;",
"arr",
"char arr[]",
"arr",
"long[] longsort(long arr[])\n\t\t{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"longsort",
"{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}",
"ArrayList<Long> list = new ArrayList<Long>();",
"list",
"new ArrayList<Long>()",
"for(long i:arr)list.add(i);",
"long i",
"arr",
"list.add(i);",
"list.add(i)",
"list.add",
"list",
"i",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}",
"{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}",
"arr[i]=list.get(i)",
"arr[i]",
"arr",
"i",
"list.get(i)",
"list.get",
"list",
"i",
"return arr;",
"arr",
"long arr[]",
"arr",
"public int nextInt() \n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public int[] readArray(int n)\n\t\t{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}",
"readArray",
"{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}",
"int[] arr=new int[n];",
"arr",
"new int[n]",
"n",
"for (int i=0; i<n; i++) arr[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"arr[i]=nextInt();",
"arr[i]=nextInt()",
"arr[i]",
"arr",
"i",
"nextInt()",
"nextInt",
"return arr;",
"arr",
"int n",
"n",
"public long nextLong()\n\t\t{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public long[] longreadArray(int n) \n\t\t{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}",
"longreadArray",
"{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}",
"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",
"public class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint x=fs.nextInt();\n\t\tif(x==0)\n\t\t{\n\t\t\tSystem.out.println(1);\n\t\t}\n\t\telse if(x==1)\n\t\t\tSystem.out.println(0);\n\t}\n}",
"public class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint x=fs.nextInt();\n\t\tif(x==0)\n\t\t{\n\t\t\tSystem.out.println(1);\n\t\t}\n\t\telse if(x==1)\n\t\t\tSystem.out.println(0);\n\t}\n}",
"Main"
]
| //package Atcoder;
import java.util.*;
import java.io.*;
public class Main
{
static final int mod=(int)1e9+7;
static final int inf=(int)1e9;
static final long INF=(long)1e18;
public static void main(String[] args)
{
FastScanner fs=new FastScanner();
int x=fs.nextInt();
if(x==0)
{
System.out.println(1);
}
else if(x==1)
System.out.println(0);
}
}
class FastScanner
{
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 (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
long pow(long x,long n)
{
long res=1;
while(n>0)
{
if(n%2!=0)
{
res=(res*x);n--;
}
else
{
x=(x*x);n/=2;
}
}
return res;
}
int gcd(int a,int b)
{
if(b==0)
{
return a;
}
return gcd(b,a%b);
}
long longgcd(long a,long b)
{
if(b==0)
{
return a;
}
return longgcd(b,a%b);
}
int[] sort(int arr[])
{
ArrayList<Integer> list = new ArrayList<Integer>();
for(int i:arr)list.add(i);
Collections.sort(list);
for(int i=0;i<arr.length;i++)
{
arr[i]=list.get(i);
}
return arr;
}
char[] charsort(char arr[])
{
ArrayList<Character> list = new ArrayList<>();
for(char c:arr)list.add(c);
Collections.sort(list);
for(int i=0;i<list.size();i++)
{
arr[i]=list.get(i);
}
return arr;
}
long[] longsort(long arr[])
{
ArrayList<Long> list = new ArrayList<Long>();
for(long i:arr)list.add(i);
Collections.sort(list);
for(int i=0;i<arr.length;i++)
{
arr[i]=list.get(i);
}
return arr;
}
public int nextInt()
{
return Integer.parseInt(next());
}
public int[] readArray(int n)
{
int[] arr=new int[n];
for (int i=0; i<n; i++) arr[i]=nextInt();
return arr;
}
public long nextLong()
{
return Long.parseLong(next());
}
public long[] longreadArray(int n)
{
long[] a=new long[n];
for (int i=0; i<n; i++) a[i]=nextLong();
return a;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
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,
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,
41,
13,
4,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
14,
2,
4,
18,
13,
17,
17,
30,
0,
13,
17,
40,
13,
11,
1,
41,
13,
13,
2,
13,
4,
18,
13,
1,
40,
13,
30,
14,
2,
4,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
20,
0,
13,
17,
30,
4,
18,
13,
4,
18,
13,
13,
14,
13,
0,
13,
17,
0,
13,
2,
4,
18,
13,
4,
18,
13,
13,
29,
2,
13,
8,
13,
40,
17,
17,
12,
13,
30,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
211,
8
],
[
211,
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
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
11,
35
],
[
35,
36
],
[
36,
37
],
[
9,
38
],
[
38,
39
],
[
211,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
40,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
46,
52
],
[
52,
53
],
[
40,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
57,
66
],
[
66,
67
],
[
66,
68
],
[
56,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
40,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
40,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
89,
90
],
[
40,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
40,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
100,
105
],
[
105,
106
],
[
105,
107
],
[
100,
108
],
[
108,
109
],
[
108,
110
],
[
100,
111
],
[
111,
112
],
[
111,
113
],
[
100,
114
],
[
114,
115
],
[
114,
116
],
[
100,
117
],
[
117,
118
],
[
117,
119
],
[
100,
120
],
[
120,
121
],
[
120,
122
],
[
100,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
124,
129
],
[
123,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
100,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
136,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
136,
146
],
[
146,
147
],
[
147,
148
],
[
136,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
151,
156
],
[
150,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
163,
164
],
[
164,
165
],
[
157,
166
],
[
166,
167
],
[
166,
168
],
[
157,
169
],
[
169,
170
],
[
169,
171
],
[
150,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
172,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
182,
184
],
[
100,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
191,
192
],
[
192,
193
],
[
187,
194
],
[
100,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
198,
202
],
[
40,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
0,
210
],
[
210,
211
],
[
210,
212
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException, InterruptedException {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int x = sc.nextInt();\n if(x == 1) pw.println(0);\n else pw.println(1);\n pw.close();\n\n }\n\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() throws IOException {\n return br.ready();\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws IOException, InterruptedException {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int x = sc.nextInt();\n if(x == 1) pw.println(0);\n else pw.println(1);\n pw.close();\n\n }\n\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() throws IOException {\n return br.ready();\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException, InterruptedException {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int x = sc.nextInt();\n if(x == 1) pw.println(0);\n else pw.println(1);\n pw.close();\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int x = sc.nextInt();\n if(x == 1) pw.println(0);\n else pw.println(1);\n pw.close();\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 1) pw.println(0);\n else pw.println(1);",
"x == 1",
"x",
"1",
"pw.println(0)",
"pw.println",
"pw",
"0",
"pw.println(1)",
"pw.println",
"pw",
"1",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() throws IOException {\n return br.ready();\n }\n }",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }",
"Scanner",
"{\n br = new BufferedReader(new InputStreamReader(s));\n }",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public String nextLine() throws IOException {\n return br.readLine();\n }",
"nextLine",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public double nextDouble() throws IOException {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }",
"nextDouble",
"{\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }",
"String x = next();",
"x",
"next()",
"next",
"StringBuilder sb = new StringBuilder(\"0\");",
"sb",
"new StringBuilder(\"0\")",
"double res = 0",
"res",
"0",
"f = 1;",
"f",
"1",
"boolean dec = false",
"dec",
"false",
"neg = false;",
"neg",
"false",
"int start = 0;",
"start",
"0",
"if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }",
"x.charAt(0) == '-'",
"x.charAt(0)",
"x.charAt",
"x",
"0",
"'-'",
"{\n neg = true;\n start++;\n }",
"neg = true",
"neg",
"true",
"start++",
"start",
"for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }",
"int i = start;",
"int i = start;",
"i",
"start",
"i < x.length()",
"i",
"x.length()",
"x.length",
"x",
"i++",
"i++",
"i",
"if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }",
"if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }",
"x.charAt(i) == '.'",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"'.'",
"{\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }",
"res = Long.parseLong(sb.toString())",
"res",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"sb = new StringBuilder(\"0\")",
"sb",
"new StringBuilder(\"0\")",
"dec = true",
"dec",
"true",
"{\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }",
"sb.append(x.charAt(i))",
"sb.append",
"sb",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"if (dec)\n f *= 10;",
"dec",
"f *= 10",
"f",
"10",
"res += Long.parseLong(sb.toString()) / f",
"res",
"Long.parseLong(sb.toString()) / f",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"f",
"return res * (neg ? -1 : 1);",
"res * (neg ? -1 : 1)",
"res",
"(neg ? -1 : 1)",
"neg",
"-1",
"1",
"1",
"public boolean ready() throws IOException {\n return br.ready();\n }",
"ready",
"{\n return br.ready();\n }",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public class Main {\n\n public static void main(String[] args) throws IOException, InterruptedException {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int x = sc.nextInt();\n if(x == 1) pw.println(0);\n else pw.println(1);\n pw.close();\n\n }\n\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() throws IOException {\n return br.ready();\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException, InterruptedException {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int x = sc.nextInt();\n if(x == 1) pw.println(0);\n else pw.println(1);\n pw.close();\n\n }\n\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() throws IOException {\n return br.ready();\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException, InterruptedException {
Scanner sc = new Scanner(System.in);
PrintWriter pw = new PrintWriter(System.out);
int x = sc.nextInt();
if(x == 1) pw.println(0);
else pw.println(1);
pw.close();
}
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 double nextDouble() throws IOException {
String x = next();
StringBuilder sb = new StringBuilder("0");
double res = 0, f = 1;
boolean dec = false, neg = false;
int start = 0;
if (x.charAt(0) == '-') {
neg = true;
start++;
}
for (int i = start; i < x.length(); i++)
if (x.charAt(i) == '.') {
res = Long.parseLong(sb.toString());
sb = new StringBuilder("0");
dec = true;
} else {
sb.append(x.charAt(i));
if (dec)
f *= 10;
}
res += Long.parseLong(sb.toString()) / f;
return res * (neg ? -1 : 1);
}
public boolean ready() throws IOException {
return br.ready();
}
}
}
|
[
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,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
145,
20
],
[
145,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
21,
64
],
[
64,
65
],
[
145,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
82,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
76,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
66,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
66,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
113,
121
],
[
121,
122
],
[
122,
123
],
[
113,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
108,
131
],
[
131,
132
],
[
106,
133
],
[
133,
134
],
[
66,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
142,
143
],
[
0,
144
],
[
144,
145
],
[
144,
146
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Random;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) {\n FastScanner fs=new FastScanner();\n // int T=fs.nextInt();\n int T =1 ;\n for (int tt=0; tt<T; tt++) {\n int x = fs.nextInt();\n if(x==0)\n System.out.println(1);\n else\n System.out.println(0);\n }\n}\n \n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n 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 long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n \n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Random;",
"Random",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs=new FastScanner();\n // int T=fs.nextInt();\n int T =1 ;\n for (int tt=0; tt<T; tt++) {\n int x = fs.nextInt();\n if(x==0)\n System.out.println(1);\n else\n System.out.println(0);\n }\n}\n \n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n 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 long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n \n}",
"Main",
"public static void main(String[] args) {\n FastScanner fs=new FastScanner();\n // int T=fs.nextInt();\n int T =1 ;\n for (int tt=0; tt<T; tt++) {\n int x = fs.nextInt();\n if(x==0)\n System.out.println(1);\n else\n System.out.println(0);\n }\n}",
"main",
"{\n FastScanner fs=new FastScanner();\n // int T=fs.nextInt();\n int T =1 ;\n for (int tt=0; tt<T; tt++) {\n int x = fs.nextInt();\n if(x==0)\n System.out.println(1);\n else\n System.out.println(0);\n }\n}",
"FastScanner fs=new FastScanner();",
"fs",
"new FastScanner()",
"int T =1 ;",
"T",
"1",
"for (int tt=0; tt<T; tt++) {\n int x = fs.nextInt();\n if(x==0)\n System.out.println(1);\n else\n System.out.println(0);\n }",
"int tt=0;",
"int tt=0;",
"tt",
"0",
"tt<T",
"tt",
"T",
"tt++",
"tt++",
"tt",
"{\n int x = fs.nextInt();\n if(x==0)\n System.out.println(1);\n else\n System.out.println(0);\n }",
"{\n int x = fs.nextInt();\n if(x==0)\n System.out.println(1);\n else\n System.out.println(0);\n }",
"int x = fs.nextInt();",
"x",
"fs.nextInt()",
"fs.nextInt",
"fs",
"if(x==0)\n System.out.println(1);\n else\n System.out.println(0);",
"x==0",
"x",
"0",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n 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 long nextLong() {\n return Long.parseLong(next());\n }\n }",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"next",
"{\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st=new StringTokenizer(br.readLine());\n }",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }",
"readArray",
"{\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs=new FastScanner();\n // int T=fs.nextInt();\n int T =1 ;\n for (int tt=0; tt<T; tt++) {\n int x = fs.nextInt();\n if(x==0)\n System.out.println(1);\n else\n System.out.println(0);\n }\n}\n \n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n 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 long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n \n}",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs=new FastScanner();\n // int T=fs.nextInt();\n int T =1 ;\n for (int tt=0; tt<T; tt++) {\n int x = fs.nextInt();\n if(x==0)\n System.out.println(1);\n else\n System.out.println(0);\n }\n}\n \n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n 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 long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n \n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Random;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner fs=new FastScanner();
// int T=fs.nextInt();
int T =1 ;
for (int tt=0; tt<T; tt++) {
int x = fs.nextInt();
if(x==0)
System.out.println(1);
else
System.out.println(0);
}
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a=new int[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
31,
8
],
[
31,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
9,
28
],
[
28,
29
],
[
0,
30
],
[
30,
31
],
[
30,
32
]
]
| [
"\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\tint x=ob.nextInt();\n\t\tSystem.out.println(x^1);\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\tint x=ob.nextInt();\n\t\tSystem.out.println(x^1);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\tint x=ob.nextInt();\n\t\tSystem.out.println(x^1);\n\t}",
"main",
"{\n\t\tScanner ob=new Scanner(System.in);\n\tint x=ob.nextInt();\n\t\tSystem.out.println(x^1);\n\t}",
"Scanner ob=new Scanner(System.in);",
"ob",
"new Scanner(System.in)",
"int x=ob.nextInt();",
"x",
"ob.nextInt()",
"ob.nextInt",
"ob",
"System.out.println(x^1)",
"System.out.println",
"System.out",
"System",
"System.out",
"x^1",
"x",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\tint x=ob.nextInt();\n\t\tSystem.out.println(x^1);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\tint x=ob.nextInt();\n\t\tSystem.out.println(x^1);\n\t}\n}",
"Main"
]
|
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner ob=new Scanner(System.in);
int x=ob.nextInt();
System.out.println(x^1);
}
}
|
[
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,
8,
2,
13,
17,
17,
17,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
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,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
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
],
[
202,
8
],
[
202,
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
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
26,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
11,
35
],
[
35,
36
],
[
36,
37
],
[
9,
38
],
[
38,
39
],
[
202,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
42,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
63,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
63,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
63,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
42,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
40,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
104,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
109,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
103,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
93,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
130,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
126,
143
],
[
143,
144
],
[
93,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
152,
153
],
[
93,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
161,
162
],
[
93,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
167,
170
],
[
170,
171
],
[
93,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
179,
184
],
[
184,
185
],
[
184,
186
],
[
179,
187
],
[
187,
188
],
[
188,
189
],
[
179,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
195
],
[
195,
196
],
[
174,
197
],
[
197,
198
],
[
172,
199
],
[
199,
200
],
[
0,
201
],
[
201,
202
],
[
201,
203
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main {\n public static void main(String args[]) {\n FastScanner fs=new FastScanner(); \n PrintWriter out=new PrintWriter(System.out);\n int x=fs.nextInt();\n out.println(x==1?0:1);\n out.flush();\n out.close();\n }\n\tstatic void ruffleSort(int[] a) {\n \t\tRandom random=new Random();\n\t\tint n=a.length;\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n}\n class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\t\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}\n\t\t\t\tcatch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tString nextLine() {\n\t\t String str=\"\";\n\t\t try {\n\t\t str=br.readLine();\n\t\t }\n\t\t catch (IOException e) {\n\t\t e.printStackTrace(); \n\t\t }\n\t\t return str;\n\t\t}\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tdouble nextDouble() {\n\t\t return Double.parseDouble(next());\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String args[]) {\n FastScanner fs=new FastScanner(); \n PrintWriter out=new PrintWriter(System.out);\n int x=fs.nextInt();\n out.println(x==1?0:1);\n out.flush();\n out.close();\n }\n\tstatic void ruffleSort(int[] a) {\n \t\tRandom random=new Random();\n\t\tint n=a.length;\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n}",
"Main",
"public static void main(String args[]) {\n FastScanner fs=new FastScanner(); \n PrintWriter out=new PrintWriter(System.out);\n int x=fs.nextInt();\n out.println(x==1?0:1);\n out.flush();\n out.close();\n }",
"main",
"{\n FastScanner fs=new FastScanner(); \n PrintWriter out=new PrintWriter(System.out);\n int x=fs.nextInt();\n out.println(x==1?0:1);\n out.flush();\n out.close();\n }",
"FastScanner fs=new FastScanner();",
"fs",
"new FastScanner()",
"PrintWriter out=new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int x=fs.nextInt();",
"x",
"fs.nextInt()",
"fs.nextInt",
"fs",
"out.println(x==1?0:1)",
"out.println",
"out",
"x==1?0:1",
"x==1",
"x",
"1",
"0",
"1",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"String args[]",
"args",
"static void ruffleSort(int[] a) {\n \t\tRandom random=new Random();\n\t\tint n=a.length;\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}",
"ruffleSort",
"{\n \t\tRandom random=new Random();\n\t\tint n=a.length;\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}",
"Random random=new Random();",
"random",
"new Random()",
"int n=a.length;",
"n",
"a.length",
"a",
"a.length",
"for (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}",
"{\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}",
"int oi=random.nextInt(n)",
"oi",
"random.nextInt(n)",
"random.nextInt",
"random",
"n",
"temp=a[oi];",
"temp",
"a[oi]",
"a",
"oi",
"a[oi]=a[i]",
"a[oi]",
"a",
"oi",
"a[i]",
"a",
"i",
"a[i]=temp",
"a[i]",
"a",
"i",
"temp",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"int[] a",
"a",
"class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\t\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}\n\t\t\t\tcatch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tString nextLine() {\n\t\t String str=\"\";\n\t\t try {\n\t\t str=br.readLine();\n\t\t }\n\t\t catch (IOException e) {\n\t\t e.printStackTrace(); \n\t\t }\n\t\t return str;\n\t\t}\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tdouble nextDouble() {\n\t\t return Double.parseDouble(next());\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t}",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}\n\t\t\t\tcatch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}\n\t\t\t\tcatch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}\n\t\t\t\tcatch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}\n\t\t\t\tcatch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"String nextLine() {\n\t\t String str=\"\";\n\t\t try {\n\t\t str=br.readLine();\n\t\t }\n\t\t catch (IOException e) {\n\t\t e.printStackTrace(); \n\t\t }\n\t\t return str;\n\t\t}",
"nextLine",
"{\n\t\t String str=\"\";\n\t\t try {\n\t\t str=br.readLine();\n\t\t }\n\t\t catch (IOException e) {\n\t\t e.printStackTrace(); \n\t\t }\n\t\t return str;\n\t\t}",
"String str=\"\";",
"str",
"\"\"",
"try {\n\t\t str=br.readLine();\n\t\t }\n\t\t catch (IOException e) {\n\t\t e.printStackTrace(); \n\t\t }",
"catch (IOException e) {\n\t\t e.printStackTrace(); \n\t\t }",
"IOException e",
"{\n\t\t e.printStackTrace(); \n\t\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t str=br.readLine();\n\t\t }",
"str=br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"double nextDouble() {\n\t\t return Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t return Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"int[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"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 public static void main(String args[]) {\n FastScanner fs=new FastScanner(); \n PrintWriter out=new PrintWriter(System.out);\n int x=fs.nextInt();\n out.println(x==1?0:1);\n out.flush();\n out.close();\n }\n\tstatic void ruffleSort(int[] a) {\n \t\tRandom random=new Random();\n\t\tint n=a.length;\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n}",
"public class Main {\n public static void main(String args[]) {\n FastScanner fs=new FastScanner(); \n PrintWriter out=new PrintWriter(System.out);\n int x=fs.nextInt();\n out.println(x==1?0:1);\n out.flush();\n out.close();\n }\n\tstatic void ruffleSort(int[] a) {\n \t\tRandom random=new Random();\n\t\tint n=a.length;\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String args[]) {
FastScanner fs=new FastScanner();
PrintWriter out=new PrintWriter(System.out);
int x=fs.nextInt();
out.println(x==1?0:1);
out.flush();
out.close();
}
static void ruffleSort(int[] a) {
Random random=new Random();
int n=a.length;
for (int i=0; i<n; i++) {
int oi=random.nextInt(n), temp=a[oi];
a[oi]=a[i]; a[i]=temp;
}
Arrays.sort(a);
}
}
class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st=new StringTokenizer(br.readLine());
}
catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
String nextLine() {
String str="";
try {
str=br.readLine();
}
catch (IOException e) {
e.printStackTrace();
}
return str;
}
int nextInt() {
return Integer.parseInt(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
long nextLong() {
return Long.parseLong(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,
20,
41,
13,
20,
4,
18,
18,
13,
13,
2,
17,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
4,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
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,
20,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
4,
18,
13,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
298,
8
],
[
298,
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
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
9,
31
],
[
31,
32
],
[
298,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
33,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
45,
46
],
[
33,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
53,
54
],
[
33,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
58,
67
],
[
67,
68
],
[
67,
69
],
[
57,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
33,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
33,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
33,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
33,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
103,
107
],
[
33,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
33,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
129,
130
],
[
129,
131
],
[
124,
132
],
[
132,
133
],
[
133,
134
],
[
124,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
119,
142
],
[
142,
143
],
[
117,
144
],
[
144,
145
],
[
33,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
153,
158
],
[
158,
159
],
[
158,
160
],
[
153,
161
],
[
161,
162
],
[
162,
163
],
[
153,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
148,
170
],
[
170,
171
],
[
146,
172
],
[
172,
173
],
[
33,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
181,
186
],
[
186,
187
],
[
186,
188
],
[
181,
189
],
[
189,
190
],
[
190,
191
],
[
181,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
197,
198
],
[
176,
199
],
[
199,
200
],
[
174,
201
],
[
201,
202
],
[
33,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
210,
215
],
[
215,
216
],
[
215,
217
],
[
210,
218
],
[
218,
219
],
[
219,
220
],
[
210,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
205,
228
],
[
228,
229
],
[
203,
230
],
[
230,
231
],
[
33,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
237,
239
],
[
234,
240
],
[
240,
241
],
[
240,
242
],
[
234,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
243,
248
],
[
248,
249
],
[
248,
250
],
[
243,
251
],
[
251,
252
],
[
252,
253
],
[
243,
254
],
[
255,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
259,
260
],
[
258,
261
],
[
255,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
264,
266
],
[
255,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
267,
271
],
[
271,
272
],
[
271,
273
],
[
255,
274
],
[
274,
275
],
[
275,
276
],
[
275,
277
],
[
274,
278
],
[
234,
279
],
[
279,
280
],
[
232,
281
],
[
281,
282
],
[
33,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
33,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
293,
296
],
[
0,
297
],
[
297,
298
],
[
297,
299
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\tSystem.out.println(1 - sc.nextInt());\n\t\t\n\t\tpw.flush();\n\t}\n\n\tpublic static class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) throws IOException {\n\t\t\tint[] array = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextInt();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic Integer[] nextIntegerArray(int n) throws IOException {\n\t\t\tInteger[] array = new Integer[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = new Integer(nextInt());\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) throws IOException {\n\t\t\tlong[] array = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextLong();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic double[] nextDoubleArray(int n) throws IOException {\n\t\t\tdouble[] array = new double[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextDouble();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic static int[] shuffle(int[] a) {\n\t\t\tint n = a.length;\n\t\t\tRandom rand = new Random();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint tmpIdx = rand.nextInt(n);\n\t\t\t\tint tmp = a[i];\n\t\t\t\ta[i] = a[tmpIdx];\n\t\t\t\ta[tmpIdx] = tmp;\n\t\t\t}\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\tSystem.out.println(1 - sc.nextInt());\n\t\t\n\t\tpw.flush();\n\t}\n\n\tpublic static class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) throws IOException {\n\t\t\tint[] array = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextInt();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic Integer[] nextIntegerArray(int n) throws IOException {\n\t\t\tInteger[] array = new Integer[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = new Integer(nextInt());\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) throws IOException {\n\t\t\tlong[] array = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextLong();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic double[] nextDoubleArray(int n) throws IOException {\n\t\t\tdouble[] array = new double[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextDouble();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic static int[] shuffle(int[] a) {\n\t\t\tint n = a.length;\n\t\t\tRandom rand = new Random();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint tmpIdx = rand.nextInt(n);\n\t\t\t\tint tmp = a[i];\n\t\t\t\ta[i] = a[tmpIdx];\n\t\t\t\ta[tmpIdx] = tmp;\n\t\t\t}\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\tSystem.out.println(1 - sc.nextInt());\n\t\t\n\t\tpw.flush();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\tSystem.out.println(1 - sc.nextInt());\n\t\t\n\t\tpw.flush();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"System.out.println(1 - sc.nextInt())",
"System.out.println",
"System.out",
"System",
"System.out",
"1 - sc.nextInt()",
"1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"pw.flush()",
"pw.flush",
"pw",
"String[] args",
"args",
"public static class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) throws IOException {\n\t\t\tint[] array = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextInt();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic Integer[] nextIntegerArray(int n) throws IOException {\n\t\t\tInteger[] array = new Integer[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = new Integer(nextInt());\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) throws IOException {\n\t\t\tlong[] array = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextLong();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic double[] nextDoubleArray(int n) throws IOException {\n\t\t\tdouble[] array = new double[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextDouble();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic static int[] shuffle(int[] a) {\n\t\t\tint n = a.length;\n\t\t\tRandom rand = new Random();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint tmpIdx = rand.nextInt(n);\n\t\t\t\tint tmp = a[i];\n\t\t\t\ta[i] = a[tmpIdx];\n\t\t\t\ta[tmpIdx] = tmp;\n\t\t\t}\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"Scanner",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(system))",
"br",
"new BufferedReader(new InputStreamReader(system))",
"InputStream system",
"system",
"public Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"Scanner",
"{\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"br = new BufferedReader(new FileReader(file))",
"br",
"new BufferedReader(new FileReader(file))",
"String file",
"file",
"public String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"while (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}",
"nextLine",
"{\n\t\t\treturn br.readLine();\n\t\t}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}",
"nextChar",
"{\n\t\t\treturn next().charAt(0);\n\t\t}",
"return next().charAt(0);",
"next().charAt(0)",
"next().charAt",
"next()",
"next",
"0",
"public long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public int[] nextIntArray(int n) throws IOException {\n\t\t\tint[] array = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextInt();\n\t\t\treturn array;\n\t\t}",
"nextIntArray",
"{\n\t\t\tint[] array = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextInt();\n\t\t\treturn array;\n\t\t}",
"int[] array = new int[n];",
"array",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\t\tarray[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 Integer[] nextIntegerArray(int n) throws IOException {\n\t\t\tInteger[] array = new Integer[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = new Integer(nextInt());\n\t\t\treturn array;\n\t\t}",
"nextIntegerArray",
"{\n\t\t\tInteger[] array = new Integer[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = new Integer(nextInt());\n\t\t\treturn array;\n\t\t}",
"Integer[] array = new Integer[n];",
"array",
"new Integer[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = new Integer(nextInt());",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = new Integer(nextInt());",
"array[i] = new Integer(nextInt())",
"array[i]",
"array",
"i",
"new Integer(nextInt())",
"return array;",
"array",
"int n",
"n",
"public long[] nextLongArray(int n) throws IOException {\n\t\t\tlong[] array = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextLong();\n\t\t\treturn array;\n\t\t}",
"nextLongArray",
"{\n\t\t\tlong[] array = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextLong();\n\t\t\treturn array;\n\t\t}",
"long[] array = new long[n];",
"array",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\t\tarray[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 double[] nextDoubleArray(int n) throws IOException {\n\t\t\tdouble[] array = new double[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextDouble();\n\t\t\treturn array;\n\t\t}",
"nextDoubleArray",
"{\n\t\t\tdouble[] array = new double[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextDouble();\n\t\t\treturn array;\n\t\t}",
"double[] array = new double[n];",
"array",
"new double[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\t\tarray[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 static int[] shuffle(int[] a) {\n\t\t\tint n = a.length;\n\t\t\tRandom rand = new Random();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint tmpIdx = rand.nextInt(n);\n\t\t\t\tint tmp = a[i];\n\t\t\t\ta[i] = a[tmpIdx];\n\t\t\t\ta[tmpIdx] = tmp;\n\t\t\t}\n\t\t\treturn a;\n\t\t}",
"shuffle",
"{\n\t\t\tint n = a.length;\n\t\t\tRandom rand = new Random();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint tmpIdx = rand.nextInt(n);\n\t\t\t\tint tmp = a[i];\n\t\t\t\ta[i] = a[tmpIdx];\n\t\t\t\ta[tmpIdx] = tmp;\n\t\t\t}\n\t\t\treturn a;\n\t\t}",
"int n = a.length;",
"n",
"a.length",
"a",
"a.length",
"Random rand = new Random();",
"rand",
"new Random()",
"for (int i = 0; i < n; i++) {\n\t\t\t\tint tmpIdx = rand.nextInt(n);\n\t\t\t\tint tmp = a[i];\n\t\t\t\ta[i] = a[tmpIdx];\n\t\t\t\ta[tmpIdx] = tmp;\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tint tmpIdx = rand.nextInt(n);\n\t\t\t\tint tmp = a[i];\n\t\t\t\ta[i] = a[tmpIdx];\n\t\t\t\ta[tmpIdx] = tmp;\n\t\t\t}",
"{\n\t\t\t\tint tmpIdx = rand.nextInt(n);\n\t\t\t\tint tmp = a[i];\n\t\t\t\ta[i] = a[tmpIdx];\n\t\t\t\ta[tmpIdx] = tmp;\n\t\t\t}",
"int tmpIdx = rand.nextInt(n);",
"tmpIdx",
"rand.nextInt(n)",
"rand.nextInt",
"rand",
"n",
"int tmp = a[i];",
"tmp",
"a[i]",
"a",
"i",
"a[i] = a[tmpIdx]",
"a[i]",
"a",
"i",
"a[tmpIdx]",
"a",
"tmpIdx",
"a[tmpIdx] = tmp",
"a[tmpIdx]",
"a",
"tmpIdx",
"tmp",
"return a;",
"a",
"int[] a",
"a",
"public boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}",
"ready",
"{\n\t\t\treturn br.ready();\n\t\t}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}",
"waitForInput",
"{\n\t\t\tThread.sleep(3000);\n\t\t}",
"Thread.sleep(3000)",
"Thread.sleep",
"Thread",
"3000",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\tSystem.out.println(1 - sc.nextInt());\n\t\t\n\t\tpw.flush();\n\t}\n\n\tpublic static class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) throws IOException {\n\t\t\tint[] array = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextInt();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic Integer[] nextIntegerArray(int n) throws IOException {\n\t\t\tInteger[] array = new Integer[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = new Integer(nextInt());\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) throws IOException {\n\t\t\tlong[] array = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextLong();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic double[] nextDoubleArray(int n) throws IOException {\n\t\t\tdouble[] array = new double[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextDouble();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic static int[] shuffle(int[] a) {\n\t\t\tint n = a.length;\n\t\t\tRandom rand = new Random();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint tmpIdx = rand.nextInt(n);\n\t\t\t\tint tmp = a[i];\n\t\t\t\ta[i] = a[tmpIdx];\n\t\t\t\ta[tmpIdx] = tmp;\n\t\t\t}\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\tSystem.out.println(1 - sc.nextInt());\n\t\t\n\t\tpw.flush();\n\t}\n\n\tpublic static class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextIntArray(int n) throws IOException {\n\t\t\tint[] array = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextInt();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic Integer[] nextIntegerArray(int n) throws IOException {\n\t\t\tInteger[] array = new Integer[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = new Integer(nextInt());\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic long[] nextLongArray(int n) throws IOException {\n\t\t\tlong[] array = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextLong();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic double[] nextDoubleArray(int n) throws IOException {\n\t\t\tdouble[] array = new double[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tarray[i] = nextDouble();\n\t\t\treturn array;\n\t\t}\n\n\t\tpublic static int[] shuffle(int[] a) {\n\t\t\tint n = a.length;\n\t\t\tRandom rand = new Random();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint tmpIdx = rand.nextInt(n);\n\t\t\t\tint tmp = a[i];\n\t\t\t\ta[i] = a[tmpIdx];\n\t\t\t\ta[tmpIdx] = tmp;\n\t\t\t}\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
PrintWriter pw = new PrintWriter(System.out);
System.out.println(1 - sc.nextInt());
pw.flush();
}
public static class Scanner {
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream system) {
br = new BufferedReader(new InputStreamReader(system));
}
public Scanner(String file) throws Exception {
br = new BufferedReader(new FileReader(file));
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public String nextLine() throws IOException {
return br.readLine();
}
public int nextInt() throws IOException {
return Integer.parseInt(next());
}
public double nextDouble() throws IOException {
return Double.parseDouble(next());
}
public char nextChar() throws IOException {
return next().charAt(0);
}
public long nextLong() throws IOException {
return Long.parseLong(next());
}
public int[] nextIntArray(int n) throws IOException {
int[] array = new int[n];
for (int i = 0; i < n; i++)
array[i] = nextInt();
return array;
}
public Integer[] nextIntegerArray(int n) throws IOException {
Integer[] array = new Integer[n];
for (int i = 0; i < n; i++)
array[i] = new Integer(nextInt());
return array;
}
public long[] nextLongArray(int n) throws IOException {
long[] array = new long[n];
for (int i = 0; i < n; i++)
array[i] = nextLong();
return array;
}
public double[] nextDoubleArray(int n) throws IOException {
double[] array = new double[n];
for (int i = 0; i < n; i++)
array[i] = nextDouble();
return array;
}
public static int[] shuffle(int[] a) {
int n = a.length;
Random rand = new Random();
for (int i = 0; i < n; i++) {
int tmpIdx = rand.nextInt(n);
int tmp = a[i];
a[i] = a[tmpIdx];
a[tmpIdx] = tmp;
}
return a;
}
public boolean ready() throws IOException {
return br.ready();
}
public void waitForInput() throws InterruptedException {
Thread.sleep(3000);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
44,
11
],
[
44,
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
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
12,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
]
| [
"import java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = sc.nextInt();\n\t\tif(x == 0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {System.out.println(0);}\n\n\t}\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = sc.nextInt();\n\t\tif(x == 0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {System.out.println(0);}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = sc.nextInt();\n\t\tif(x == 0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {System.out.println(0);}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = sc.nextInt();\n\t\tif(x == 0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {System.out.println(0);}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {System.out.println(0);}",
"x == 0",
"x",
"0",
"{\n\t\t\tSystem.out.println(1);\n\t\t}",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"{System.out.println(0);}",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = sc.nextInt();\n\t\tif(x == 0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {System.out.println(0);}\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = sc.nextInt();\n\t\tif(x == 0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {System.out.println(0);}\n\n\t}\n\n}",
"Main"
]
| import java.util.Arrays;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
if(x == 0) {
System.out.println(1);
}else {System.out.println(0);}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
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,
41,
13,
4,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
186,
20
],
[
186,
21
],
[
21,
22
],
[
21,
23
],
[
186,
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
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
26,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
24,
55
],
[
55,
56
],
[
186,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
77,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
77,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
77,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
59,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
57,
105
],
[
105,
106
],
[
186,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
112,
113
],
[
112,
114
],
[
107,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
118,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
123,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
117,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
107,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
145,
146
],
[
107,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
154,
159
],
[
159,
160
],
[
159,
161
],
[
154,
162
],
[
162,
163
],
[
163,
164
],
[
154,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
149,
172
],
[
172,
173
],
[
147,
174
],
[
174,
175
],
[
107,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
183,
184
],
[
0,
185
],
[
185,
186
],
[
185,
187
]
]
| [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Random;\nimport java.util.StringTokenizer;\n\n//Main\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tint n=sc.nextInt();\n\t\tif (n==0)\n\t\t\tSystem.out.println(1);\n\t\tif (n==1)\n\t\t\tSystem.out.println(0);\n\n\t}\n\n\tstatic final Random random = new Random();\n\n\tstatic void ruffleSort(int[] a) {\n\t\tint n = a.length;//shuffle, then sort \n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Random;",
"Random",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tint n=sc.nextInt();\n\t\tif (n==0)\n\t\t\tSystem.out.println(1);\n\t\tif (n==1)\n\t\t\tSystem.out.println(0);\n\n\t}\n\n\tstatic final Random random = new Random();\n\n\tstatic void ruffleSort(int[] a) {\n\t\tint n = a.length;//shuffle, then sort \n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n}",
"Main",
"static final Random random = new Random();",
"random",
"new Random()",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tint n=sc.nextInt();\n\t\tif (n==0)\n\t\t\tSystem.out.println(1);\n\t\tif (n==1)\n\t\t\tSystem.out.println(0);\n\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner();\n\t\tint n=sc.nextInt();\n\t\tif (n==0)\n\t\t\tSystem.out.println(1);\n\t\tif (n==1)\n\t\t\tSystem.out.println(0);\n\n\t}",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (n==0)\n\t\t\tSystem.out.println(1);",
"n==0",
"n",
"0",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"if (n==1)\n\t\t\tSystem.out.println(0);",
"n==1",
"n",
"1",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"static void ruffleSort(int[] a) {\n\t\tint n = a.length;//shuffle, then sort \n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}",
"ruffleSort",
"{\n\t\tint n = a.length;//shuffle, then sort \n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}",
"int n = a.length;",
"n",
"a.length",
"a",
"a.length",
"for (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}",
"{\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}",
"int oi = random.nextInt(n)",
"oi",
"random.nextInt(n)",
"random.nextInt",
"random",
"n",
"temp = a[oi];",
"temp",
"a[oi]",
"a",
"oi",
"a[oi] = a[i]",
"a[oi]",
"a",
"oi",
"a[i]",
"a",
"i",
"a[i] = temp",
"a[i]",
"a",
"i",
"temp",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"int[] a",
"a",
"static class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}",
"FastScanner",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tint n=sc.nextInt();\n\t\tif (n==0)\n\t\t\tSystem.out.println(1);\n\t\tif (n==1)\n\t\t\tSystem.out.println(0);\n\n\t}\n\n\tstatic final Random random = new Random();\n\n\tstatic void ruffleSort(int[] a) {\n\t\tint n = a.length;//shuffle, then sort \n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tint n=sc.nextInt();\n\t\tif (n==0)\n\t\t\tSystem.out.println(1);\n\t\tif (n==1)\n\t\t\tSystem.out.println(0);\n\n\t}\n\n\tstatic final Random random = new Random();\n\n\tstatic void ruffleSort(int[] a) {\n\t\tint n = a.length;//shuffle, then sort \n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Random;
import java.util.StringTokenizer;
//Main
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner();
int n=sc.nextInt();
if (n==0)
System.out.println(1);
if (n==1)
System.out.println(0);
}
static final Random random = new Random();
static void ruffleSort(int[] a) {
int n = a.length;//shuffle, then sort
for (int i = 0; i < n; i++) {
int oi = random.nextInt(n), temp = a[oi];
a[oi] = a[i];
a[i] = temp;
}
Arrays.sort(a);
}
static class FastScanner {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
4,
13,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
2,
17,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
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,
38,
5,
13,
30,
4,
18,
13,
30,
29,
4,
18,
13,
29,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
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
],
[
161,
14
],
[
161,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
17,
37
],
[
37,
38
],
[
38,
39
],
[
15,
40
],
[
40,
41
],
[
161,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
42,
56
],
[
56,
57
],
[
42,
58
],
[
58,
59
],
[
161,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
62,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
60,
79
],
[
79,
80
],
[
60,
81
],
[
81,
82
],
[
161,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
94,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
99,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
93,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
83,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
117,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
116,
129
],
[
129,
130
],
[
114,
131
],
[
131,
132
],
[
83,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
140,
141
],
[
83,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
149,
150
],
[
83,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
158,
159
],
[
0,
160
],
[
160,
161
],
[
160,
162
]
]
| [
"import java.io.*;\nimport java.math.*;\nimport java.util.*;\nimport java.lang.*;\n\n// import java.text.DecimalFormat; \n// import java.text.DecimalFormatSymbols; \n/*\n \n \n \n */\n\npublic class Main {\n\n public static void main(String args[] ) throws Exception {\n PrintWriter pw=new PrintWriter(System.out);\n FastScanner sc = new FastScanner();\n \n int t=1;\n //t = sc.ni();\n while(t-->0) {\n \tsolve(pw,sc);\n }\n \n pw.close();\n }\n \n private static void solve(PrintWriter pw, FastScanner sc) {\n \tint x = sc.ni();\n \tpw.print(1-x);\n\t}\n \n\n\tstatic <T> void deb(T x,int o){\n System.out.print(x);\n if(o==0) {\n \t System.out.println();\n \t \n }\n }\n \n \n static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\t\n\t\tpublic String ne() {\n\t\t\twhile (!st.hasMoreElements())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic String ne(int k) {\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn \"Not able to read\";\n\t\t}\n\t\t\n\t\tint ni() {\n\t\t\treturn Integer.parseInt(ne());\n\t\t}\n\t\t\n\t\tlong nl() {\n\t\t\treturn Long.parseLong(ne());\n\t\t}\n\t\t\n\t\tdouble nd() {\n\t\t\treturn Double.parseDouble(ne());\n\t\t}\n\t\t\n\t \n\t}\n \n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n\n public static void main(String args[] ) throws Exception {\n PrintWriter pw=new PrintWriter(System.out);\n FastScanner sc = new FastScanner();\n \n int t=1;\n //t = sc.ni();\n while(t-->0) {\n \tsolve(pw,sc);\n }\n \n pw.close();\n }\n \n private static void solve(PrintWriter pw, FastScanner sc) {\n \tint x = sc.ni();\n \tpw.print(1-x);\n\t}\n \n\n\tstatic <T> void deb(T x,int o){\n System.out.print(x);\n if(o==0) {\n \t System.out.println();\n \t \n }\n }\n \n \n static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\t\n\t\tpublic String ne() {\n\t\t\twhile (!st.hasMoreElements())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic String ne(int k) {\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn \"Not able to read\";\n\t\t}\n\t\t\n\t\tint ni() {\n\t\t\treturn Integer.parseInt(ne());\n\t\t}\n\t\t\n\t\tlong nl() {\n\t\t\treturn Long.parseLong(ne());\n\t\t}\n\t\t\n\t\tdouble nd() {\n\t\t\treturn Double.parseDouble(ne());\n\t\t}\n\t\t\n\t \n\t}\n \n}",
"Main",
"public static void main(String args[] ) throws Exception {\n PrintWriter pw=new PrintWriter(System.out);\n FastScanner sc = new FastScanner();\n \n int t=1;\n //t = sc.ni();\n while(t-->0) {\n \tsolve(pw,sc);\n }\n \n pw.close();\n }",
"main",
"{\n PrintWriter pw=new PrintWriter(System.out);\n FastScanner sc = new FastScanner();\n \n int t=1;\n //t = sc.ni();\n while(t-->0) {\n \tsolve(pw,sc);\n }\n \n pw.close();\n }",
"PrintWriter pw=new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"int t=1;",
"t",
"1",
"while(t-->0) {\n \tsolve(pw,sc);\n }",
"t-->0",
"t--",
"t",
"0",
"{\n \tsolve(pw,sc);\n }",
"solve(pw,sc)",
"solve",
"pw",
"sc",
"pw.close()",
"pw.close",
"pw",
"String args[]",
"args",
"private static void solve(PrintWriter pw, FastScanner sc) {\n \tint x = sc.ni();\n \tpw.print(1-x);\n\t}",
"solve",
"{\n \tint x = sc.ni();\n \tpw.print(1-x);\n\t}",
"int x = sc.ni();",
"x",
"sc.ni()",
"sc.ni",
"sc",
"pw.print(1-x)",
"pw.print",
"pw",
"1-x",
"1",
"x",
"PrintWriter pw",
"pw",
"FastScanner sc",
"sc",
"static <T> void deb(T x,int o){\n System.out.print(x);\n if(o==0) {\n \t System.out.println();\n \t \n }\n }",
"deb",
"{\n System.out.print(x);\n if(o==0) {\n \t System.out.println();\n \t \n }\n }",
"System.out.print(x)",
"System.out.print",
"System.out",
"System",
"System.out",
"x",
"if(o==0) {\n \t System.out.println();\n \t \n }",
"o==0",
"o",
"0",
"{\n \t System.out.println();\n \t \n }",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"T x",
"x",
"int o",
"o",
"static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\t\n\t\tpublic String ne() {\n\t\t\twhile (!st.hasMoreElements())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic String ne(int k) {\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn \"Not able to read\";\n\t\t}\n\t\t\n\t\tint ni() {\n\t\t\treturn Integer.parseInt(ne());\n\t\t}\n\t\t\n\t\tlong nl() {\n\t\t\treturn Long.parseLong(ne());\n\t\t}\n\t\t\n\t\tdouble nd() {\n\t\t\treturn Double.parseDouble(ne());\n\t\t}\n\t\t\n\t \n\t}",
"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 ne() {\n\t\t\twhile (!st.hasMoreElements())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"ne",
"{\n\t\t\twhile (!st.hasMoreElements())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (!st.hasMoreElements())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public String ne(int k) {\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn \"Not able to read\";\n\t\t}",
"ne",
"{\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn \"Not able to read\";\n\t\t}",
"try {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\treturn br.readLine();\n\t\t\t}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"return \"Not able to read\";",
"\"Not able to read\"",
"int k",
"k",
"int ni() {\n\t\t\treturn Integer.parseInt(ne());\n\t\t}",
"ni",
"{\n\t\t\treturn Integer.parseInt(ne());\n\t\t}",
"return Integer.parseInt(ne());",
"Integer.parseInt(ne())",
"Integer.parseInt",
"Integer",
"ne()",
"ne",
"long nl() {\n\t\t\treturn Long.parseLong(ne());\n\t\t}",
"nl",
"{\n\t\t\treturn Long.parseLong(ne());\n\t\t}",
"return Long.parseLong(ne());",
"Long.parseLong(ne())",
"Long.parseLong",
"Long",
"ne()",
"ne",
"double nd() {\n\t\t\treturn Double.parseDouble(ne());\n\t\t}",
"nd",
"{\n\t\t\treturn Double.parseDouble(ne());\n\t\t}",
"return Double.parseDouble(ne());",
"Double.parseDouble(ne())",
"Double.parseDouble",
"Double",
"ne()",
"ne",
"public class Main {\n\n public static void main(String args[] ) throws Exception {\n PrintWriter pw=new PrintWriter(System.out);\n FastScanner sc = new FastScanner();\n \n int t=1;\n //t = sc.ni();\n while(t-->0) {\n \tsolve(pw,sc);\n }\n \n pw.close();\n }\n \n private static void solve(PrintWriter pw, FastScanner sc) {\n \tint x = sc.ni();\n \tpw.print(1-x);\n\t}\n \n\n\tstatic <T> void deb(T x,int o){\n System.out.print(x);\n if(o==0) {\n \t System.out.println();\n \t \n }\n }\n \n \n static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\t\n\t\tpublic String ne() {\n\t\t\twhile (!st.hasMoreElements())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic String ne(int k) {\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn \"Not able to read\";\n\t\t}\n\t\t\n\t\tint ni() {\n\t\t\treturn Integer.parseInt(ne());\n\t\t}\n\t\t\n\t\tlong nl() {\n\t\t\treturn Long.parseLong(ne());\n\t\t}\n\t\t\n\t\tdouble nd() {\n\t\t\treturn Double.parseDouble(ne());\n\t\t}\n\t\t\n\t \n\t}\n \n}",
"public class Main {\n\n public static void main(String args[] ) throws Exception {\n PrintWriter pw=new PrintWriter(System.out);\n FastScanner sc = new FastScanner();\n \n int t=1;\n //t = sc.ni();\n while(t-->0) {\n \tsolve(pw,sc);\n }\n \n pw.close();\n }\n \n private static void solve(PrintWriter pw, FastScanner sc) {\n \tint x = sc.ni();\n \tpw.print(1-x);\n\t}\n \n\n\tstatic <T> void deb(T x,int o){\n System.out.print(x);\n if(o==0) {\n \t System.out.println();\n \t \n }\n }\n \n \n static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\t\n\t\tpublic String ne() {\n\t\t\twhile (!st.hasMoreElements())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic String ne(int k) {\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn \"Not able to read\";\n\t\t}\n\t\t\n\t\tint ni() {\n\t\t\treturn Integer.parseInt(ne());\n\t\t}\n\t\t\n\t\tlong nl() {\n\t\t\treturn Long.parseLong(ne());\n\t\t}\n\t\t\n\t\tdouble nd() {\n\t\t\treturn Double.parseDouble(ne());\n\t\t}\n\t\t\n\t \n\t}\n \n}",
"Main"
]
| import java.io.*;
import java.math.*;
import java.util.*;
import java.lang.*;
// import java.text.DecimalFormat;
// import java.text.DecimalFormatSymbols;
/*
*/
public class Main {
public static void main(String args[] ) throws Exception {
PrintWriter pw=new PrintWriter(System.out);
FastScanner sc = new FastScanner();
int t=1;
//t = sc.ni();
while(t-->0) {
solve(pw,sc);
}
pw.close();
}
private static void solve(PrintWriter pw, FastScanner sc) {
int x = sc.ni();
pw.print(1-x);
}
static <T> void deb(T x,int o){
System.out.print(x);
if(o==0) {
System.out.println();
}
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
public String ne() {
while (!st.hasMoreElements())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
public String ne(int k) {
try {
return br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return "Not able to read";
}
int ni() {
return Integer.parseInt(ne());
}
long nl() {
return Long.parseLong(ne());
}
double nd() {
return Double.parseDouble(ne());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
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
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
]
| [
"import java.util.*;\npublic class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int ans = 0;\n if(x==0){\n ans = 1;\n }else{\n ans = 0;\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 int x = sc.nextInt();\n int ans = 0;\n if(x==0){\n ans = 1;\n }else{\n ans = 0;\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 int x = sc.nextInt();\n int ans = 0;\n if(x==0){\n ans = 1;\n }else{\n ans = 0;\n }\n \n System.out.println(ans); \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int ans = 0;\n if(x==0){\n ans = 1;\n }else{\n ans = 0;\n }\n \n System.out.println(ans); \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int ans = 0;",
"ans",
"0",
"if(x==0){\n ans = 1;\n }else{\n ans = 0;\n }",
"x==0",
"x",
"0",
"{\n ans = 1;\n }",
"ans = 1",
"ans",
"1",
"{\n ans = 0;\n }",
"ans = 0",
"ans",
"0",
"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 int x = sc.nextInt();\n int ans = 0;\n if(x==0){\n ans = 1;\n }else{\n ans = 0;\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 int x = sc.nextInt();\n int ans = 0;\n if(x==0){\n ans = 1;\n }else{\n ans = 0;\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);
int x = sc.nextInt();
int ans = 0;
if(x==0){
ans = 1;
}else{
ans = 0;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
13,
2,
4,
18,
13,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
20,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
42,
2,
0,
13,
4,
13,
40,
17,
30,
14,
2,
13,
17,
3,
0,
18,
13,
40,
13,
13,
29,
20,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
2,
13,
17,
30,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
0,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
17,
13,
14,
2,
13,
40,
17,
0,
18,
13,
17,
40,
17,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
386,
14
],
[
386,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
15,
26
],
[
26,
27
],
[
15,
28
],
[
28,
29
],
[
386,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
32,
44
],
[
44,
45
],
[
45,
46
],
[
32,
47
],
[
47,
48
],
[
48,
49
],
[
32,
50
],
[
50,
51
],
[
51,
52
],
[
30,
53
],
[
53,
54
],
[
386,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
55,
62
],
[
62,
63
],
[
55,
64
],
[
64,
65
],
[
55,
66
],
[
66,
67
],
[
55,
68
],
[
68,
69
],
[
55,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
72,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
55,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
87,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
85,
100
],
[
100,
101
],
[
55,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
104,
112
],
[
112,
113
],
[
104,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
115,
120
],
[
120,
121
],
[
114,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
122,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
128,
133
],
[
104,
134
],
[
134,
135
],
[
55,
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
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
138,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
156,
158
],
[
138,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
138,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
167,
172
],
[
166,
173
],
[
173,
174
],
[
173,
175
],
[
165,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
184
],
[
179,
185
],
[
138,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
138,
191
],
[
191,
192
],
[
55,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
195,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
203,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
195,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
213,
215
],
[
195,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
195,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
224,
229
],
[
223,
230
],
[
230,
231
],
[
230,
232
],
[
222,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
237,
241
],
[
236,
242
],
[
195,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
246,
247
],
[
195,
248
],
[
248,
249
],
[
55,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
256
],
[
256,
257
],
[
256,
258
],
[
252,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
252,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
263,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
252,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
273,
275
],
[
252,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
252,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
284,
289
],
[
283,
290
],
[
290,
291
],
[
290,
292
],
[
282,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
297,
301
],
[
296,
302
],
[
252,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
303,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
310,
315
],
[
309,
316
],
[
316,
317
],
[
316,
318
],
[
308,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
322,
326
],
[
326,
327
],
[
326,
328
],
[
252,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
332,
333
],
[
252,
334
],
[
334,
335
],
[
55,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
341,
342
],
[
342,
343
],
[
341,
344
],
[
341,
345
],
[
345,
346
],
[
345,
347
],
[
341,
348
],
[
338,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
349,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
354,
358
],
[
358,
359
],
[
55,
360
],
[
360,
361
],
[
360,
362
],
[
362,
363
],
[
363,
364
],
[
364,
365
],
[
364,
366
],
[
363,
367
],
[
367,
368
],
[
362,
369
],
[
369,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
55,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
377,
381
],
[
376,
382
],
[
382,
383
],
[
383,
384
],
[
0,
385
],
[
385,
386
],
[
385,
387
]
]
| [
"import java.io.DataInputStream;\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.io.PrintWriter;\n\npublic class Main {\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[1_000_010]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n void solve(Reader sc, PrintWriter pw) throws IOException {\n pw.println(sc.nextInt() ^ 1);\n }\n public static void main(String[] args) throws IOException {\n Reader sc = new Reader();\n PrintWriter pw = new PrintWriter(System.out);\n// PrintWriter pw = new PrintWriter(System.out, true);\n new Main().solve(sc, pw);\n pw.flush();\n pw.close();\n sc.close();\n }\n}\n\n",
"import java.io.DataInputStream;",
"DataInputStream",
"java.io",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"public class Main {\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[1_000_010]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n void solve(Reader sc, PrintWriter pw) throws IOException {\n pw.println(sc.nextInt() ^ 1);\n }\n public static void main(String[] args) throws IOException {\n Reader sc = new Reader();\n PrintWriter pw = new PrintWriter(System.out);\n// PrintWriter pw = new PrintWriter(System.out, true);\n new Main().solve(sc, pw);\n pw.flush();\n pw.close();\n sc.close();\n }\n}",
"Main",
"void solve(Reader sc, PrintWriter pw) throws IOException {\n pw.println(sc.nextInt() ^ 1);\n }",
"solve",
"{\n pw.println(sc.nextInt() ^ 1);\n }",
"pw.println(sc.nextInt() ^ 1)",
"pw.println",
"pw",
"sc.nextInt() ^ 1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"1",
"Reader sc",
"sc",
"PrintWriter pw",
"pw",
"public static void main(String[] args) throws IOException {\n Reader sc = new Reader();\n PrintWriter pw = new PrintWriter(System.out);\n// PrintWriter pw = new PrintWriter(System.out, true);\n new Main().solve(sc, pw);\n pw.flush();\n pw.close();\n sc.close();\n }",
"main",
"{\n Reader sc = new Reader();\n PrintWriter pw = new PrintWriter(System.out);\n// PrintWriter pw = new PrintWriter(System.out, true);\n new Main().solve(sc, pw);\n pw.flush();\n pw.close();\n sc.close();\n }",
"Reader sc = new Reader();",
"sc",
"new Reader()",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"new Main().solve(sc, pw)",
"new Main().solve",
"new Main()",
"sc",
"pw",
"pw.flush()",
"pw.flush",
"pw",
"pw.close()",
"pw.close",
"pw",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[1_000_010]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }",
"Reader",
"final private int BUFFER_SIZE = 1 << 16;",
"BUFFER_SIZE",
"1 << 16",
"1",
"16",
"private DataInputStream din;",
"din",
"private byte[] buffer;",
"buffer",
"private int bufferPointer",
"bufferPointer",
"bytesRead;",
"bytesRead",
"public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"Reader",
"{\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"din = new DataInputStream(System.in)",
"din",
"new DataInputStream(System.in)",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"Reader",
"{\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"din = new DataInputStream(new FileInputStream(file_name))",
"din",
"new DataInputStream(new FileInputStream(file_name))",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"String file_name",
"file_name",
"public String readLine() throws IOException\n {\n byte[] buf = new byte[1_000_010]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }",
"readLine",
"{\n byte[] buf = new byte[1_000_010]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }",
"byte[] buf = new byte[1_000_010];",
"buf",
"new byte[1_000_010]",
"1_000_010",
"int cnt = 0",
"cnt",
"0",
"c;",
"c",
"while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }",
"(c = read()) != -1",
"(c = read())",
"c",
"read()",
"read",
"-1",
"1",
"{\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }",
"if (c == '\\n')\n break;",
"c == '\\n'",
"c",
"'\\n'",
"break;",
"buf[cnt++] = (byte) c",
"buf[cnt++]",
"buf",
"cnt++",
"cnt",
"(byte) c",
"return new String(buf, 0, cnt);",
"new String(buf, 0, cnt)",
"public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }",
"nextInt",
"{\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }",
"int ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n ret = ret * 10 + c - '0';\n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg)\n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }",
"nextLong",
"{\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }",
"long ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n ret = ret * 10 + c - '0';\n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg)\n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }",
"nextDouble",
"{\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }",
"double ret = 0",
"ret",
"0",
"div = 1;",
"div",
"1",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ')\n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg)\n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n ret = ret * 10 + c - '0';\n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }",
"c == '.'",
"c",
"'.'",
"{\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }",
"while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{\n ret += (c - '0') / (div *= 10);\n }",
"ret += (c - '0') / (div *= 10)",
"ret",
"(c - '0') / (div *= 10)",
"(c - '0')",
"c",
"'0'",
"(div *= 10)",
"div",
"10",
"if (neg)\n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }",
"fillBuffer",
"{\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }",
"bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"bytesRead",
"din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"din.read",
"din",
"buffer",
"bufferPointer = 0",
"bufferPointer",
"0",
"BUFFER_SIZE",
"if (bytesRead == -1)\n buffer[0] = -1;",
"bytesRead == -1",
"bytesRead",
"-1",
"1",
"buffer[0] = -1",
"buffer[0]",
"buffer",
"0",
"-1",
"1",
"private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }",
"read",
"{\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }",
"if (bufferPointer == bytesRead)\n fillBuffer();",
"bufferPointer == bytesRead",
"bufferPointer",
"bytesRead",
"fillBuffer()",
"fillBuffer",
"return buffer[bufferPointer++];",
"buffer[bufferPointer++]",
"buffer",
"bufferPointer++",
"bufferPointer",
"public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }",
"close",
"{\n if (din == null)\n return;\n din.close();\n }",
"if (din == null)\n return;",
"din == null",
"din",
"null",
"return;",
"din.close()",
"din.close",
"din",
"public class Main {\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[1_000_010]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n void solve(Reader sc, PrintWriter pw) throws IOException {\n pw.println(sc.nextInt() ^ 1);\n }\n public static void main(String[] args) throws IOException {\n Reader sc = new Reader();\n PrintWriter pw = new PrintWriter(System.out);\n// PrintWriter pw = new PrintWriter(System.out, true);\n new Main().solve(sc, pw);\n pw.flush();\n pw.close();\n sc.close();\n }\n}",
"public class Main {\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[1_000_010]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n void solve(Reader sc, PrintWriter pw) throws IOException {\n pw.println(sc.nextInt() ^ 1);\n }\n public static void main(String[] args) throws IOException {\n Reader sc = new Reader();\n PrintWriter pw = new PrintWriter(System.out);\n// PrintWriter pw = new PrintWriter(System.out, true);\n new Main().solve(sc, pw);\n pw.flush();\n pw.close();\n sc.close();\n }\n}",
"Main"
]
| import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.PrintWriter;
public class Main {
static class Reader
{
final private int BUFFER_SIZE = 1 << 16;
private DataInputStream din;
private byte[] buffer;
private int bufferPointer, bytesRead;
public Reader()
{
din = new DataInputStream(System.in);
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public Reader(String file_name) throws IOException
{
din = new DataInputStream(new FileInputStream(file_name));
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public String readLine() throws IOException
{
byte[] buf = new byte[1_000_010]; // line length
int cnt = 0, c;
while ((c = read()) != -1)
{
if (c == '\n')
break;
buf[cnt++] = (byte) c;
}
return new String(buf, 0, cnt);
}
public int nextInt() throws IOException
{
int ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do
{
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public long nextLong() throws IOException
{
long ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public double nextDouble() throws IOException
{
double ret = 0, div = 1;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (c == '.')
{
while ((c = read()) >= '0' && c <= '9')
{
ret += (c - '0') / (div *= 10);
}
}
if (neg)
return -ret;
return ret;
}
private void fillBuffer() throws IOException
{
bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);
if (bytesRead == -1)
buffer[0] = -1;
}
private byte read() throws IOException
{
if (bufferPointer == bytesRead)
fillBuffer();
return buffer[bufferPointer++];
}
public void close() throws IOException
{
if (din == null)
return;
din.close();
}
}
void solve(Reader sc, PrintWriter pw) throws IOException {
pw.println(sc.nextInt() ^ 1);
}
public static void main(String[] args) throws IOException {
Reader sc = new Reader();
PrintWriter pw = new PrintWriter(System.out);
// PrintWriter pw = new PrintWriter(System.out, true);
new Main().solve(sc, pw);
pw.flush();
pw.close();
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
2,
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,
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
],
[
479,
14
],
[
479,
15
],
[
15,
16
],
[
15,
17
],
[
479,
18
],
[
18,
19
],
[
18,
20
],
[
479,
21
],
[
21,
22
],
[
479,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
25,
40
],
[
40,
41
],
[
41,
42
],
[
23,
43
],
[
43,
44
],
[
479,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
45,
56
],
[
56,
57
],
[
56,
58
],
[
45,
59
],
[
59,
60
],
[
59,
61
],
[
45,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
65,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
76,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
72,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
95,
96
],
[
64,
97
],
[
97,
98
],
[
45,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
102,
110
],
[
110,
111
],
[
111,
112
],
[
45,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
121,
123
],
[
113,
124
],
[
124,
125
],
[
45,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
136,
138
],
[
129,
139
],
[
139,
140
],
[
45,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
146,
147
],
[
147,
148
],
[
45,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
152,
156
],
[
156,
157
],
[
151,
158
],
[
158,
159
],
[
158,
160
],
[
151,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
151,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
169,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
151,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
45,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
189,
190
],
[
45,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
194,
198
],
[
198,
199
],
[
193,
200
],
[
200,
201
],
[
200,
202
],
[
193,
203
],
[
203,
204
],
[
203,
205
],
[
193,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
193,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
193,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
227
],
[
227,
228
],
[
227,
229
],
[
222,
230
],
[
230,
231
],
[
231,
232
],
[
193,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
237,
241
],
[
241,
242
],
[
241,
243
],
[
236,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
244,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
250,
252
],
[
236,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
254,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
253,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
265,
269
],
[
253,
270
],
[
270,
271
],
[
271,
272
],
[
235,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
45,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
45,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
292,
293
],
[
292,
294
],
[
288,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
295,
300
],
[
300,
301
],
[
300,
302
],
[
295,
303
],
[
303,
304
],
[
304,
305
],
[
295,
306
],
[
307,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
308,
312
],
[
312,
313
],
[
313,
314
],
[
288,
315
],
[
315,
316
],
[
286,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
317,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
322,
327
],
[
327,
328
],
[
327,
329
],
[
322,
330
],
[
330,
331
],
[
331,
332
],
[
322,
333
],
[
334,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
336,
338
],
[
335,
339
],
[
339,
340
],
[
340,
341
],
[
317,
342
],
[
342,
343
],
[
283,
344
],
[
344,
345
],
[
283,
346
],
[
346,
347
],
[
45,
348
],
[
348,
349
],
[
348,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
357,
358
],
[
357,
359
],
[
353,
360
],
[
360,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
360,
365
],
[
365,
366
],
[
365,
367
],
[
360,
368
],
[
368,
369
],
[
369,
370
],
[
360,
371
],
[
372,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
373,
377
],
[
377,
378
],
[
378,
379
],
[
353,
380
],
[
380,
381
],
[
351,
382
],
[
382,
383
],
[
383,
384
],
[
383,
385
],
[
382,
387
],
[
387,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
387,
392
],
[
392,
393
],
[
392,
394
],
[
387,
395
],
[
395,
396
],
[
396,
397
],
[
387,
398
],
[
399,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
401,
403
],
[
400,
404
],
[
404,
405
],
[
405,
406
],
[
382,
407
],
[
407,
408
],
[
348,
409
],
[
409,
410
],
[
348,
411
],
[
411,
412
],
[
45,
413
],
[
413,
414
],
[
413,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
418,
419
],
[
419,
420
],
[
419,
421
],
[
422,
423
],
[
422,
424
],
[
418,
425
],
[
425,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
425,
430
],
[
430,
431
],
[
430,
432
],
[
425,
433
],
[
433,
434
],
[
434,
435
],
[
425,
436
],
[
437,
437
],
[
437,
438
],
[
438,
439
],
[
439,
440
],
[
439,
441
],
[
438,
442
],
[
442,
443
],
[
443,
444
],
[
418,
445
],
[
445,
446
],
[
416,
447
],
[
447,
448
],
[
448,
449
],
[
448,
450
],
[
447,
452
],
[
452,
453
],
[
453,
454
],
[
454,
455
],
[
454,
456
],
[
452,
457
],
[
457,
458
],
[
457,
459
],
[
452,
460
],
[
460,
461
],
[
461,
462
],
[
452,
463
],
[
464,
464
],
[
464,
465
],
[
465,
466
],
[
466,
467
],
[
466,
468
],
[
465,
469
],
[
469,
470
],
[
470,
471
],
[
447,
472
],
[
472,
473
],
[
413,
474
],
[
474,
475
],
[
413,
476
],
[
476,
477
],
[
0,
478
],
[
478,
479
],
[
478,
480
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\n\nimport java.util.NoSuchElementException;\n\npublic class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\t//static HashMap <String, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\t\n\t\tout.println(Math.abs(n-1));\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\t\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t \n\t public double [] nextDoubleArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t \n\t }\n\t\n\t\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\t//static HashMap <String, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\t\n\t\tout.println(Math.abs(n-1));\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\t\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t \n\t public double [] nextDoubleArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t \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",
"public static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\t\n\t\tout.println(Math.abs(n-1));\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}",
"main",
"{\n\t\tn = sc.nextInt();\n\t\t\n\t\tout.println(Math.abs(n-1));\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"out.println(Math.abs(n-1))",
"out.println",
"out",
"Math.abs(n-1)",
"Math.abs",
"Math",
"n-1",
"n",
"1",
"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 \n\t public double [] nextDoubleArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\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 double [] nextDoubleArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }",
"nextDoubleArray",
"{\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }",
"if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }",
"oneBased",
"{\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }",
"double [] array = new double[N + 1];",
"array",
"new double[N + 1]",
"N + 1",
"N",
"1",
"for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t array[i] = sc.nextDouble();\n\t\t }",
"{\n\t\t array[i] = sc.nextDouble();\n\t\t }",
"array[i] = sc.nextDouble()",
"array[i]",
"array",
"i",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"return array;",
"array",
"{\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }",
"double[] array = new double[N];",
"array",
"new double[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t array[i] = sc.nextDouble();\n\t\t }",
"{\n\t\t array[i] = sc.nextDouble();\n\t\t }",
"array[i] = sc.nextDouble()",
"array[i]",
"array",
"i",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"return array;",
"array",
"int N",
"N",
"boolean oneBased",
"oneBased",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\t//static HashMap <String, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\t\n\t\tout.println(Math.abs(n-1));\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\t\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t \n\t public double [] nextDoubleArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t \n\t }\n\t\n\t\n}",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\t//static HashMap <String, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\t\n\t\tout.println(Math.abs(n-1));\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\t\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t \n\t public double [] nextDoubleArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t \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 HashMap <String, Integer> map;
public static void main(String[] args) {
n = sc.nextInt();
out.println(Math.abs(n-1));
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;
}
}
public double [] nextDoubleArray(int N, boolean oneBased) {
if (oneBased) {
double [] array = new double[N + 1];
for (int i = 1; i <= N; i++) {
array[i] = sc.nextDouble();
}
return array;
} else {
double[] array = new double[N];
for (int i = 0; i < N; i++) {
array[i] = sc.nextDouble();
}
return array;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
38,
5
],
[
38,
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
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
6,
35
],
[
35,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
]
]
| [
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n if(x == 0){\n System.out.println(1);\n }else{\n System.out.println(0);\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 int x = sc.nextInt();\n if(x == 0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n if(x == 0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n if(x == 0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }",
"x == 0",
"x",
"0",
"{\n System.out.println(1);\n }",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"{\n System.out.println(0);\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n if(x == 0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n if(x == 0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
if(x == 0){
System.out.println(1);
}else{
System.out.println(0);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
17,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
30,
5
],
[
30,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
6,
27
],
[
27,
28
],
[
0,
29
],
[
29,
30
],
[
29,
31
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt();\n\t\t\tSystem.out.println(1 - x);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt();\n\t\t\tSystem.out.println(1 - x);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt();\n\t\t\tSystem.out.println(1 - x);\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt();\n\t\t\tSystem.out.println(1 - x);\n\t\t}\n\t}",
"try (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt();\n\t\t\tSystem.out.println(1 - x);\n\t\t}",
"{\n\t\t\tint x = scanner.nextInt();\n\t\t\tSystem.out.println(1 - x);\n\t\t}",
"Scanner scanner = new Scanner(System.in)",
"Scanner scanner = new Scanner(System.in)",
"new Scanner(System.in)",
"int x = scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(1 - x)",
"System.out.println",
"System.out",
"System",
"System.out",
"1 - x",
"1",
"x",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt();\n\t\t\tSystem.out.println(1 - x);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt();\n\t\t\tSystem.out.println(1 - x);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner scanner = new Scanner(System.in)) {
int x = scanner.nextInt();
System.out.println(1 - x);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
52,
11
],
[
52,
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
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
14,
32
],
[
32,
33
],
[
33,
34
],
[
12,
35
],
[
35,
36
],
[
52,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
37,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
]
| [
"//Created by Aminul on 9/13/2020.\n\nimport java.io.*;\nimport java.util.*;\nimport static java.lang.Math.*;\n\npublic class Main {\n public static void main(String[] args)throws Exception {\n Scanner in = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int x = in.nextInt();\n pw.println(x ^ 1);\n \n pw.close();\n }\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"public class Main {\n public static void main(String[] args)throws Exception {\n Scanner in = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int x = in.nextInt();\n pw.println(x ^ 1);\n \n pw.close();\n }\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\n }\n}",
"Main",
"public static void main(String[] args)throws Exception {\n Scanner in = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int x = in.nextInt();\n pw.println(x ^ 1);\n \n pw.close();\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int x = in.nextInt();\n pw.println(x ^ 1);\n \n pw.close();\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"pw.println(x ^ 1)",
"pw.println",
"pw",
"x ^ 1",
"x",
"1",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\n }",
"debug",
"{\n System.err.println(Arrays.deepToString(obj));\n }",
"System.err.println(Arrays.deepToString(obj))",
"System.err.println",
"System.err",
"System",
"System.err",
"Arrays.deepToString(obj)",
"Arrays.deepToString",
"Arrays",
"obj",
"Object...obj",
"obj",
"public class Main {\n public static void main(String[] args)throws Exception {\n Scanner in = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int x = in.nextInt();\n pw.println(x ^ 1);\n \n pw.close();\n }\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\n }\n}",
"public class Main {\n public static void main(String[] args)throws Exception {\n Scanner in = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int x = in.nextInt();\n pw.println(x ^ 1);\n \n pw.close();\n }\n\n static void debug(Object...obj) {\n System.err.println(Arrays.deepToString(obj));\n }\n}",
"Main"
]
| //Created by Aminul on 9/13/2020.
import java.io.*;
import java.util.*;
import static java.lang.Math.*;
public class Main {
public static void main(String[] args)throws Exception {
Scanner in = new Scanner(System.in);
PrintWriter pw = new PrintWriter(System.out);
int x = in.nextInt();
pw.println(x ^ 1);
pw.close();
}
static void debug(Object...obj) {
System.err.println(Arrays.deepToString(obj));
}
} |
[
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,
18,
13,
13,
8,
2,
13,
17,
17,
17,
23,
13,
6,
13,
12,
13,
30,
4,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
4,
18,
13,
2,
18,
13,
13,
13,
4,
13,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
4,
18,
13,
2,
18,
13,
13,
13,
4,
13,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
23,
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
321,
20
],
[
321,
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
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
37,
42
],
[
21,
43
],
[
43,
44
],
[
321,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
47,
57
],
[
57,
58
],
[
45,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
59,
69
],
[
69,
70
],
[
45,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
77,
89
],
[
89,
90
],
[
90,
91
],
[
77,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
93,
106
],
[
106,
107
],
[
106,
108
],
[
106,
109
],
[
106,
110
],
[
71,
111
],
[
111,
112
],
[
45,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
119,
131
],
[
131,
132
],
[
132,
133
],
[
119,
134
],
[
135,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
135,
148
],
[
148,
149
],
[
148,
150
],
[
148,
151
],
[
148,
152
],
[
113,
153
],
[
153,
154
],
[
45,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
160,
162
],
[
157,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
167
],
[
167,
168
],
[
167,
169
],
[
157,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
155,
175
],
[
175,
176
],
[
155,
177
],
[
177,
178
],
[
155,
179
],
[
179,
180
],
[
45,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
186,
188
],
[
183,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
193,
194
],
[
193,
195
],
[
183,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
200
],
[
181,
201
],
[
201,
202
],
[
181,
203
],
[
203,
204
],
[
181,
205
],
[
205,
206
],
[
45,
207
],
[
207,
208
],
[
207,
209
],
[
321,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
212,
214
],
[
210,
215
],
[
215,
216
],
[
215,
217
],
[
210,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
221,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
227,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
220,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
210,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
246,
249
],
[
249,
250
],
[
210,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
255,
258
],
[
258,
259
],
[
210,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
262,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
267,
272
],
[
272,
273
],
[
272,
274
],
[
267,
275
],
[
275,
276
],
[
276,
277
],
[
267,
278
],
[
279,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
284
],
[
284,
285
],
[
262,
286
],
[
286,
287
],
[
260,
288
],
[
288,
289
],
[
210,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
292,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
297,
302
],
[
302,
303
],
[
302,
304
],
[
297,
305
],
[
305,
306
],
[
306,
307
],
[
297,
308
],
[
309,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
310,
314
],
[
314,
315
],
[
292,
316
],
[
316,
317
],
[
290,
318
],
[
318,
319
],
[
0,
320
],
[
320,
321
],
[
320,
322
]
]
| [
"\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Random;\nimport java.util.StringTokenizer;\n\npublic final class Main {\n\n public static void main(String[] args) {\n final FastScanner fs = new FastScanner();\n final int n = fs.nextInt();\n System.out.println(n == 0 ? 1 : 0);\n }\n\n static final class Util {\n public static void shuffleSort(int[] x) {\n shuffle(x);\n Arrays.sort(x);\n }\n\n public static void shuffleSort(long[] x) {\n shuffle(x);\n Arrays.sort(x);\n }\n\n public static void shuffle(int[] x) {\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }\n\n public static void shuffle(long[] x) {\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }\n\n public static void swap(int[] x, int i, int j) {\n final int t = x[i];\n x[i] = x[j];\n x[j] = t;\n }\n\n public static void swap(long[] x, int i, int j) {\n final long t = x[i];\n x[i] = x[j];\n x[j] = t;\n }\n\n private Util() {}\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n private String next() {\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n int[] nextIntArray(int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++) { a[i] = nextInt(); }\n return a;\n }\n\n long[] nextLongArray(int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++) { a[i] = nextLong(); }\n return a;\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Random;",
"Random",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public final class Main {\n\n public static void main(String[] args) {\n final FastScanner fs = new FastScanner();\n final int n = fs.nextInt();\n System.out.println(n == 0 ? 1 : 0);\n }\n\n static final class Util {\n public static void shuffleSort(int[] x) {\n shuffle(x);\n Arrays.sort(x);\n }\n\n public static void shuffleSort(long[] x) {\n shuffle(x);\n Arrays.sort(x);\n }\n\n public static void shuffle(int[] x) {\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }\n\n public static void shuffle(long[] x) {\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }\n\n public static void swap(int[] x, int i, int j) {\n final int t = x[i];\n x[i] = x[j];\n x[j] = t;\n }\n\n public static void swap(long[] x, int i, int j) {\n final long t = x[i];\n x[i] = x[j];\n x[j] = t;\n }\n\n private Util() {}\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n private String next() {\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n int[] nextIntArray(int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++) { a[i] = nextInt(); }\n return a;\n }\n\n long[] nextLongArray(int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++) { a[i] = nextLong(); }\n return a;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n final FastScanner fs = new FastScanner();\n final int n = fs.nextInt();\n System.out.println(n == 0 ? 1 : 0);\n }",
"main",
"{\n final FastScanner fs = new FastScanner();\n final int n = fs.nextInt();\n System.out.println(n == 0 ? 1 : 0);\n }",
"final FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"final int n = fs.nextInt();",
"n",
"fs.nextInt()",
"fs.nextInt",
"fs",
"System.out.println(n == 0 ? 1 : 0)",
"System.out.println",
"System.out",
"System",
"System.out",
"n == 0 ? 1 : 0",
"n == 0",
"n",
"0",
"1",
"0",
"String[] args",
"args",
"static final class Util {\n public static void shuffleSort(int[] x) {\n shuffle(x);\n Arrays.sort(x);\n }\n\n public static void shuffleSort(long[] x) {\n shuffle(x);\n Arrays.sort(x);\n }\n\n public static void shuffle(int[] x) {\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }\n\n public static void shuffle(long[] x) {\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }\n\n public static void swap(int[] x, int i, int j) {\n final int t = x[i];\n x[i] = x[j];\n x[j] = t;\n }\n\n public static void swap(long[] x, int i, int j) {\n final long t = x[i];\n x[i] = x[j];\n x[j] = t;\n }\n\n private Util() {}\n }",
"Util",
"public static void shuffleSort(int[] x) {\n shuffle(x);\n Arrays.sort(x);\n }",
"shuffleSort",
"{\n shuffle(x);\n Arrays.sort(x);\n }",
"shuffle(x)",
"shuffle",
"x",
"Arrays.sort(x)",
"Arrays.sort",
"Arrays",
"x",
"int[] x",
"x",
"public static void shuffleSort(long[] x) {\n shuffle(x);\n Arrays.sort(x);\n }",
"shuffleSort",
"{\n shuffle(x);\n Arrays.sort(x);\n }",
"shuffle(x)",
"shuffle",
"x",
"Arrays.sort(x)",
"Arrays.sort",
"Arrays",
"x",
"long[] x",
"x",
"public static void shuffle(int[] x) {\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }",
"shuffle",
"{\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }",
"final Random r = new Random();",
"r",
"new Random()",
"for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= x.length - 2",
"i",
"x.length - 2",
"x.length",
"x",
"x.length",
"2",
"i++",
"i++",
"i",
"{\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }",
"{\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }",
"final int j = i + r.nextInt(x.length - i);",
"j",
"i + r.nextInt(x.length - i)",
"i",
"r.nextInt(x.length - i)",
"r.nextInt",
"r",
"x.length - i",
"x.length",
"x",
"x.length",
"i",
"swap(x, i, j)",
"swap",
"x",
"i",
"j",
"int[] x",
"x",
"public static void shuffle(long[] x) {\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }",
"shuffle",
"{\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }",
"final Random r = new Random();",
"r",
"new Random()",
"for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= x.length - 2",
"i",
"x.length - 2",
"x.length",
"x",
"x.length",
"2",
"i++",
"i++",
"i",
"{\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }",
"{\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }",
"final int j = i + r.nextInt(x.length - i);",
"j",
"i + r.nextInt(x.length - i)",
"i",
"r.nextInt(x.length - i)",
"r.nextInt",
"r",
"x.length - i",
"x.length",
"x",
"x.length",
"i",
"swap(x, i, j)",
"swap",
"x",
"i",
"j",
"long[] x",
"x",
"public static void swap(int[] x, int i, int j) {\n final int t = x[i];\n x[i] = x[j];\n x[j] = t;\n }",
"swap",
"{\n final int t = x[i];\n x[i] = x[j];\n x[j] = t;\n }",
"final int t = x[i];",
"t",
"x[i]",
"x",
"i",
"x[i] = x[j]",
"x[i]",
"x",
"i",
"x[j]",
"x",
"j",
"x[j] = t",
"x[j]",
"x",
"j",
"t",
"int[] x",
"x",
"int i",
"i",
"int j",
"j",
"public static void swap(long[] x, int i, int j) {\n final long t = x[i];\n x[i] = x[j];\n x[j] = t;\n }",
"swap",
"{\n final long t = x[i];\n x[i] = x[j];\n x[j] = t;\n }",
"final long t = x[i];",
"t",
"x[i]",
"x",
"i",
"x[i] = x[j]",
"x[i]",
"x",
"i",
"x[j]",
"x",
"j",
"x[j] = t",
"x[j]",
"x",
"j",
"t",
"long[] x",
"x",
"int i",
"i",
"int j",
"j",
"private Util() {}",
"Util",
"{}",
"static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n private String next() {\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n int[] nextIntArray(int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++) { a[i] = nextInt(); }\n return a;\n }\n\n long[] nextLongArray(int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++) { a[i] = nextLong(); }\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(\"\")",
"private String next() {\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }",
"catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }",
"IOException e",
"{\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"int[] nextIntArray(int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++) { a[i] = nextInt(); }\n return a;\n }",
"nextIntArray",
"{\n final int[] a = new int[n];\n for (int i = 0; i < n; i++) { a[i] = nextInt(); }\n return a;\n }",
"final int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) { 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] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long[] nextLongArray(int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++) { a[i] = nextLong(); }\n return a;\n }",
"nextLongArray",
"{\n final long[] a = new long[n];\n for (int i = 0; i < n; i++) { a[i] = nextLong(); }\n return a;\n }",
"final long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) { 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] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"public final class Main {\n\n public static void main(String[] args) {\n final FastScanner fs = new FastScanner();\n final int n = fs.nextInt();\n System.out.println(n == 0 ? 1 : 0);\n }\n\n static final class Util {\n public static void shuffleSort(int[] x) {\n shuffle(x);\n Arrays.sort(x);\n }\n\n public static void shuffleSort(long[] x) {\n shuffle(x);\n Arrays.sort(x);\n }\n\n public static void shuffle(int[] x) {\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }\n\n public static void shuffle(long[] x) {\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }\n\n public static void swap(int[] x, int i, int j) {\n final int t = x[i];\n x[i] = x[j];\n x[j] = t;\n }\n\n public static void swap(long[] x, int i, int j) {\n final long t = x[i];\n x[i] = x[j];\n x[j] = t;\n }\n\n private Util() {}\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n private String next() {\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n int[] nextIntArray(int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++) { a[i] = nextInt(); }\n return a;\n }\n\n long[] nextLongArray(int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++) { a[i] = nextLong(); }\n return a;\n }\n }\n}",
"public final class Main {\n\n public static void main(String[] args) {\n final FastScanner fs = new FastScanner();\n final int n = fs.nextInt();\n System.out.println(n == 0 ? 1 : 0);\n }\n\n static final class Util {\n public static void shuffleSort(int[] x) {\n shuffle(x);\n Arrays.sort(x);\n }\n\n public static void shuffleSort(long[] x) {\n shuffle(x);\n Arrays.sort(x);\n }\n\n public static void shuffle(int[] x) {\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }\n\n public static void shuffle(long[] x) {\n final Random r = new Random();\n\n for (int i = 0; i <= x.length - 2; i++) {\n final int j = i + r.nextInt(x.length - i);\n swap(x, i, j);\n }\n }\n\n public static void swap(int[] x, int i, int j) {\n final int t = x[i];\n x[i] = x[j];\n x[j] = t;\n }\n\n public static void swap(long[] x, int i, int j) {\n final long t = x[i];\n x[i] = x[j];\n x[j] = t;\n }\n\n private Util() {}\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n private String next() {\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n int[] nextIntArray(int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++) { a[i] = nextInt(); }\n return a;\n }\n\n long[] nextLongArray(int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++) { a[i] = nextLong(); }\n return a;\n }\n }\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Random;
import java.util.StringTokenizer;
public final class Main {
public static void main(String[] args) {
final FastScanner fs = new FastScanner();
final int n = fs.nextInt();
System.out.println(n == 0 ? 1 : 0);
}
static final class Util {
public static void shuffleSort(int[] x) {
shuffle(x);
Arrays.sort(x);
}
public static void shuffleSort(long[] x) {
shuffle(x);
Arrays.sort(x);
}
public static void shuffle(int[] x) {
final Random r = new Random();
for (int i = 0; i <= x.length - 2; i++) {
final int j = i + r.nextInt(x.length - i);
swap(x, i, j);
}
}
public static void shuffle(long[] x) {
final Random r = new Random();
for (int i = 0; i <= x.length - 2; i++) {
final int j = i + r.nextInt(x.length - i);
swap(x, i, j);
}
}
public static void swap(int[] x, int i, int j) {
final int t = x[i];
x[i] = x[j];
x[j] = t;
}
public static void swap(long[] x, int i, int j) {
final long t = x[i];
x[i] = x[j];
x[j] = t;
}
private Util() {}
}
static class FastScanner {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer("");
private String next() {
while (!st.hasMoreTokens()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
//noinspection CallToPrintStackTrace
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
int[] nextIntArray(int n) {
final int[] a = new int[n];
for (int i = 0; i < n; i++) { a[i] = nextInt(); }
return a;
}
long[] nextLongArray(int n) {
final long[] a = new long[n];
for (int i = 0; i < n; i++) { a[i] = nextLong(); }
return a;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
17,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
31,
5
],
[
31,
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
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
6,
28
],
[
28,
29
],
[
0,
30
],
[
30,
31
],
[
30,
32
]
]
| [
"import java.io.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint x = Integer.parseInt(br.readLine());\n\n\t\tSystem.out.println(1 - x);\n\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint x = Integer.parseInt(br.readLine());\n\n\t\tSystem.out.println(1 - x);\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint x = Integer.parseInt(br.readLine());\n\n\t\tSystem.out.println(1 - x);\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint x = Integer.parseInt(br.readLine());\n\n\t\tSystem.out.println(1 - x);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int x = Integer.parseInt(br.readLine());",
"x",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"System.out.println(1 - x)",
"System.out.println",
"System.out",
"System",
"System.out",
"1 - x",
"1",
"x",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint x = Integer.parseInt(br.readLine());\n\n\t\tSystem.out.println(1 - x);\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint x = Integer.parseInt(br.readLine());\n\n\t\tSystem.out.println(1 - x);\n\n\t}\n}",
"Main"
]
| import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(br.readLine());
System.out.println(1 - x);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
6,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
17,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
13,
20
],
[
20,
21
],
[
20,
22
],
[
13,
24
],
[
24,
25
],
[
24,
26
],
[
13,
27
],
[
27,
28
],
[
27,
29
],
[
13,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
33,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
44,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
40,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
32,
65
],
[
65,
66
],
[
13,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
13,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
81,
92
],
[
92,
93
],
[
13,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
97,
107
],
[
107,
108
],
[
96,
109
],
[
109,
110
],
[
110,
111
],
[
13,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
115,
119
],
[
119,
120
],
[
114,
121
],
[
121,
122
],
[
121,
123
],
[
114,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
114,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
132,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
114,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
13,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
148,
152
],
[
152,
153
],
[
147,
154
],
[
154,
155
],
[
154,
156
],
[
147,
157
],
[
157,
158
],
[
157,
159
],
[
147,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
147,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
147,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
181,
183
],
[
176,
184
],
[
184,
185
],
[
185,
186
],
[
147,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
195
],
[
195,
196
],
[
195,
197
],
[
190,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
204,
206
],
[
190,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
208,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
207,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
219,
223
],
[
207,
224
],
[
224,
225
],
[
225,
226
],
[
189,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
13,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
233,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
242,
244
],
[
239,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
247,
249
],
[
238,
250
],
[
250,
251
],
[
233,
252
],
[
252,
253
],
[
13,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
258,
261
],
[
261,
262
],
[
0,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
265,
271
],
[
271,
272
],
[
263,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
282,
283
],
[
275,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
284,
289
],
[
289,
290
],
[
289,
291
],
[
263,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
295,
300
],
[
300,
301
],
[
301,
302
],
[
300,
303
],
[
292,
304
],
[
304,
305
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.Arrays;\nimport java.util.NoSuchElementException;\n\nclass FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n public long nextLong() {\n if (!hasNext()) throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n public double nextDouble() { return Double.parseDouble(next());}\n}\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tint x=sc.nextInt();\n\t\tSystem.out.println(x^1);\n\t}\n\t\n\tvoid tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n public long nextLong() {\n if (!hasNext()) throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n public double nextDouble() { return Double.parseDouble(next());}\n}",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"readByte",
"{ if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"if (hasNextByte()) return buffer[ptr++]; else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}",
"isPrintableChar",
"{ return 33 <= c && c <= 126;}",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"hasNext",
"{ while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n if (!hasNext()) throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextLong",
"{\n if (!hasNext()) throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }",
"nextInt",
"{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public double nextDouble() { return Double.parseDouble(next());}",
"nextDouble",
"{ return Double.parseDouble(next());}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n\t\n\tvoid run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tint x=sc.nextInt();\n\t\tSystem.out.println(x^1);\n\t}\n\t\n\tvoid tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}\n}",
"Main",
"public static void main(String[] args) {\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",
"void run() {\n\t\tFastScanner sc=new FastScanner();\n\t\tint x=sc.nextInt();\n\t\tSystem.out.println(x^1);\n\t}",
"run",
"{\n\t\tFastScanner sc=new FastScanner();\n\t\tint x=sc.nextInt();\n\t\tSystem.out.println(x^1);\n\t}",
"FastScanner sc=new FastScanner();",
"sc",
"new FastScanner()",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(x^1)",
"System.out.println",
"System.out",
"System",
"System.out",
"x^1",
"x",
"1",
"void tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}",
"tr",
"{System.out.println(Arrays.deepToString(objects));}",
"System.out.println(Arrays.deepToString(objects))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.deepToString(objects)",
"Arrays.deepToString",
"Arrays",
"objects",
"Object...objects",
"objects"
]
| import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.NoSuchElementException;
class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
}else{
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}
private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}
public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}
public String next() {
if (!hasNext()) throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while(isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext()) throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while(true){
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
}else if(b == -1 || !isPrintableChar(b)){
return minus ? -n : n;
}else{
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();
return (int) nl;
}
public double nextDouble() { return Double.parseDouble(next());}
}
class Main {
public static void main(String[] args) {
new Main().run();
}
void run() {
FastScanner sc=new FastScanner();
int x=sc.nextInt();
System.out.println(x^1);
}
void tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
8,
2,
13,
17,
17,
17,
41,
13,
8,
40,
13,
17,
17,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
51,
8
],
[
51,
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
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
25,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
9,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x = Integer.parseInt(scan.next());\n boolean bool = x == 1 ? true : false;\n int result = !bool ? 1 : 0;\n PrintWriter out = new PrintWriter(System.out);\n out.println(result);\n out.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 scan = new Scanner(System.in);\n int x = Integer.parseInt(scan.next());\n boolean bool = x == 1 ? true : false;\n int result = !bool ? 1 : 0;\n PrintWriter out = new PrintWriter(System.out);\n out.println(result);\n out.flush();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x = Integer.parseInt(scan.next());\n boolean bool = x == 1 ? true : false;\n int result = !bool ? 1 : 0;\n PrintWriter out = new PrintWriter(System.out);\n out.println(result);\n out.flush();\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int x = Integer.parseInt(scan.next());\n boolean bool = x == 1 ? true : false;\n int result = !bool ? 1 : 0;\n PrintWriter out = new PrintWriter(System.out);\n out.println(result);\n out.flush();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x = Integer.parseInt(scan.next());",
"x",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"boolean bool = x == 1 ? true : false;",
"bool",
"x == 1 ? true : false",
"x == 1",
"x",
"1",
"true",
"false",
"int result = !bool ? 1 : 0;",
"result",
"!bool ? 1 : 0",
"!bool",
"bool",
"1",
"0",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"out.println(result)",
"out.println",
"out",
"result",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x = Integer.parseInt(scan.next());\n boolean bool = x == 1 ? true : false;\n int result = !bool ? 1 : 0;\n PrintWriter out = new PrintWriter(System.out);\n out.println(result);\n out.flush();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x = Integer.parseInt(scan.next());\n boolean bool = x == 1 ? true : false;\n int result = !bool ? 1 : 0;\n PrintWriter out = new PrintWriter(System.out);\n out.println(result);\n out.flush();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x = Integer.parseInt(scan.next());
boolean bool = x == 1 ? true : false;
int result = !bool ? 1 : 0;
PrintWriter out = new PrintWriter(System.out);
out.println(result);
out.flush();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
17,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
31,
5
],
[
31,
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
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
22,
27
],
[
6,
28
],
[
28,
29
],
[
0,
30
],
[
30,
31
],
[
30,
32
]
]
| [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tSystem.out.print(x == 0? 1:0);\n\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tSystem.out.print(x == 0? 1:0);\n\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tSystem.out.print(x == 0? 1:0);\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tSystem.out.print(x == 0? 1:0);\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.print(x == 0? 1:0)",
"System.out.print",
"System.out",
"System",
"System.out",
"x == 0? 1:0",
"x == 0",
"x",
"0",
"1",
"0",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tSystem.out.print(x == 0? 1:0);\n\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tSystem.out.print(x == 0? 1:0);\n\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
System.out.print(x == 0? 1:0);
}
}
|
[
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,
41,
13,
17,
41,
13,
2,
17,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
17,
17,
17,
12,
13,
30,
20,
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
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
44,
46
],
[
34,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
49,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
49,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
66,
71
],
[
34,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
72,
76
],
[
76,
77
]
]
| [
"import java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Comparator;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Iterator;\nimport java.util.List;\nimport java.util.Map.Entry;\nimport java.util.PriorityQueue;\nimport java.util.Scanner;\n\nclass Main {\n static final int MOD = 1000000007;\n static final int INF = 1 << 30;\n static final int ALF = 26;\n\n Main() {\n Scanner sc = new Scanner(System.in);\n long ans = 0;\n int N = sc.nextInt();\n System.out.println(N==0?1:0);\n }\n\n public static void main(String[] args) {\n new Main();\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.Iterator;",
"Iterator",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Map.Entry;",
"Entry",
"java.util.Map",
"import java.util.PriorityQueue;",
"PriorityQueue",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n static final int MOD = 1000000007;\n static final int INF = 1 << 30;\n static final int ALF = 26;\n\n Main() {\n Scanner sc = new Scanner(System.in);\n long ans = 0;\n int N = sc.nextInt();\n System.out.println(N==0?1:0);\n }\n\n public static void main(String[] args) {\n new Main();\n }\n}",
"Main",
"static final int MOD = 1000000007;",
"MOD",
"1000000007",
"static final int INF = 1 << 30;",
"INF",
"1 << 30",
"1",
"30",
"static final int ALF = 26;",
"ALF",
"26",
"Main() {\n Scanner sc = new Scanner(System.in);\n long ans = 0;\n int N = sc.nextInt();\n System.out.println(N==0?1:0);\n }",
"Main",
"{\n Scanner sc = new Scanner(System.in);\n long ans = 0;\n int N = sc.nextInt();\n System.out.println(N==0?1:0);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long ans = 0;",
"ans",
"0",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(N==0?1:0)",
"System.out.println",
"System.out",
"System",
"System.out",
"N==0?1:0",
"N==0",
"N",
"0",
"1",
"0",
"public static void main(String[] args) {\n new Main();\n }",
"main",
"{\n new Main();\n }",
"new Main()",
"String[] args",
"args"
]
| import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map.Entry;
import java.util.PriorityQueue;
import java.util.Scanner;
class Main {
static final int MOD = 1000000007;
static final int INF = 1 << 30;
static final int ALF = 26;
Main() {
Scanner sc = new Scanner(System.in);
long ans = 0;
int N = sc.nextInt();
System.out.println(N==0?1:0);
}
public static void main(String[] args) {
new Main();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
47,
11
],
[
47,
12
],
[
12,
13
],
[
12,
14
],
[
47,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
15,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.math.BigInteger;\n \npublic class Main {\n\tpublic static long mod = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\tint N = s.nextInt();\n\tif(N == 1){\n\t\tSystem.out.println(0);\n\t}else{\n\t\tSystem.out.println(1);\n\t}\n\n\t\n\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"public class Main {\n\tpublic static long mod = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\tint N = s.nextInt();\n\tif(N == 1){\n\t\tSystem.out.println(0);\n\t}else{\n\t\tSystem.out.println(1);\n\t}\n\n\t\n\n \n }\n}",
"Main",
"public static long mod = 1000000007;",
"mod",
"1000000007",
"public static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\tint N = s.nextInt();\n\tif(N == 1){\n\t\tSystem.out.println(0);\n\t}else{\n\t\tSystem.out.println(1);\n\t}\n\n\t\n\n \n }",
"main",
"{\n\tScanner s = new Scanner(System.in);\n\tint N = s.nextInt();\n\tif(N == 1){\n\t\tSystem.out.println(0);\n\t}else{\n\t\tSystem.out.println(1);\n\t}\n\n\t\n\n \n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int N = s.nextInt();",
"N",
"s.nextInt()",
"s.nextInt",
"s",
"if(N == 1){\n\t\tSystem.out.println(0);\n\t}else{\n\t\tSystem.out.println(1);\n\t}",
"N == 1",
"N",
"1",
"{\n\t\tSystem.out.println(0);\n\t}",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"{\n\t\tSystem.out.println(1);\n\t}",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static long mod = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\tint N = s.nextInt();\n\tif(N == 1){\n\t\tSystem.out.println(0);\n\t}else{\n\t\tSystem.out.println(1);\n\t}\n\n\t\n\n \n }\n}",
"public class Main {\n\tpublic static long mod = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\tScanner s = new Scanner(System.in);\n\tint N = s.nextInt();\n\tif(N == 1){\n\t\tSystem.out.println(0);\n\t}else{\n\t\tSystem.out.println(1);\n\t}\n\n\t\n\n \n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.math.BigInteger;
public class Main {
public static long mod = 1000000007;
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int N = s.nextInt();
if(N == 1){
System.out.println(0);
}else{
System.out.println(1);
}
}
} |
[
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,
8,
2,
13,
17,
17,
17,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
17,
3,
29,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
17,
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,
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,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
13,
12,
13,
30,
29,
13,
12,
13,
30,
14,
2,
2,
4,
18,
13,
4,
18,
36,
17,
29,
40,
17,
14,
2,
2,
4,
18,
13,
4,
18,
36,
17,
29,
17,
29,
17,
23,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
330,
8
],
[
330,
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
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
26,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
9,
35
],
[
35,
36
],
[
330,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
45,
46
],
[
45,
47
],
[
39,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
48,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
39,
74
],
[
74,
75
],
[
37,
76
],
[
76,
77
],
[
37,
78
],
[
78,
79
],
[
330,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
88,
91
],
[
80,
92
],
[
92,
93
],
[
80,
94
],
[
94,
95
],
[
330,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
99,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
106,
109
],
[
109,
110
],
[
109,
111
],
[
96,
112
],
[
112,
113
],
[
96,
114
],
[
114,
115
],
[
330,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
116,
125
],
[
125,
126
],
[
116,
127
],
[
127,
128
],
[
330,
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
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
140,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
145,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
139,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
129,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
167,
168
],
[
129,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
176,
177
],
[
129,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
185,
190
],
[
190,
191
],
[
190,
192
],
[
185,
193
],
[
193,
194
],
[
194,
195
],
[
185,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
197,
201
],
[
201,
202
],
[
180,
203
],
[
203,
204
],
[
178,
205
],
[
205,
206
],
[
129,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
214,
219
],
[
219,
220
],
[
219,
221
],
[
214,
222
],
[
222,
223
],
[
223,
224
],
[
214,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
230,
231
],
[
209,
232
],
[
232,
233
],
[
207,
234
],
[
234,
235
],
[
129,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
243,
248
],
[
248,
249
],
[
248,
250
],
[
243,
251
],
[
251,
252
],
[
252,
253
],
[
243,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
255,
259
],
[
259,
260
],
[
238,
261
],
[
261,
262
],
[
236,
263
],
[
263,
264
],
[
236,
265
],
[
265,
266
],
[
330,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
267,
271
],
[
271,
272
],
[
267,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
279
],
[
279,
280
],
[
279,
281
],
[
273,
282
],
[
282,
283
],
[
273,
284
],
[
284,
285
],
[
267,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
289,
290
],
[
267,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
294,
295
],
[
267,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
301,
305
],
[
305,
306
],
[
306,
307
],
[
300,
308
],
[
299,
309
],
[
309,
310
],
[
310,
311
],
[
299,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
314,
318
],
[
318,
319
],
[
319,
320
],
[
313,
321
],
[
312,
322
],
[
322,
323
],
[
312,
324
],
[
324,
325
],
[
296,
326
],
[
326,
327
],
[
267,
328
],
[
0,
329
],
[
329,
330
],
[
329,
331
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int x = in.nextInt();\n out.println((x==0)?\"1\":\"0\");\n out.flush();\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\t\n\t\tString next() {\n\t\t\twhile(!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint[] readArray(int n) {\n\t\t\tint a[] = new int[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t\tInteger[] readArray(long n) {\n\t\t Integer a[] = new Integer[(int)n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t\tlong[] readArray(int n,long x) {\n\t\t\tlong a[] = new long[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class Pair implements Comparable<Pair> {\n\t\tint x, y;\n\t\tPair(int a, int b){ x = a; y = b; }\n\t\tint getKey() { return x; }\n\t\tint getVal() { return y; }\n\t\t@Override\n\t\tpublic int compareTo(Pair o) {\n\t\t\tif(o.getVal() - this.getVal()>0)\n\t\t\t\treturn -1;\n\t\t\telse if(o.getVal() - this.getVal()<0)\n\t\t\t\treturn 1;\n\t\t\telse \n\t\t\t\treturn 0;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic boolean arrayEquals(char a[], char b[]) {\n\t\tint n = a.length;\n\t\tboolean verdict = true;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tif(a[i]!=b[i]) {\n\t\t\t\tverdict = false;break;\n\t\t\t}\n\t\t}\n\t\treturn verdict;\n\t}\n\t\n\tstatic long lcm(long a, long b) {\n\t\treturn (a*b)/gcd(a,b);\n\t}\n\t\n\tstatic long gcd(long a, long b) {\n\t\tif(b==0) return a;\n\t\telse return gcd(b,a%b);\n\t}\n\t\n\tstatic long hashInt(int x,int y) {\n\t\treturn x*(1_000_000_000L)+y;\n\t}\n}\n",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int x = in.nextInt();\n out.println((x==0)?\"1\":\"0\");\n out.flush();\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\t\n\t\tString next() {\n\t\t\twhile(!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint[] readArray(int n) {\n\t\t\tint a[] = new int[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t\tInteger[] readArray(long n) {\n\t\t Integer a[] = new Integer[(int)n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t\tlong[] readArray(int n,long x) {\n\t\t\tlong a[] = new long[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class Pair implements Comparable<Pair> {\n\t\tint x, y;\n\t\tPair(int a, int b){ x = a; y = b; }\n\t\tint getKey() { return x; }\n\t\tint getVal() { return y; }\n\t\t@Override\n\t\tpublic int compareTo(Pair o) {\n\t\t\tif(o.getVal() - this.getVal()>0)\n\t\t\t\treturn -1;\n\t\t\telse if(o.getVal() - this.getVal()<0)\n\t\t\t\treturn 1;\n\t\t\telse \n\t\t\t\treturn 0;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic boolean arrayEquals(char a[], char b[]) {\n\t\tint n = a.length;\n\t\tboolean verdict = true;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tif(a[i]!=b[i]) {\n\t\t\t\tverdict = false;break;\n\t\t\t}\n\t\t}\n\t\treturn verdict;\n\t}\n\t\n\tstatic long lcm(long a, long b) {\n\t\treturn (a*b)/gcd(a,b);\n\t}\n\t\n\tstatic long gcd(long a, long b) {\n\t\tif(b==0) return a;\n\t\telse return gcd(b,a%b);\n\t}\n\t\n\tstatic long hashInt(int x,int y) {\n\t\treturn x*(1_000_000_000L)+y;\n\t}\n}",
"Main",
"public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int x = in.nextInt();\n out.println((x==0)?\"1\":\"0\");\n out.flush();\n\t}",
"main",
"{\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int x = in.nextInt();\n out.println((x==0)?\"1\":\"0\");\n out.flush();\n\t}",
"FastScanner in = new FastScanner();",
"in",
"new FastScanner()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"out.println((x==0)?\"1\":\"0\")",
"out.println",
"out",
"(x==0)?\"1\":\"0\"",
"(x==0)",
"x",
"0",
"\"1\"",
"\"0\"",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"static boolean arrayEquals(char a[], char b[]) {\n\t\tint n = a.length;\n\t\tboolean verdict = true;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tif(a[i]!=b[i]) {\n\t\t\t\tverdict = false;break;\n\t\t\t}\n\t\t}\n\t\treturn verdict;\n\t}",
"arrayEquals",
"{\n\t\tint n = a.length;\n\t\tboolean verdict = true;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tif(a[i]!=b[i]) {\n\t\t\t\tverdict = false;break;\n\t\t\t}\n\t\t}\n\t\treturn verdict;\n\t}",
"int n = a.length;",
"n",
"a.length",
"a",
"a.length",
"boolean verdict = true;",
"verdict",
"true",
"for(int i=0;i<n;i++) {\n\t\t\tif(a[i]!=b[i]) {\n\t\t\t\tverdict = false;break;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tif(a[i]!=b[i]) {\n\t\t\t\tverdict = false;break;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(a[i]!=b[i]) {\n\t\t\t\tverdict = false;break;\n\t\t\t}\n\t\t}",
"if(a[i]!=b[i]) {\n\t\t\t\tverdict = false;break;\n\t\t\t}",
"a[i]!=b[i]",
"a[i]",
"a",
"i",
"b[i]",
"b",
"i",
"{\n\t\t\t\tverdict = false;break;\n\t\t\t}",
"verdict = false",
"verdict",
"false",
"break;",
"return verdict;",
"verdict",
"char a[]",
"a",
"char b[]",
"b",
"static long lcm(long a, long b) {\n\t\treturn (a*b)/gcd(a,b);\n\t}",
"lcm",
"{\n\t\treturn (a*b)/gcd(a,b);\n\t}",
"return (a*b)/gcd(a,b);",
"(a*b)/gcd(a,b)",
"(a*b)",
"a",
"b",
"gcd(a,b)",
"gcd",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static long gcd(long a, long b) {\n\t\tif(b==0) return a;\n\t\telse return gcd(b,a%b);\n\t}",
"gcd",
"{\n\t\tif(b==0) return a;\n\t\telse return gcd(b,a%b);\n\t}",
"if(b==0) return a;\n\t\telse return gcd(b,a%b);",
"b==0",
"b",
"0",
"return a;",
"a",
"return gcd(b,a%b);",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static long hashInt(int x,int y) {\n\t\treturn x*(1_000_000_000L)+y;\n\t}",
"hashInt",
"{\n\t\treturn x*(1_000_000_000L)+y;\n\t}",
"return x*(1_000_000_000L)+y;",
"x*(1_000_000_000L)+y",
"x*(1_000_000_000L)",
"x",
"(1_000_000_000L)",
"y",
"int x",
"x",
"int y",
"y",
"static class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\t\n\t\tString next() {\n\t\t\twhile(!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint[] readArray(int n) {\n\t\t\tint a[] = new int[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t\tInteger[] readArray(long n) {\n\t\t Integer a[] = new Integer[(int)n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t\tlong[] readArray(int n,long x) {\n\t\t\tlong a[] = new long[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}",
"FastScanner",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n\t\t\twhile(!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile(!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while(!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"int[] readArray(int n) {\n\t\t\tint a[] = new int[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tint a[] = new int[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"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",
"Integer[] readArray(long n) {\n\t\t Integer a[] = new Integer[(int)n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t Integer a[] = new Integer[(int)n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"Integer a[] = new Integer[(int)n];",
"a",
"new Integer[(int)n]",
"(int)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",
"long n",
"n",
"long[] readArray(int n,long x) {\n\t\t\tlong a[] = new long[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextLong();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tlong a[] = new long[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextLong();\n\t\t\treturn a;\n\t\t}",
"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",
"long x",
"x",
"static class Pair implements Comparable<Pair> {\n\t\tint x, y;\n\t\tPair(int a, int b){ x = a; y = b; }\n\t\tint getKey() { return x; }\n\t\tint getVal() { return y; }\n\t\t@Override\n\t\tpublic int compareTo(Pair o) {\n\t\t\tif(o.getVal() - this.getVal()>0)\n\t\t\t\treturn -1;\n\t\t\telse if(o.getVal() - this.getVal()<0)\n\t\t\t\treturn 1;\n\t\t\telse \n\t\t\t\treturn 0;\n\t\t}\n\t\t\n\t}",
"Pair",
"int x",
"x",
"y;",
"y",
"Pair(int a, int b){ x = a; y = b; }",
"Pair",
"{ x = a; y = b; }",
"x = a",
"x",
"a",
"y = b",
"y",
"b",
"int a",
"a",
"int b",
"b",
"int getKey() { return x; }",
"getKey",
"{ return x; }",
"return x;",
"x",
"int getVal() { return y; }",
"getVal",
"{ return y; }",
"return y;",
"y",
"@Override\n\t\tpublic int compareTo(Pair o) {\n\t\t\tif(o.getVal() - this.getVal()>0)\n\t\t\t\treturn -1;\n\t\t\telse if(o.getVal() - this.getVal()<0)\n\t\t\t\treturn 1;\n\t\t\telse \n\t\t\t\treturn 0;\n\t\t}",
"compareTo",
"{\n\t\t\tif(o.getVal() - this.getVal()>0)\n\t\t\t\treturn -1;\n\t\t\telse if(o.getVal() - this.getVal()<0)\n\t\t\t\treturn 1;\n\t\t\telse \n\t\t\t\treturn 0;\n\t\t}",
"if(o.getVal() - this.getVal()>0)\n\t\t\t\treturn -1;\n\t\t\telse if(o.getVal() - this.getVal()<0)\n\t\t\t\treturn 1;\n\t\t\telse \n\t\t\t\treturn 0;",
"o.getVal() - this.getVal()>0",
"o.getVal() - this.getVal()",
"o.getVal()",
"o.getVal",
"o",
"this.getVal()",
"this.getVal",
"this",
"0",
"return -1;",
"-1",
"1",
"if(o.getVal() - this.getVal()<0)\n\t\t\t\treturn 1;\n\t\t\telse \n\t\t\t\treturn 0;",
"o.getVal() - this.getVal()<0",
"o.getVal() - this.getVal()",
"o.getVal()",
"o.getVal",
"o",
"this.getVal()",
"this.getVal",
"this",
"0",
"return 1;",
"1",
"return 0;",
"0",
"Pair o",
"o",
"Comparable",
"public class Main {\n\n\tpublic static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int x = in.nextInt();\n out.println((x==0)?\"1\":\"0\");\n out.flush();\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\t\n\t\tString next() {\n\t\t\twhile(!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint[] readArray(int n) {\n\t\t\tint a[] = new int[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t\tInteger[] readArray(long n) {\n\t\t Integer a[] = new Integer[(int)n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t\tlong[] readArray(int n,long x) {\n\t\t\tlong a[] = new long[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class Pair implements Comparable<Pair> {\n\t\tint x, y;\n\t\tPair(int a, int b){ x = a; y = b; }\n\t\tint getKey() { return x; }\n\t\tint getVal() { return y; }\n\t\t@Override\n\t\tpublic int compareTo(Pair o) {\n\t\t\tif(o.getVal() - this.getVal()>0)\n\t\t\t\treturn -1;\n\t\t\telse if(o.getVal() - this.getVal()<0)\n\t\t\t\treturn 1;\n\t\t\telse \n\t\t\t\treturn 0;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic boolean arrayEquals(char a[], char b[]) {\n\t\tint n = a.length;\n\t\tboolean verdict = true;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tif(a[i]!=b[i]) {\n\t\t\t\tverdict = false;break;\n\t\t\t}\n\t\t}\n\t\treturn verdict;\n\t}\n\t\n\tstatic long lcm(long a, long b) {\n\t\treturn (a*b)/gcd(a,b);\n\t}\n\t\n\tstatic long gcd(long a, long b) {\n\t\tif(b==0) return a;\n\t\telse return gcd(b,a%b);\n\t}\n\t\n\tstatic long hashInt(int x,int y) {\n\t\treturn x*(1_000_000_000L)+y;\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n int x = in.nextInt();\n out.println((x==0)?\"1\":\"0\");\n out.flush();\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\t\n\t\tString next() {\n\t\t\twhile(!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}catch(IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\t\n\t\tint[] readArray(int n) {\n\t\t\tint a[] = new int[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t\tInteger[] readArray(long n) {\n\t\t Integer a[] = new Integer[(int)n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t\tlong[] readArray(int n,long x) {\n\t\t\tlong a[] = new long[n];\n\t\t\tfor(int i=0;i<n;i++) a[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class Pair implements Comparable<Pair> {\n\t\tint x, y;\n\t\tPair(int a, int b){ x = a; y = b; }\n\t\tint getKey() { return x; }\n\t\tint getVal() { return y; }\n\t\t@Override\n\t\tpublic int compareTo(Pair o) {\n\t\t\tif(o.getVal() - this.getVal()>0)\n\t\t\t\treturn -1;\n\t\t\telse if(o.getVal() - this.getVal()<0)\n\t\t\t\treturn 1;\n\t\t\telse \n\t\t\t\treturn 0;\n\t\t}\n\t\t\n\t}\n\t\n\tstatic boolean arrayEquals(char a[], char b[]) {\n\t\tint n = a.length;\n\t\tboolean verdict = true;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tif(a[i]!=b[i]) {\n\t\t\t\tverdict = false;break;\n\t\t\t}\n\t\t}\n\t\treturn verdict;\n\t}\n\t\n\tstatic long lcm(long a, long b) {\n\t\treturn (a*b)/gcd(a,b);\n\t}\n\t\n\tstatic long gcd(long a, long b) {\n\t\tif(b==0) return a;\n\t\telse return gcd(b,a%b);\n\t}\n\t\n\tstatic long hashInt(int x,int y) {\n\t\treturn x*(1_000_000_000L)+y;\n\t}\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
FastScanner in = new FastScanner();
PrintWriter out = new PrintWriter(System.out);
int x = in.nextInt();
out.println((x==0)?"1":"0");
out.flush();
}
static class FastScanner {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer("");
String next() {
while(!st.hasMoreTokens())
try {
st = new StringTokenizer(br.readLine());
}catch(IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
int[] readArray(int n) {
int a[] = new int[n];
for(int i=0;i<n;i++) a[i] = nextInt();
return a;
}
Integer[] readArray(long n) {
Integer a[] = new Integer[(int)n];
for(int i=0;i<n;i++) a[i] = nextInt();
return a;
}
long[] readArray(int n,long x) {
long a[] = new long[n];
for(int i=0;i<n;i++) a[i] = nextLong();
return a;
}
}
static class Pair implements Comparable<Pair> {
int x, y;
Pair(int a, int b){ x = a; y = b; }
int getKey() { return x; }
int getVal() { return y; }
@Override
public int compareTo(Pair o) {
if(o.getVal() - this.getVal()>0)
return -1;
else if(o.getVal() - this.getVal()<0)
return 1;
else
return 0;
}
}
static boolean arrayEquals(char a[], char b[]) {
int n = a.length;
boolean verdict = true;
for(int i=0;i<n;i++) {
if(a[i]!=b[i]) {
verdict = false;break;
}
}
return verdict;
}
static long lcm(long a, long b) {
return (a*b)/gcd(a,b);
}
static long gcd(long a, long b) {
if(b==0) return a;
else return gcd(b,a%b);
}
static long hashInt(int x,int y) {
return x*(1_000_000_000L)+y;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
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,
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
],
[
127,
8
],
[
127,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
9,
36
],
[
36,
37
],
[
127,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
38,
42
],
[
42,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
38,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
53,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
63,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
52,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
38,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
38,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
38,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
38,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
111,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
107,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n FastReader sc = new FastReader();\n int x = sc.nextInt();\n \n if (x == 1)\n System.out.println(0);\n else\n System.out.println(1);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException {\n FastReader sc = new FastReader();\n int x = sc.nextInt();\n \n if (x == 1)\n System.out.println(0);\n else\n System.out.println(1);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n FastReader sc = new FastReader();\n int x = sc.nextInt();\n \n if (x == 1)\n System.out.println(0);\n else\n System.out.println(1);\n }",
"main",
"{\n FastReader sc = new FastReader();\n int x = sc.nextInt();\n \n if (x == 1)\n System.out.println(0);\n else\n System.out.println(1);\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x == 1)\n System.out.println(0);\n else\n System.out.println(1);",
"x == 1",
"x",
"1",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"String[] args",
"args",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n public static void main(String[] args) throws IOException {\n FastReader sc = new FastReader();\n int x = sc.nextInt();\n \n if (x == 1)\n System.out.println(0);\n else\n System.out.println(1);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n FastReader sc = new FastReader();\n int x = sc.nextInt();\n \n if (x == 1)\n System.out.println(0);\n else\n System.out.println(1);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
FastReader sc = new FastReader();
int x = sc.nextInt();
if (x == 1)
System.out.println(0);
else
System.out.println(1);
}
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
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
],
[
47,
8
],
[
47,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
14,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
9,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
]
| [
"import java.io.*;\nimport java.util.*;\n\n/**\n * Created by Ayushi on 13 Sep 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 int t = Integer.parseInt(br.readLine());\n\n if (t == 0) System.out.println(1);\n else System.out.println(0);\n br.close();\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"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 int t = Integer.parseInt(br.readLine());\n\n if (t == 0) System.out.println(1);\n else System.out.println(0);\n br.close();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n StringTokenizer st;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int t = Integer.parseInt(br.readLine());\n\n if (t == 0) System.out.println(1);\n else System.out.println(0);\n br.close();\n }",
"main",
"{\n StringTokenizer st;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int t = Integer.parseInt(br.readLine());\n\n if (t == 0) System.out.println(1);\n else System.out.println(0);\n br.close();\n }",
"StringTokenizer st;",
"st",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int t = Integer.parseInt(br.readLine());",
"t",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if (t == 0) System.out.println(1);\n else System.out.println(0);",
"t == 0",
"t",
"0",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"br.close()",
"br.close",
"br",
"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 int t = Integer.parseInt(br.readLine());\n\n if (t == 0) System.out.println(1);\n else System.out.println(0);\n br.close();\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 int t = Integer.parseInt(br.readLine());\n\n if (t == 0) System.out.println(1);\n else System.out.println(0);\n br.close();\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
/**
* Created by Ayushi on 13 Sep 2020.
* Problem:
* Round:
*/
public class Main {
public static void main(String[] args) throws IOException {
StringTokenizer st;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int t = Integer.parseInt(br.readLine());
if (t == 0) System.out.println(1);
else System.out.println(0);
br.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
38,
5
],
[
38,
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
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
6,
35
],
[
35,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n\t\tScanner sca01 = new Scanner(System.in);\n\t\tint x = sca01.nextInt();\n\n\t\tif(x == 1){\n\t\t\tSystem.out.println(\"0\");\n\t\t}else {\n\t\t\tSystem.out.println(\"1\");\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\t\tScanner sca01 = new Scanner(System.in);\n\t\tint x = sca01.nextInt();\n\n\t\tif(x == 1){\n\t\t\tSystem.out.println(\"0\");\n\t\t}else {\n\t\t\tSystem.out.println(\"1\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sca01 = new Scanner(System.in);\n\t\tint x = sca01.nextInt();\n\n\t\tif(x == 1){\n\t\t\tSystem.out.println(\"0\");\n\t\t}else {\n\t\t\tSystem.out.println(\"1\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sca01 = new Scanner(System.in);\n\t\tint x = sca01.nextInt();\n\n\t\tif(x == 1){\n\t\t\tSystem.out.println(\"0\");\n\t\t}else {\n\t\t\tSystem.out.println(\"1\");\n\t\t}\n\t}",
"Scanner sca01 = new Scanner(System.in);",
"sca01",
"new Scanner(System.in)",
"int x = sca01.nextInt();",
"x",
"sca01.nextInt()",
"sca01.nextInt",
"sca01",
"if(x == 1){\n\t\t\tSystem.out.println(\"0\");\n\t\t}else {\n\t\t\tSystem.out.println(\"1\");\n\t\t}",
"x == 1",
"x",
"1",
"{\n\t\t\tSystem.out.println(\"0\");\n\t\t}",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"{\n\t\t\tSystem.out.println(\"1\");\n\t\t}",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\t\tScanner sca01 = new Scanner(System.in);\n\t\tint x = sca01.nextInt();\n\n\t\tif(x == 1){\n\t\t\tSystem.out.println(\"0\");\n\t\t}else {\n\t\t\tSystem.out.println(\"1\");\n\t\t}\n\t}\n}",
"public class Main {\n public static void main(String[] args) {\n\t\tScanner sca01 = new Scanner(System.in);\n\t\tint x = sca01.nextInt();\n\n\t\tif(x == 1){\n\t\t\tSystem.out.println(\"0\");\n\t\t}else {\n\t\t\tSystem.out.println(\"1\");\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sca01 = new Scanner(System.in);
int x = sca01.nextInt();
if(x == 1){
System.out.println("0");
}else {
System.out.println("1");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
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
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n if(x == 0){\n System.out.println(\"1\");\n } else if( x==1){\n System.out.println(\"0\");\n }\n \n }\n \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n if(x == 0){\n System.out.println(\"1\");\n } else if( x==1){\n System.out.println(\"0\");\n }\n \n }\n \n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n if(x == 0){\n System.out.println(\"1\");\n } else if( x==1){\n System.out.println(\"0\");\n }\n \n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n if(x == 0){\n System.out.println(\"1\");\n } else if( x==1){\n System.out.println(\"0\");\n }\n \n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int x = scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(x == 0){\n System.out.println(\"1\");\n } else if( x==1){\n System.out.println(\"0\");\n }",
"x == 0",
"x",
"0",
"{\n System.out.println(\"1\");\n }",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"if( x==1){\n System.out.println(\"0\");\n }",
"x==1",
"x",
"1",
"{\n System.out.println(\"0\");\n }",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"String[] args",
"args",
"public class Main {\n\n \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n if(x == 0){\n System.out.println(\"1\");\n } else if( x==1){\n System.out.println(\"0\");\n }\n \n }\n \n}",
"public class Main {\n\n \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n if(x == 0){\n System.out.println(\"1\");\n } else if( x==1){\n System.out.println(\"0\");\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);
int x = scanner.nextInt();
if(x == 0){
System.out.println("1");
} else if( x==1){
System.out.println("0");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
20,
2,
17,
17,
41,
13,
41,
13,
18,
13,
13,
41,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
20,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
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,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
17,
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,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
37,
20,
29,
2,
13,
13,
12,
13,
30,
41,
13,
17,
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,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
37,
20,
29,
2,
13,
13,
12,
13,
30,
41,
13,
17,
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,
42,
2,
40,
4,
13,
13,
2,
13,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
37,
20,
14,
2,
13,
17,
30,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
2,
13,
17,
13,
0,
13,
4,
13,
37,
20,
29,
2,
13,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
12,
13,
30,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
40,
18,
13,
13,
30,
11,
1,
41,
13,
2,
13,
17,
2,
13,
13,
1,
0,
13,
13,
30,
30,
0,
18,
13,
13,
17,
12,
13,
30,
14,
18,
13,
13,
30,
14,
40,
18,
13,
13,
40,
13,
29,
0,
18,
13,
13,
17,
28,
13,
18,
13,
13,
30,
30,
14,
2,
13,
13,
4,
13,
13,
13,
13,
13,
0,
18,
13,
13,
17,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
14,
2,
18,
13,
17,
17,
29,
17,
11,
1,
41,
13,
13,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
13,
14,
2,
2,
18,
13,
2,
13,
17,
2,
18,
13,
13,
17,
2,
18,
13,
2,
13,
17,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
9,
30,
0,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
18,
13,
13,
17,
17,
13,
3,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
4,
13,
2,
2,
13,
17,
17,
4,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
18,
13,
13,
17,
18,
13,
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
],
[
795,
8
],
[
795,
9
],
[
9,
10
],
[
9,
11
],
[
795,
12
],
[
12,
13
],
[
12,
14
],
[
795,
15
],
[
15,
16
],
[
795,
17
],
[
17,
18
],
[
17,
19
],
[
20,
21
],
[
20,
22
],
[
795,
23
],
[
23,
24
],
[
795,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
795,
30
],
[
30,
31
],
[
795,
32
],
[
32,
33
],
[
32,
34
],
[
795,
36
],
[
36,
37
],
[
36,
38
],
[
795,
39
],
[
39,
40
],
[
39,
41
],
[
795,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
45,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
45,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
795,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
81,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
92,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
107,
108
],
[
81,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
795,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
116,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
116,
132
],
[
132,
133
],
[
132,
134
],
[
116,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
139,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
116,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
148,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
159,
161
],
[
154,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
168,
170
],
[
162,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
154,
175
],
[
175,
176
],
[
116,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
795,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
183,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
183,
199
],
[
199,
200
],
[
199,
201
],
[
183,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
206,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
183,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
215,
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
],
[
229,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
221,
242
],
[
242,
243
],
[
183,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
795,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
250,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
250,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
258,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
250,
266
],
[
266,
267
],
[
266,
268
],
[
250,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
269,
273
],
[
273,
274
],
[
274,
275
],
[
274,
276
],
[
276,
277
],
[
273,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
250,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
283,
288
],
[
288,
289
],
[
288,
290
],
[
282,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
297,
299
],
[
292,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
300,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
306,
308
],
[
300,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
292,
313
],
[
313,
314
],
[
250,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
315,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
319,
324
],
[
324,
325
],
[
324,
326
],
[
319,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
327,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
334,
338
],
[
338,
339
],
[
338,
340
],
[
333,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
348,
349
],
[
348,
350
],
[
347,
351
],
[
341,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
333,
356
],
[
356,
357
],
[
250,
358
],
[
358,
359
],
[
359,
360
],
[
359,
361
],
[
795,
362
],
[
362,
363
],
[
362,
364
],
[
364,
365
],
[
365,
366
],
[
365,
367
],
[
364,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
371,
372
],
[
372,
373
],
[
373,
374
],
[
368,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
364,
381
],
[
381,
382
],
[
795,
383
],
[
383,
384
],
[
383,
385
],
[
385,
386
],
[
386,
387
],
[
390,
388
],
[
400,
389
],
[
397,
390
],
[
390,
391
],
[
391,
392
],
[
391,
393
],
[
390,
394
],
[
394,
395
],
[
394,
396
],
[
397,
397
],
[
397,
398
],
[
397,
399
],
[
400,
400
],
[
400,
401
],
[
400,
402
],
[
390,
403
],
[
403,
404
],
[
403,
405
],
[
405,
406
],
[
386,
407
],
[
407,
408
],
[
385,
409
],
[
409,
410
],
[
383,
411
],
[
411,
412
],
[
795,
413
],
[
413,
414
],
[
413,
415
],
[
415,
416
],
[
416,
417
],
[
417,
418
],
[
416,
419
],
[
413,
420
],
[
420,
421
],
[
795,
422
],
[
422,
423
],
[
422,
424
],
[
424,
425
],
[
425,
426
],
[
425,
427
],
[
424,
428
],
[
428,
429
],
[
429,
430
],
[
428,
431
],
[
422,
432
],
[
432,
433
],
[
795,
434
],
[
434,
435
],
[
434,
436
],
[
436,
437
],
[
437,
438
],
[
438,
439
],
[
795,
440
],
[
440,
441
],
[
440,
442
],
[
442,
443
],
[
443,
444
],
[
444,
445
],
[
795,
446
],
[
446,
447
],
[
446,
448
],
[
448,
449
],
[
449,
450
],
[
450,
451
],
[
451,
452
],
[
451,
453
],
[
449,
454
],
[
454,
455
],
[
454,
456
],
[
449,
457
],
[
457,
458
],
[
458,
459
],
[
449,
460
],
[
460,
461
],
[
461,
462
],
[
462,
463
],
[
462,
464
],
[
461,
465
],
[
465,
466
],
[
448,
467
],
[
467,
468
],
[
446,
469
],
[
469,
470
],
[
446,
471
],
[
471,
472
],
[
795,
473
],
[
473,
474
],
[
473,
475
],
[
475,
476
],
[
476,
477
],
[
477,
478
],
[
478,
479
],
[
478,
480
],
[
476,
481
],
[
481,
482
],
[
481,
483
],
[
476,
484
],
[
484,
485
],
[
485,
486
],
[
476,
487
],
[
487,
488
],
[
488,
489
],
[
489,
490
],
[
489,
491
],
[
488,
492
],
[
492,
493
],
[
475,
494
],
[
494,
495
],
[
473,
496
],
[
496,
497
],
[
473,
498
],
[
498,
499
],
[
795,
500
],
[
500,
501
],
[
500,
502
],
[
502,
503
],
[
503,
504
],
[
504,
505
],
[
505,
506
],
[
505,
507
],
[
503,
508
],
[
508,
509
],
[
508,
510
],
[
503,
511
],
[
511,
512
],
[
512,
513
],
[
503,
514
],
[
514,
515
],
[
515,
516
],
[
516,
517
],
[
516,
518
],
[
515,
519
],
[
519,
520
],
[
502,
521
],
[
521,
522
],
[
500,
523
],
[
523,
524
],
[
500,
525
],
[
525,
526
],
[
795,
527
],
[
527,
528
],
[
527,
529
],
[
529,
530
],
[
530,
531
],
[
530,
532
],
[
529,
533
],
[
533,
534
],
[
534,
535
],
[
535,
536
],
[
535,
537
],
[
533,
538
],
[
538,
539
],
[
539,
540
],
[
539,
541
],
[
538,
542
],
[
533,
543
],
[
543,
544
],
[
544,
545
],
[
533,
546
],
[
547,
547
],
[
547,
548
],
[
548,
549
],
[
549,
550
],
[
550,
551
],
[
550,
552
],
[
548,
553
],
[
553,
554
],
[
554,
555
],
[
555,
556
],
[
556,
557
],
[
556,
558
],
[
558,
559
],
[
558,
560
],
[
554,
561
],
[
561,
562
],
[
561,
563
],
[
554,
564
],
[
564,
565
],
[
565,
566
],
[
565,
567
],
[
554,
568
],
[
569,
569
],
[
569,
570
],
[
570,
571
],
[
571,
572
],
[
571,
573
],
[
570,
574
],
[
795,
575
],
[
575,
576
],
[
575,
577
],
[
577,
578
],
[
578,
579
],
[
579,
580
],
[
579,
581
],
[
578,
582
],
[
582,
583
],
[
583,
584
],
[
584,
585
],
[
585,
586
],
[
585,
587
],
[
583,
588
],
[
588,
589
],
[
582,
590
],
[
577,
591
],
[
591,
592
],
[
592,
593
],
[
592,
594
],
[
591,
595
],
[
577,
596
],
[
596,
597
],
[
596,
598
],
[
598,
599
],
[
598,
600
],
[
596,
601
],
[
602,
602
],
[
602,
603
],
[
603,
604
],
[
604,
605
],
[
604,
606
],
[
603,
607
],
[
607,
608
],
[
607,
609
],
[
607,
610
],
[
607,
611
],
[
607,
612
],
[
577,
613
],
[
613,
614
],
[
614,
615
],
[
614,
616
],
[
613,
617
],
[
575,
618
],
[
618,
619
],
[
575,
620
],
[
620,
621
],
[
575,
622
],
[
622,
623
],
[
575,
624
],
[
624,
625
],
[
795,
626
],
[
626,
627
],
[
626,
628
],
[
628,
629
],
[
629,
630
],
[
629,
631
],
[
631,
632
],
[
631,
633
],
[
628,
634
],
[
634,
635
],
[
635,
636
],
[
636,
637
],
[
636,
638
],
[
635,
639
],
[
634,
640
],
[
640,
641
],
[
628,
642
],
[
642,
643
],
[
643,
644
],
[
644,
645
],
[
644,
646
],
[
642,
647
],
[
647,
648
],
[
647,
649
],
[
649,
650
],
[
649,
651
],
[
642,
652
],
[
652,
653
],
[
653,
654
],
[
642,
655
],
[
656,
656
],
[
656,
657
],
[
657,
658
],
[
658,
659
],
[
659,
660
],
[
659,
661
],
[
657,
662
],
[
656,
663
],
[
663,
664
],
[
664,
665
],
[
665,
666
],
[
666,
667
],
[
666,
668
],
[
668,
669
],
[
668,
670
],
[
665,
671
],
[
671,
672
],
[
672,
673
],
[
672,
674
],
[
671,
675
],
[
664,
676
],
[
676,
677
],
[
677,
678
],
[
677,
679
],
[
679,
680
],
[
679,
681
],
[
676,
682
],
[
682,
683
],
[
682,
684
],
[
663,
685
],
[
685,
686
],
[
686,
687
],
[
687,
688
],
[
688,
689
],
[
688,
690
],
[
686,
691
],
[
685,
692
],
[
663,
693
],
[
693,
694
],
[
694,
695
],
[
694,
696
],
[
696,
697
],
[
697,
698
],
[
697,
699
],
[
696,
700
],
[
693,
701
],
[
701,
702
],
[
702,
703
],
[
703,
704
],
[
703,
705
],
[
701,
706
],
[
708,
707
],
[
707,
708
],
[
708,
709
],
[
709,
710
],
[
709,
711
],
[
708,
712
],
[
707,
713
],
[
708,
714
],
[
693,
715
],
[
628,
716
],
[
716,
717
],
[
626,
718
],
[
718,
719
],
[
626,
720
],
[
720,
721
],
[
626,
722
],
[
722,
723
],
[
795,
724
],
[
724,
725
],
[
724,
726
],
[
726,
727
],
[
727,
728
],
[
727,
729
],
[
729,
730
],
[
726,
731
],
[
731,
732
],
[
731,
733
],
[
733,
734
],
[
734,
735
],
[
734,
736
],
[
733,
737
],
[
726,
738
],
[
738,
739
],
[
724,
740
],
[
740,
741
],
[
795,
742
],
[
742,
743
],
[
742,
744
],
[
744,
745
],
[
742,
746
],
[
746,
747
],
[
742,
748
],
[
748,
749
],
[
748,
750
],
[
750,
751
],
[
751,
752
],
[
752,
753
],
[
752,
754
],
[
751,
755
],
[
750,
756
],
[
756,
757
],
[
757,
758
],
[
757,
759
],
[
756,
760
],
[
748,
761
],
[
761,
762
],
[
748,
763
],
[
763,
764
],
[
742,
765
],
[
765,
766
],
[
765,
767
],
[
767,
768
],
[
768,
769
],
[
770,
770
],
[
770,
771
],
[
771,
772
],
[
771,
773
],
[
770,
774
],
[
770,
775
],
[
775,
776
],
[
775,
777
],
[
765,
778
],
[
778,
779
],
[
742,
780
],
[
780,
781
],
[
780,
782
],
[
782,
783
],
[
783,
784
],
[
784,
785
],
[
785,
786
],
[
785,
787
],
[
784,
788
],
[
788,
789
],
[
788,
790
],
[
780,
791
],
[
791,
792
],
[
742,
793
],
[
0,
794
],
[
794,
795
],
[
794,
796
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main {\n///////----------------input----------------//////\n\tstatic BufferedReader br= new BufferedReader(new\n InputStreamReader(System.in)); \n\tstatic BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\tstatic StringTokenizer st; \n\tstatic byte[] buffer =new byte[10*1024];\n\tstatic int index;\n static InputStream input_stream= System.in;\n static int total;\n\t\n\tstatic String ns() throws IOException\n { \n\t\t StringBuilder sb = new StringBuilder();\n int n = read();\n while (isWhiteSpace(n))\n n = read();\n while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }\n return sb.toString();\n } \n\t\n\tstatic int read() throws IOException\n\t{\n\t\tif(total<0)\n throw new InputMismatchException();\n if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }\n return buffer[index++];\n\t}\n\tstatic int ni() throws IOException\n { \n\t\tint integer=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n } \n\n\tstatic long nl() throws IOException\n { \n\t\tlong number=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n long neg=1l;\n if(n=='-') {\n neg=-1l;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*number;\n } \n\n\tstatic double nd() throws IOException\n { \n\t\tdouble doub=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n\n if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n } \n\n\tstatic String nsl() throws IOException\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\tstatic boolean isWhiteSpace(int n) {\n if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;\n return false;\n }\n\t\n\t///////-------------output-----------------//////\n\tstatic public void p(String str) throws IOException {\n bw.append(str);\n }\n\tstatic public void pn(String str) throws IOException {\n p(str);\n bw.append(\"\\n\");\n }\n\tstatic public void close()throws IOException {\n bw.close();\n }\n\tstatic public void flush()throws IOException {\n bw.flush();\n }\n\t\n\t///////----------THE FAST I/O METHODS ENDS HERE -----------/////////////\n\t///////////////////////////////////////////////////////////////////////\n\t///////////////////////// FOR INPUT LOOP//////////////////////////////\n\tpublic static int[] loopi(int[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static String[] loops(String[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static long[] loopl(long[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\t/////////////////////////////////////////////////////////////////////\n\t////////////////////////////////////////////////////////////////////\n\tstatic class Node implements Comparable<Node>{\n\t\tint h;\n\t\tint w;\n\t\tNode(int h,int w)\n\t\t{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}\n\t\tpublic static String toString(Node n)\n\t\t{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Node n)\n\t\t{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}\n\t\n\t}\n\t\n\tstatic boolean al[]=new boolean[1100000];\n\t public static void prime()\n\t {\n\t int n=1000000;\n\t \n\t for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }\n\t }\n\t public static int count=0;\n\t static boolean com[]=new boolean[120000];\n\t public static void dfs(int p,int n,ArrayList<Integer> al[],Boolean visited[])\n\t{\n\t\tif (visited[n]) {\n\t\t\tif (!com[n])\n\t\t\t\tcount++;\n\t\t\treturn;\n\t\t}\n\t\tvisited[n] = true;\n\t\tfor(int i:al[n])\n\t\t{\n\t\t\tif (i!=p)\n\t\t\t\tdfs(n,i,al,visited);\n\t\t\t\t\t//return true;\n\t\t\t\n\t\t\t\t\n\t\t}\n\t\tcom[n]=true;\n\t\t//return false;\n\t}\n\tstatic int mex(int start,int end,int arr[])\n\t{\n\t\tint min=Integer.MAX_VALUE;\n\t\tif(arr[0]>0)\n\t\t\treturn 0;\n\t\tfor(int i=start;i<end-1;i++)\n\t\t{\n\t\t\tSystem.out.println(i);\n\t\t\tif(arr[i+1]==arr[i]+1||arr[i+1]==arr[i])\n\t\t\t{\n\t\t\t\tSystem.out.println(\"equal\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\t\n\t\t\t\tmin=arr[i]+1;\n\t\t\t\tSystem.out.println(arr[i]+1+\" \"+min);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn min;\n\t}\n\n\t public static void main(String args[]) throws IOException {\n\t\tint temp=ni();\n\t\tpn((temp^1)+\"\");\n\t\tflush();\n}\n\t }\n\n",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n///////----------------input----------------//////\n\tstatic BufferedReader br= new BufferedReader(new\n InputStreamReader(System.in)); \n\tstatic BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\tstatic StringTokenizer st; \n\tstatic byte[] buffer =new byte[10*1024];\n\tstatic int index;\n static InputStream input_stream= System.in;\n static int total;\n\t\n\tstatic String ns() throws IOException\n { \n\t\t StringBuilder sb = new StringBuilder();\n int n = read();\n while (isWhiteSpace(n))\n n = read();\n while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }\n return sb.toString();\n } \n\t\n\tstatic int read() throws IOException\n\t{\n\t\tif(total<0)\n throw new InputMismatchException();\n if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }\n return buffer[index++];\n\t}\n\tstatic int ni() throws IOException\n { \n\t\tint integer=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n } \n\n\tstatic long nl() throws IOException\n { \n\t\tlong number=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n long neg=1l;\n if(n=='-') {\n neg=-1l;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*number;\n } \n\n\tstatic double nd() throws IOException\n { \n\t\tdouble doub=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n\n if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n } \n\n\tstatic String nsl() throws IOException\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\tstatic boolean isWhiteSpace(int n) {\n if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;\n return false;\n }\n\t\n\t///////-------------output-----------------//////\n\tstatic public void p(String str) throws IOException {\n bw.append(str);\n }\n\tstatic public void pn(String str) throws IOException {\n p(str);\n bw.append(\"\\n\");\n }\n\tstatic public void close()throws IOException {\n bw.close();\n }\n\tstatic public void flush()throws IOException {\n bw.flush();\n }\n\t\n\t///////----------THE FAST I/O METHODS ENDS HERE -----------/////////////\n\t///////////////////////////////////////////////////////////////////////\n\t///////////////////////// FOR INPUT LOOP//////////////////////////////\n\tpublic static int[] loopi(int[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static String[] loops(String[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static long[] loopl(long[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\t/////////////////////////////////////////////////////////////////////\n\t////////////////////////////////////////////////////////////////////\n\tstatic class Node implements Comparable<Node>{\n\t\tint h;\n\t\tint w;\n\t\tNode(int h,int w)\n\t\t{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}\n\t\tpublic static String toString(Node n)\n\t\t{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Node n)\n\t\t{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}\n\t\n\t}\n\t\n\tstatic boolean al[]=new boolean[1100000];\n\t public static void prime()\n\t {\n\t int n=1000000;\n\t \n\t for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }\n\t }\n\t public static int count=0;\n\t static boolean com[]=new boolean[120000];\n\t public static void dfs(int p,int n,ArrayList<Integer> al[],Boolean visited[])\n\t{\n\t\tif (visited[n]) {\n\t\t\tif (!com[n])\n\t\t\t\tcount++;\n\t\t\treturn;\n\t\t}\n\t\tvisited[n] = true;\n\t\tfor(int i:al[n])\n\t\t{\n\t\t\tif (i!=p)\n\t\t\t\tdfs(n,i,al,visited);\n\t\t\t\t\t//return true;\n\t\t\t\n\t\t\t\t\n\t\t}\n\t\tcom[n]=true;\n\t\t//return false;\n\t}\n\tstatic int mex(int start,int end,int arr[])\n\t{\n\t\tint min=Integer.MAX_VALUE;\n\t\tif(arr[0]>0)\n\t\t\treturn 0;\n\t\tfor(int i=start;i<end-1;i++)\n\t\t{\n\t\t\tSystem.out.println(i);\n\t\t\tif(arr[i+1]==arr[i]+1||arr[i+1]==arr[i])\n\t\t\t{\n\t\t\t\tSystem.out.println(\"equal\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\t\n\t\t\t\tmin=arr[i]+1;\n\t\t\t\tSystem.out.println(arr[i]+1+\" \"+min);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn min;\n\t}\n\n\t public static void main(String args[]) throws IOException {\n\t\tint temp=ni();\n\t\tpn((temp^1)+\"\");\n\t\tflush();\n}\n\t }",
"Main",
"///////----------------input----------------//////\n\tstatic BufferedReader br= new BufferedReader(new\n InputStreamReader(System.in));",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));",
"bw",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"static StringTokenizer st;",
"st",
"static byte[] buffer =new byte[10*1024];",
"buffer",
"new byte[10*1024]",
"10*1024",
"10",
"1024",
"static int index;",
"index",
"static InputStream input_stream= System.in;",
"input_stream",
"System.in",
"System",
"System.in",
"static int total;",
"total",
"static boolean al[]=new boolean[1100000];",
"al",
"new boolean[1100000]",
"1100000",
"public static int count=0;",
"count",
"0",
"static boolean com[]=new boolean[120000];",
"com",
"new boolean[120000]",
"120000",
"static String ns() throws IOException\n { \n\t\t StringBuilder sb = new StringBuilder();\n int n = read();\n while (isWhiteSpace(n))\n n = read();\n while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }\n return sb.toString();\n }",
"ns",
"{ \n\t\t StringBuilder sb = new StringBuilder();\n int n = read();\n while (isWhiteSpace(n))\n n = read();\n while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }\n return sb.toString();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int n = read();",
"n",
"read()",
"read",
"while (isWhiteSpace(n))\n n = read();",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n = read()",
"n",
"read()",
"read",
"while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"{\n sb.append((char)n);\n n = read();\n }",
"sb.append((char)n)",
"sb.append",
"sb",
"(char)n",
"n = read()",
"n",
"read()",
"read",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"static int read() throws IOException\n\t{\n\t\tif(total<0)\n throw new InputMismatchException();\n if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }\n return buffer[index++];\n\t}",
"read",
"{\n\t\tif(total<0)\n throw new InputMismatchException();\n if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }\n return buffer[index++];\n\t}",
"if(total<0)\n throw new InputMismatchException();",
"total<0",
"total",
"0",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }",
"index>=total",
"index",
"total",
"{\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }",
"index=0",
"index",
"0",
"total= input_stream.read(buffer)",
"total",
"input_stream.read(buffer)",
"input_stream.read",
"input_stream",
"buffer",
"if(total<=0)\n return -1;",
"total<=0",
"total",
"0",
"return -1;",
"-1",
"1",
"return buffer[index++];",
"buffer[index++]",
"buffer",
"index++",
"index",
"static int ni() throws IOException\n { \n\t\tint integer=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n }",
"ni",
"{ \n\t\tint integer=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n }",
"int integer=0;",
"integer",
"0",
"int n= read();",
"n",
"read()",
"read",
"while(isWhiteSpace(n))\n n= read();",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n= read()",
"n",
"read()",
"read",
"int neg=1;",
"neg",
"1",
"if(n=='-') {\n neg=-1;\n n= read();\n }",
"n=='-'",
"n",
"'-'",
"{\n neg=-1;\n n= read();\n }",
"neg=-1",
"neg",
"-1",
"1",
"n= read()",
"n",
"read()",
"read",
"while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"{\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }",
"if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();",
"n>='0'&&n<='9'",
"n>='0'",
"n",
"'0'",
"n<='9'",
"n",
"'9'",
"{\n integer*=10;\n integer+=n-'0';\n n= read();\n }",
"integer*=10",
"integer",
"10",
"integer+=n-'0'",
"integer",
"n-'0'",
"n",
"'0'",
"n= read()",
"n",
"read()",
"read",
"throw new InputMismatchException();",
"new InputMismatchException()",
"return neg*integer;",
"neg*integer",
"neg",
"integer",
"static long nl() throws IOException\n { \n\t\tlong number=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n long neg=1l;\n if(n=='-') {\n neg=-1l;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*number;\n }",
"nl",
"{ \n\t\tlong number=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n long neg=1l;\n if(n=='-') {\n neg=-1l;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*number;\n }",
"long number=0;",
"number",
"0",
"int n= read();",
"n",
"read()",
"read",
"while(isWhiteSpace(n))\n n= read();",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n= read()",
"n",
"read()",
"read",
"long neg=1l;",
"neg",
"1l",
"if(n=='-') {\n neg=-1l;\n n= read();\n }",
"n=='-'",
"n",
"'-'",
"{\n neg=-1l;\n n= read();\n }",
"neg=-1l",
"neg",
"-1l",
"1l",
"n= read()",
"n",
"read()",
"read",
"while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"{\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }",
"if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();",
"n>='0'&&n<='9'",
"n>='0'",
"n",
"'0'",
"n<='9'",
"n",
"'9'",
"{\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }",
"number*=10l",
"number",
"10l",
"number+=(long)(n-'0')",
"number",
"(long)(n-'0')",
"n",
"'0'",
"n= read()",
"n",
"read()",
"read",
"throw new InputMismatchException();",
"new InputMismatchException()",
"return neg*number;",
"neg*number",
"neg",
"number",
"static double nd() throws IOException\n { \n\t\tdouble doub=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n\n if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n }",
"nd",
"{ \n\t\tdouble doub=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n\n if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n }",
"double doub=0;",
"doub",
"0",
"int n= read();",
"n",
"read()",
"read",
"while(isWhiteSpace(n))\n n= read();",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n= read()",
"n",
"read()",
"read",
"int neg=1;",
"neg",
"1",
"if(n=='-') {\n neg=-1;\n n= read();\n }",
"n=='-'",
"n",
"'-'",
"{\n neg=-1;\n n= read();\n }",
"neg=-1",
"neg",
"-1",
"1",
"n= read()",
"n",
"read()",
"read",
"while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }",
"!isWhiteSpace(n)&&n!='.'",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"n!='.'",
"n",
"'.'",
"{\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }",
"if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();",
"n>='0'&&n<='9'",
"n>='0'",
"n",
"'0'",
"n<='9'",
"n",
"'9'",
"{\n doub*=10;\n doub+=n-'0';\n n= read();\n }",
"doub*=10",
"doub",
"10",
"doub+=n-'0'",
"doub",
"n-'0'",
"n",
"'0'",
"n= read()",
"n",
"read()",
"read",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }",
"n=='.'",
"n",
"'.'",
"{\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }",
"n= read()",
"n",
"read()",
"read",
"double temp=1;",
"temp",
"1",
"while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }",
"!isWhiteSpace(n)",
"isWhiteSpace(n)",
"isWhiteSpace",
"n",
"{\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }",
"if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();",
"n>='0'&&n<='9'",
"n>='0'",
"n",
"'0'",
"n<='9'",
"n",
"'9'",
"{\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }",
"temp/=10",
"temp",
"10",
"doub+=(n-'0')*temp",
"doub",
"(n-'0')*temp",
"(n-'0')",
"n",
"'0'",
"temp",
"n= read()",
"n",
"read()",
"read",
"throw new InputMismatchException();",
"new InputMismatchException()",
"return doub*neg;",
"doub*neg",
"doub",
"neg",
"static String nsl() throws IOException\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 }",
"nsl",
"{ \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",
"static boolean isWhiteSpace(int n) {\n if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;\n return false;\n }",
"isWhiteSpace",
"{\n if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;\n return false;\n }",
"if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;",
"n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1",
"n=='\\t'",
"n=='\\r'",
"n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1",
"n==' '",
"n",
"' '",
"n=='\\n'",
"n",
"'\\n'",
"n=='\\r'",
"n",
"'\\r'",
"n=='\\t'",
"n",
"'\\t'",
"n==-1",
"n",
"-1",
"1",
"return true;",
"true",
"return false;",
"false",
"int n",
"n",
"///////-------------output-----------------//////\n\tstatic public void p(String str) throws IOException {\n bw.append(str);\n }",
"p",
"{\n bw.append(str);\n }",
"bw.append(str)",
"bw.append",
"bw",
"str",
"String str",
"str",
"static public void pn(String str) throws IOException {\n p(str);\n bw.append(\"\\n\");\n }",
"pn",
"{\n p(str);\n bw.append(\"\\n\");\n }",
"p(str)",
"p",
"str",
"bw.append(\"\\n\")",
"bw.append",
"bw",
"\"\\n\"",
"String str",
"str",
"static public void close()throws IOException {\n bw.close();\n }",
"close",
"{\n bw.close();\n }",
"bw.close()",
"bw.close",
"bw",
"static public void flush()throws IOException {\n bw.flush();\n }",
"flush",
"{\n bw.flush();\n }",
"bw.flush()",
"bw.flush",
"bw",
"///////----------THE FAST I/O METHODS ENDS HERE -----------/////////////\n\t///////////////////////////////////////////////////////////////////////\n\t///////////////////////// FOR INPUT LOOP//////////////////////////////\n\tpublic static int[] loopi(int[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}",
"loopi",
"{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}",
"for(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"arr[i]=ni();",
"arr[i]=ni()",
"arr[i]",
"arr",
"i",
"ni()",
"ni",
"return arr;",
"arr",
"int[] arr",
"arr",
"int n",
"n",
"public static String[] loops(String[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();\n\t\t\n\t\treturn arr;\n\t}",
"loops",
"{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();\n\t\t\n\t\treturn arr;\n\t}",
"for(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"arr[i]=ns();",
"arr[i]=ns()",
"arr[i]",
"arr",
"i",
"ns()",
"ns",
"return arr;",
"arr",
"String[] arr",
"arr",
"int n",
"n",
"public static long[] loopl(long[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}",
"loopl",
"{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}",
"for(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"arr[i]=ni();",
"arr[i]=ni()",
"arr[i]",
"arr",
"i",
"ni()",
"ni",
"return arr;",
"arr",
"long[] arr",
"arr",
"int n",
"n",
"public static void prime()\n\t {\n\t int n=1000000;\n\t \n\t for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }\n\t }",
"prime",
"{\n\t int n=1000000;\n\t \n\t for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }\n\t }",
"int n=1000000;",
"n",
"1000000",
"for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }",
"int i=2;",
"int i=2;",
"i",
"2",
"i*i<=n",
"i*i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }",
"{\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }",
"if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }",
"!al[i]",
"al[i]",
"al",
"i",
"{\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }",
"for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }",
"int j=i*2;",
"int j=i*2;",
"j",
"i*2",
"i",
"2",
"j<=n",
"j",
"n",
"j+=i",
"j+=i",
"j",
"i",
"{\n\t al[j]=true;\n\t }",
"{\n\t al[j]=true;\n\t }",
"al[j]=true",
"al[j]",
"al",
"j",
"true",
"public static void dfs(int p,int n,ArrayList<Integer> al[],Boolean visited[])\n\t{\n\t\tif (visited[n]) {\n\t\t\tif (!com[n])\n\t\t\t\tcount++;\n\t\t\treturn;\n\t\t}\n\t\tvisited[n] = true;\n\t\tfor(int i:al[n])\n\t\t{\n\t\t\tif (i!=p)\n\t\t\t\tdfs(n,i,al,visited);\n\t\t\t\t\t//return true;\n\t\t\t\n\t\t\t\t\n\t\t}\n\t\tcom[n]=true;\n\t\t//return false;\n\t}",
"dfs",
"{\n\t\tif (visited[n]) {\n\t\t\tif (!com[n])\n\t\t\t\tcount++;\n\t\t\treturn;\n\t\t}\n\t\tvisited[n] = true;\n\t\tfor(int i:al[n])\n\t\t{\n\t\t\tif (i!=p)\n\t\t\t\tdfs(n,i,al,visited);\n\t\t\t\t\t//return true;\n\t\t\t\n\t\t\t\t\n\t\t}\n\t\tcom[n]=true;\n\t\t//return false;\n\t}",
"if (visited[n]) {\n\t\t\tif (!com[n])\n\t\t\t\tcount++;\n\t\t\treturn;\n\t\t}",
"visited[n]",
"visited",
"n",
"{\n\t\t\tif (!com[n])\n\t\t\t\tcount++;\n\t\t\treturn;\n\t\t}",
"if (!com[n])\n\t\t\t\tcount++;",
"!com[n]",
"com[n]",
"com",
"n",
"count++",
"count",
"return;",
"visited[n] = true",
"visited[n]",
"visited",
"n",
"true",
"for(int i:al[n])\n\t\t{\n\t\t\tif (i!=p)\n\t\t\t\tdfs(n,i,al,visited);\n\t\t\t\t\t//return true;\n\t\t\t\n\t\t\t\t\n\t\t}",
"int i",
"al[n]",
"al",
"n",
"{\n\t\t\tif (i!=p)\n\t\t\t\tdfs(n,i,al,visited);\n\t\t\t\t\t//return true;\n\t\t\t\n\t\t\t\t\n\t\t}",
"{\n\t\t\tif (i!=p)\n\t\t\t\tdfs(n,i,al,visited);\n\t\t\t\t\t//return true;\n\t\t\t\n\t\t\t\t\n\t\t}",
"if (i!=p)\n\t\t\t\tdfs(n,i,al,visited);",
"i!=p",
"i",
"p",
"dfs(n,i,al,visited)",
"dfs",
"n",
"i",
"al",
"visited",
"com[n]=true",
"com[n]",
"com",
"n",
"true",
"int p",
"p",
"int n",
"n",
"ArrayList<Integer> al[]",
"al",
"Boolean visited[]",
"visited",
"static int mex(int start,int end,int arr[])\n\t{\n\t\tint min=Integer.MAX_VALUE;\n\t\tif(arr[0]>0)\n\t\t\treturn 0;\n\t\tfor(int i=start;i<end-1;i++)\n\t\t{\n\t\t\tSystem.out.println(i);\n\t\t\tif(arr[i+1]==arr[i]+1||arr[i+1]==arr[i])\n\t\t\t{\n\t\t\t\tSystem.out.println(\"equal\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\t\n\t\t\t\tmin=arr[i]+1;\n\t\t\t\tSystem.out.println(arr[i]+1+\" \"+min);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn min;\n\t}",
"mex",
"{\n\t\tint min=Integer.MAX_VALUE;\n\t\tif(arr[0]>0)\n\t\t\treturn 0;\n\t\tfor(int i=start;i<end-1;i++)\n\t\t{\n\t\t\tSystem.out.println(i);\n\t\t\tif(arr[i+1]==arr[i]+1||arr[i+1]==arr[i])\n\t\t\t{\n\t\t\t\tSystem.out.println(\"equal\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\t\n\t\t\t\tmin=arr[i]+1;\n\t\t\t\tSystem.out.println(arr[i]+1+\" \"+min);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn min;\n\t}",
"int min=Integer.MAX_VALUE;",
"min",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"if(arr[0]>0)\n\t\t\treturn 0;",
"arr[0]>0",
"arr[0]",
"arr",
"0",
"0",
"return 0;",
"0",
"for(int i=start;i<end-1;i++)\n\t\t{\n\t\t\tSystem.out.println(i);\n\t\t\tif(arr[i+1]==arr[i]+1||arr[i+1]==arr[i])\n\t\t\t{\n\t\t\t\tSystem.out.println(\"equal\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\t\n\t\t\t\tmin=arr[i]+1;\n\t\t\t\tSystem.out.println(arr[i]+1+\" \"+min);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=start;",
"int i=start;",
"i",
"start",
"i<end-1",
"i",
"end-1",
"end",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(i);\n\t\t\tif(arr[i+1]==arr[i]+1||arr[i+1]==arr[i])\n\t\t\t{\n\t\t\t\tSystem.out.println(\"equal\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\t\n\t\t\t\tmin=arr[i]+1;\n\t\t\t\tSystem.out.println(arr[i]+1+\" \"+min);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tSystem.out.println(i);\n\t\t\tif(arr[i+1]==arr[i]+1||arr[i+1]==arr[i])\n\t\t\t{\n\t\t\t\tSystem.out.println(\"equal\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\t\n\t\t\t\tmin=arr[i]+1;\n\t\t\t\tSystem.out.println(arr[i]+1+\" \"+min);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"if(arr[i+1]==arr[i]+1||arr[i+1]==arr[i])\n\t\t\t{\n\t\t\t\tSystem.out.println(\"equal\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\t\n\t\t\t\tmin=arr[i]+1;\n\t\t\t\tSystem.out.println(arr[i]+1+\" \"+min);\n\t\t\t\tbreak;\n\t\t\t}",
"arr[i+1]==arr[i]+1||arr[i+1]==arr[i]",
"arr[i+1]==arr[i]+1",
"arr[i+1]",
"arr",
"i+1",
"i",
"1",
"arr[i]+1",
"arr[i]",
"arr",
"i",
"1",
"arr[i+1]==arr[i]",
"arr[i+1]",
"arr",
"i+1",
"i",
"1",
"arr[i]",
"arr",
"i",
"{\n\t\t\t\tSystem.out.println(\"equal\");\n\t\t\t\tcontinue;\n\t\t\t}",
"System.out.println(\"equal\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"equal\"",
"continue;",
"{\n\t\t\t\t\n\t\t\t\tmin=arr[i]+1;\n\t\t\t\tSystem.out.println(arr[i]+1+\" \"+min);\n\t\t\t\tbreak;\n\t\t\t}",
"min=arr[i]+1",
"min",
"arr[i]+1",
"arr[i]",
"arr",
"i",
"1",
"System.out.println(arr[i]+1+\" \"+min)",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[i]+1+\" \"+min",
"\" \"",
"arr[i]+1+\" \"+min",
"arr[i]",
"arr",
"i",
"1",
"\" \"",
"min",
"break;",
"return min;",
"min",
"int start",
"start",
"int end",
"end",
"int arr[]",
"arr",
"public static void main(String args[]) throws IOException {\n\t\tint temp=ni();\n\t\tpn((temp^1)+\"\");\n\t\tflush();\n}",
"main",
"{\n\t\tint temp=ni();\n\t\tpn((temp^1)+\"\");\n\t\tflush();\n}",
"int temp=ni();",
"temp",
"ni()",
"ni",
"pn((temp^1)+\"\")",
"pn",
"(temp^1)+\"\"",
"(temp^1)",
"temp",
"1",
"\"\"",
"flush()",
"flush",
"String args[]",
"args",
"static class Node implements Comparable<Node>{\n\t\tint h;\n\t\tint w;\n\t\tNode(int h,int w)\n\t\t{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}\n\t\tpublic static String toString(Node n)\n\t\t{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Node n)\n\t\t{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}\n\t\n\t}",
"Node",
"int h;",
"h",
"int w;",
"w",
"Node(int h,int w)\n\t\t{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}",
"Node",
"{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}",
"this.h=h",
"this.h",
"this",
"this.h",
"h",
"this.w=w",
"this.w",
"this",
"this.w",
"w",
"int h",
"h",
"int w",
"w",
"public static String toString(Node n)\n\t\t{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}",
"toString",
"{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}",
"return n.h+\" \"+n.w;",
"n.h+\" \"+n.w",
"n.h+\" \"+n.w",
"n.h",
"n",
"n.h",
"\" \"",
"n.w",
"n",
"n.w",
"Node n",
"n",
"@Override\n\t\tpublic int compareTo(Node n)\n\t\t{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}",
"compareTo",
"{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}",
"return this.h-n.h;",
"this.h-n.h",
"this.h",
"this",
"this.h",
"n.h",
"n",
"n.h",
"Node n",
"n",
"Comparable",
"public class Main {\n///////----------------input----------------//////\n\tstatic BufferedReader br= new BufferedReader(new\n InputStreamReader(System.in)); \n\tstatic BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\tstatic StringTokenizer st; \n\tstatic byte[] buffer =new byte[10*1024];\n\tstatic int index;\n static InputStream input_stream= System.in;\n static int total;\n\t\n\tstatic String ns() throws IOException\n { \n\t\t StringBuilder sb = new StringBuilder();\n int n = read();\n while (isWhiteSpace(n))\n n = read();\n while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }\n return sb.toString();\n } \n\t\n\tstatic int read() throws IOException\n\t{\n\t\tif(total<0)\n throw new InputMismatchException();\n if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }\n return buffer[index++];\n\t}\n\tstatic int ni() throws IOException\n { \n\t\tint integer=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n } \n\n\tstatic long nl() throws IOException\n { \n\t\tlong number=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n long neg=1l;\n if(n=='-') {\n neg=-1l;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*number;\n } \n\n\tstatic double nd() throws IOException\n { \n\t\tdouble doub=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n\n if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n } \n\n\tstatic String nsl() throws IOException\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\tstatic boolean isWhiteSpace(int n) {\n if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;\n return false;\n }\n\t\n\t///////-------------output-----------------//////\n\tstatic public void p(String str) throws IOException {\n bw.append(str);\n }\n\tstatic public void pn(String str) throws IOException {\n p(str);\n bw.append(\"\\n\");\n }\n\tstatic public void close()throws IOException {\n bw.close();\n }\n\tstatic public void flush()throws IOException {\n bw.flush();\n }\n\t\n\t///////----------THE FAST I/O METHODS ENDS HERE -----------/////////////\n\t///////////////////////////////////////////////////////////////////////\n\t///////////////////////// FOR INPUT LOOP//////////////////////////////\n\tpublic static int[] loopi(int[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static String[] loops(String[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static long[] loopl(long[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\t/////////////////////////////////////////////////////////////////////\n\t////////////////////////////////////////////////////////////////////\n\tstatic class Node implements Comparable<Node>{\n\t\tint h;\n\t\tint w;\n\t\tNode(int h,int w)\n\t\t{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}\n\t\tpublic static String toString(Node n)\n\t\t{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Node n)\n\t\t{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}\n\t\n\t}\n\t\n\tstatic boolean al[]=new boolean[1100000];\n\t public static void prime()\n\t {\n\t int n=1000000;\n\t \n\t for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }\n\t }\n\t public static int count=0;\n\t static boolean com[]=new boolean[120000];\n\t public static void dfs(int p,int n,ArrayList<Integer> al[],Boolean visited[])\n\t{\n\t\tif (visited[n]) {\n\t\t\tif (!com[n])\n\t\t\t\tcount++;\n\t\t\treturn;\n\t\t}\n\t\tvisited[n] = true;\n\t\tfor(int i:al[n])\n\t\t{\n\t\t\tif (i!=p)\n\t\t\t\tdfs(n,i,al,visited);\n\t\t\t\t\t//return true;\n\t\t\t\n\t\t\t\t\n\t\t}\n\t\tcom[n]=true;\n\t\t//return false;\n\t}\n\tstatic int mex(int start,int end,int arr[])\n\t{\n\t\tint min=Integer.MAX_VALUE;\n\t\tif(arr[0]>0)\n\t\t\treturn 0;\n\t\tfor(int i=start;i<end-1;i++)\n\t\t{\n\t\t\tSystem.out.println(i);\n\t\t\tif(arr[i+1]==arr[i]+1||arr[i+1]==arr[i])\n\t\t\t{\n\t\t\t\tSystem.out.println(\"equal\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\t\n\t\t\t\tmin=arr[i]+1;\n\t\t\t\tSystem.out.println(arr[i]+1+\" \"+min);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn min;\n\t}\n\n\t public static void main(String args[]) throws IOException {\n\t\tint temp=ni();\n\t\tpn((temp^1)+\"\");\n\t\tflush();\n}\n\t }",
"public class Main {\n///////----------------input----------------//////\n\tstatic BufferedReader br= new BufferedReader(new\n InputStreamReader(System.in)); \n\tstatic BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\tstatic StringTokenizer st; \n\tstatic byte[] buffer =new byte[10*1024];\n\tstatic int index;\n static InputStream input_stream= System.in;\n static int total;\n\t\n\tstatic String ns() throws IOException\n { \n\t\t StringBuilder sb = new StringBuilder();\n int n = read();\n while (isWhiteSpace(n))\n n = read();\n while (!isWhiteSpace(n)) {\n sb.append((char)n);\n n = read();\n }\n return sb.toString();\n } \n\t\n\tstatic int read() throws IOException\n\t{\n\t\tif(total<0)\n throw new InputMismatchException();\n if(index>=total) {\n index=0;\n total= input_stream.read(buffer);\n if(total<=0)\n return -1;\n }\n return buffer[index++];\n\t}\n\tstatic int ni() throws IOException\n { \n\t\tint integer=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n integer*=10;\n integer+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*integer;\n } \n\n\tstatic long nl() throws IOException\n { \n\t\tlong number=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n long neg=1l;\n if(n=='-') {\n neg=-1l;\n n= read();\n }\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n number*=10l;\n number+=(long)(n-'0');\n n= read();\n }\n else throw new InputMismatchException();\n }\n return neg*number;\n } \n\n\tstatic double nd() throws IOException\n { \n\t\tdouble doub=0;\n int n= read();\n while(isWhiteSpace(n))\n n= read();\n int neg=1;\n if(n=='-') {\n neg=-1;\n n= read();\n }\n while(!isWhiteSpace(n)&&n!='.') {\n if(n>='0'&&n<='9') {\n doub*=10;\n doub+=n-'0';\n n= read();\n }\n else throw new InputMismatchException();\n }\n\n if(n=='.') {\n n= read();\n double temp=1;\n while(!isWhiteSpace(n)) {\n if(n>='0'&&n<='9') {\n temp/=10;\n doub+=(n-'0')*temp;\n n= read();\n }\n else throw new InputMismatchException();\n }\n }\n return doub*neg;\n } \n\n\tstatic String nsl() throws IOException\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\tstatic boolean isWhiteSpace(int n) {\n if(n==' '|| n=='\\n'|| n=='\\r'|| n=='\\t'|| n==-1)\n return true;\n return false;\n }\n\t\n\t///////-------------output-----------------//////\n\tstatic public void p(String str) throws IOException {\n bw.append(str);\n }\n\tstatic public void pn(String str) throws IOException {\n p(str);\n bw.append(\"\\n\");\n }\n\tstatic public void close()throws IOException {\n bw.close();\n }\n\tstatic public void flush()throws IOException {\n bw.flush();\n }\n\t\n\t///////----------THE FAST I/O METHODS ENDS HERE -----------/////////////\n\t///////////////////////////////////////////////////////////////////////\n\t///////////////////////// FOR INPUT LOOP//////////////////////////////\n\tpublic static int[] loopi(int[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static String[] loops(String[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ns();\n\t\t\n\t\treturn arr;\n\t}\n\tpublic static long[] loopl(long[] arr,int n) throws IOException\n\t{\n\t\tfor(int i=0;i<n;i++)\n\t\t\tarr[i]=ni();\n\t\t\n\t\treturn arr;\n\t}\n\t/////////////////////////////////////////////////////////////////////\n\t////////////////////////////////////////////////////////////////////\n\tstatic class Node implements Comparable<Node>{\n\t\tint h;\n\t\tint w;\n\t\tNode(int h,int w)\n\t\t{\n\t\t\tthis.h=h;\n\t\t\tthis.w=w;\n\t\t}\n\t\tpublic static String toString(Node n)\n\t\t{\n\t\t\treturn n.h+\" \"+n.w;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Node n)\n\t\t{\n\t\t\t\n\t\t\t\treturn this.h-n.h;\n\t\t}\n\t\n\t}\n\t\n\tstatic boolean al[]=new boolean[1100000];\n\t public static void prime()\n\t {\n\t int n=1000000;\n\t \n\t for(int i=2;i*i<=n;i++)\n\t {\n\t if(!al[i]){\n\t for(int j=i*2;j<=n;j+=i)\n\t {\n\t al[j]=true;\n\t }\n\t \n\t }\n\t }\n\t }\n\t public static int count=0;\n\t static boolean com[]=new boolean[120000];\n\t public static void dfs(int p,int n,ArrayList<Integer> al[],Boolean visited[])\n\t{\n\t\tif (visited[n]) {\n\t\t\tif (!com[n])\n\t\t\t\tcount++;\n\t\t\treturn;\n\t\t}\n\t\tvisited[n] = true;\n\t\tfor(int i:al[n])\n\t\t{\n\t\t\tif (i!=p)\n\t\t\t\tdfs(n,i,al,visited);\n\t\t\t\t\t//return true;\n\t\t\t\n\t\t\t\t\n\t\t}\n\t\tcom[n]=true;\n\t\t//return false;\n\t}\n\tstatic int mex(int start,int end,int arr[])\n\t{\n\t\tint min=Integer.MAX_VALUE;\n\t\tif(arr[0]>0)\n\t\t\treturn 0;\n\t\tfor(int i=start;i<end-1;i++)\n\t\t{\n\t\t\tSystem.out.println(i);\n\t\t\tif(arr[i+1]==arr[i]+1||arr[i+1]==arr[i])\n\t\t\t{\n\t\t\t\tSystem.out.println(\"equal\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse \n\t\t\t{\n\t\t\t\t\n\t\t\t\tmin=arr[i]+1;\n\t\t\t\tSystem.out.println(arr[i]+1+\" \"+min);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\treturn min;\n\t}\n\n\t public static void main(String args[]) throws IOException {\n\t\tint temp=ni();\n\t\tpn((temp^1)+\"\");\n\t\tflush();\n}\n\t }",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
///////----------------input----------------//////
static BufferedReader br= new BufferedReader(new
InputStreamReader(System.in));
static BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
static StringTokenizer st;
static byte[] buffer =new byte[10*1024];
static int index;
static InputStream input_stream= System.in;
static int total;
static String ns() throws IOException
{
StringBuilder sb = new StringBuilder();
int n = read();
while (isWhiteSpace(n))
n = read();
while (!isWhiteSpace(n)) {
sb.append((char)n);
n = read();
}
return sb.toString();
}
static int read() throws IOException
{
if(total<0)
throw new InputMismatchException();
if(index>=total) {
index=0;
total= input_stream.read(buffer);
if(total<=0)
return -1;
}
return buffer[index++];
}
static int ni() throws IOException
{
int integer=0;
int n= read();
while(isWhiteSpace(n))
n= read();
int neg=1;
if(n=='-') {
neg=-1;
n= read();
}
while(!isWhiteSpace(n)) {
if(n>='0'&&n<='9') {
integer*=10;
integer+=n-'0';
n= read();
}
else throw new InputMismatchException();
}
return neg*integer;
}
static long nl() throws IOException
{
long number=0;
int n= read();
while(isWhiteSpace(n))
n= read();
long neg=1l;
if(n=='-') {
neg=-1l;
n= read();
}
while(!isWhiteSpace(n)) {
if(n>='0'&&n<='9') {
number*=10l;
number+=(long)(n-'0');
n= read();
}
else throw new InputMismatchException();
}
return neg*number;
}
static double nd() throws IOException
{
double doub=0;
int n= read();
while(isWhiteSpace(n))
n= read();
int neg=1;
if(n=='-') {
neg=-1;
n= read();
}
while(!isWhiteSpace(n)&&n!='.') {
if(n>='0'&&n<='9') {
doub*=10;
doub+=n-'0';
n= read();
}
else throw new InputMismatchException();
}
if(n=='.') {
n= read();
double temp=1;
while(!isWhiteSpace(n)) {
if(n>='0'&&n<='9') {
temp/=10;
doub+=(n-'0')*temp;
n= read();
}
else throw new InputMismatchException();
}
}
return doub*neg;
}
static String nsl() throws IOException
{
String str = "";
try
{
str = br.readLine();
}
catch (IOException e)
{
e.printStackTrace();
}
return str;
}
static boolean isWhiteSpace(int n) {
if(n==' '|| n=='\n'|| n=='\r'|| n=='\t'|| n==-1)
return true;
return false;
}
///////-------------output-----------------//////
static public void p(String str) throws IOException {
bw.append(str);
}
static public void pn(String str) throws IOException {
p(str);
bw.append("\n");
}
static public void close()throws IOException {
bw.close();
}
static public void flush()throws IOException {
bw.flush();
}
///////----------THE FAST I/O METHODS ENDS HERE -----------/////////////
///////////////////////////////////////////////////////////////////////
///////////////////////// FOR INPUT LOOP//////////////////////////////
public static int[] loopi(int[] arr,int n) throws IOException
{
for(int i=0;i<n;i++)
arr[i]=ni();
return arr;
}
public static String[] loops(String[] arr,int n) throws IOException
{
for(int i=0;i<n;i++)
arr[i]=ns();
return arr;
}
public static long[] loopl(long[] arr,int n) throws IOException
{
for(int i=0;i<n;i++)
arr[i]=ni();
return arr;
}
/////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
static class Node implements Comparable<Node>{
int h;
int w;
Node(int h,int w)
{
this.h=h;
this.w=w;
}
public static String toString(Node n)
{
return n.h+" "+n.w;
}
@Override
public int compareTo(Node n)
{
return this.h-n.h;
}
}
static boolean al[]=new boolean[1100000];
public static void prime()
{
int n=1000000;
for(int i=2;i*i<=n;i++)
{
if(!al[i]){
for(int j=i*2;j<=n;j+=i)
{
al[j]=true;
}
}
}
}
public static int count=0;
static boolean com[]=new boolean[120000];
public static void dfs(int p,int n,ArrayList<Integer> al[],Boolean visited[])
{
if (visited[n]) {
if (!com[n])
count++;
return;
}
visited[n] = true;
for(int i:al[n])
{
if (i!=p)
dfs(n,i,al,visited);
//return true;
}
com[n]=true;
//return false;
}
static int mex(int start,int end,int arr[])
{
int min=Integer.MAX_VALUE;
if(arr[0]>0)
return 0;
for(int i=start;i<end-1;i++)
{
System.out.println(i);
if(arr[i+1]==arr[i]+1||arr[i+1]==arr[i])
{
System.out.println("equal");
continue;
}
else
{
min=arr[i]+1;
System.out.println(arr[i]+1+" "+min);
break;
}
}
return min;
}
public static void main(String args[]) throws IOException {
int temp=ni();
pn((temp^1)+"");
flush();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
17,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
40,
8
],
[
40,
9
],
[
9,
10
],
[
9,
11
],
[
40,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
40,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
28,
37
],
[
37,
38
],
[
0,
39
],
[
39,
40
],
[
39,
41
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main{\n Scanner sc = new Scanner(System.in);\t\n\n public void run(){\n int x = sc.nextInt();\n System.out.println(1-x);\n }\n public static void main(String[] args){\n Main m = new Main();\n m.run();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n Scanner sc = new Scanner(System.in);\t\n\n public void run(){\n int x = sc.nextInt();\n System.out.println(1-x);\n }\n public static void main(String[] args){\n Main m = new Main();\n m.run();\n }\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public void run(){\n int x = sc.nextInt();\n System.out.println(1-x);\n }",
"run",
"{\n int x = sc.nextInt();\n System.out.println(1-x);\n }",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(1-x)",
"System.out.println",
"System.out",
"System",
"System.out",
"1-x",
"1",
"x",
"public static void main(String[] args){\n Main m = new Main();\n m.run();\n }",
"main",
"{\n Main m = new Main();\n m.run();\n }",
"Main m = new Main();",
"m",
"new Main()",
"m.run()",
"m.run",
"m",
"String[] args",
"args",
"public class Main{\n Scanner sc = new Scanner(System.in);\t\n\n public void run(){\n int x = sc.nextInt();\n System.out.println(1-x);\n }\n public static void main(String[] args){\n Main m = new Main();\n m.run();\n }\n}",
"public class Main{\n Scanner sc = new Scanner(System.in);\t\n\n public void run(){\n int x = sc.nextInt();\n System.out.println(1-x);\n }\n public static void main(String[] args){\n Main m = new Main();\n m.run();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main{
Scanner sc = new Scanner(System.in);
public void run(){
int x = sc.nextInt();
System.out.println(1-x);
}
public static void main(String[] args){
Main m = new Main();
m.run();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
4,
18,
13,
17,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
35,
8
],
[
35,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
25,
30
],
[
25,
31
],
[
9,
32
],
[
32,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
]
]
| [
"import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\t\n\t\tSystem.out.println( s.equals(\"1\") ? \"0\" : \"1\");\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\t\n\t\tSystem.out.println( s.equals(\"1\") ? \"0\" : \"1\");\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\t\n\t\tSystem.out.println( s.equals(\"1\") ? \"0\" : \"1\");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\t\n\t\tSystem.out.println( s.equals(\"1\") ? \"0\" : \"1\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"System.out.println( s.equals(\"1\") ? \"0\" : \"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"s.equals(\"1\") ? \"0\" : \"1\"",
"s.equals(\"1\")",
"s.equals",
"s",
"\"1\"",
"\"0\"",
"\"1\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\t\n\t\tSystem.out.println( s.equals(\"1\") ? \"0\" : \"1\");\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tString s = sc.next();\n\t\t\n\t\tSystem.out.println( s.equals(\"1\") ? \"0\" : \"1\");\n\t}\n}",
"Main"
]
| import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
Scanner sc = new Scanner(System.in);
String s = sc.next();
System.out.println( s.equals("1") ? "0" : "1");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
0,
13,
2,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
48,
14
],
[
48,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
17,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
15,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
]
| [
"\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st;\n StringBuilder print=new StringBuilder();\n int x=Integer.parseInt(br.readLine());\n x=1-x;\n System.out.println(x);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st;\n StringBuilder print=new StringBuilder();\n int x=Integer.parseInt(br.readLine());\n x=1-x;\n System.out.println(x);\n }\n}",
"Main",
"public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st;\n StringBuilder print=new StringBuilder();\n int x=Integer.parseInt(br.readLine());\n x=1-x;\n System.out.println(x);\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st;\n StringBuilder print=new StringBuilder();\n int x=Integer.parseInt(br.readLine());\n x=1-x;\n System.out.println(x);\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st;",
"st",
"StringBuilder print=new StringBuilder();",
"print",
"new StringBuilder()",
"int x=Integer.parseInt(br.readLine());",
"x",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"x=1-x",
"x",
"1-x",
"1",
"x",
"System.out.println(x)",
"System.out.println",
"System.out",
"System",
"System.out",
"x",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st;\n StringBuilder print=new StringBuilder();\n int x=Integer.parseInt(br.readLine());\n x=1-x;\n System.out.println(x);\n }\n}",
"public class Main {\n public static void main(String[] args)throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st;\n StringBuilder print=new StringBuilder();\n int x=Integer.parseInt(br.readLine());\n x=1-x;\n System.out.println(x);\n }\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args)throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st;
StringBuilder print=new StringBuilder();
int x=Integer.parseInt(br.readLine());
x=1-x;
System.out.println(x);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
4,
13,
4,
18,
13,
8,
2,
13,
17,
17,
17,
12,
13,
30,
41,
13,
4,
18,
13,
0,
13,
8,
4,
18,
13,
18,
13,
13,
20,
0,
13,
20,
4,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
13,
2,
2,
13,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
29,
17,
41,
13,
13,
42,
2,
13,
13,
14,
40,
4,
13,
18,
13,
40,
13,
29,
17,
38,
5,
13,
30,
29,
17,
30,
4,
18,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
40,
17,
30,
4,
18,
13,
29,
17,
14,
40,
4,
13,
13,
30,
4,
18,
13,
29,
17,
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,
2,
13,
13,
40,
4,
13,
13,
30,
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,
17,
41,
13,
41,
13,
17,
42,
2,
2,
0,
13,
4,
13,
40,
17,
40,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
42,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
2,
13,
17,
30,
29,
8,
13,
40,
13,
13,
0,
13,
4,
13,
12,
13,
30,
41,
13,
17,
41,
13,
41,
13,
17,
42,
2,
2,
0,
13,
4,
13,
40,
17,
40,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
42,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
2,
13,
17,
30,
29,
8,
13,
40,
13,
13,
0,
13,
4,
13,
12,
13,
30,
14,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
559,
17
],
[
559,
18
],
[
18,
19
],
[
559,
20
],
[
20,
21
],
[
559,
22
],
[
22,
23
],
[
22,
24
],
[
559,
25
],
[
25,
26
],
[
25,
27
],
[
559,
29
],
[
29,
30
],
[
29,
31
],
[
559,
32
],
[
32,
33
],
[
32,
34
],
[
559,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
45,
50
],
[
559,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
53,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
53,
69
],
[
69,
70
],
[
69,
71
],
[
53,
72
],
[
72,
73
],
[
53,
74
],
[
74,
75
],
[
75,
76
],
[
53,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
53,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
51,
89
],
[
89,
90
],
[
559,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
94,
99
],
[
99,
100
],
[
93,
101
],
[
101,
102
],
[
101,
103
],
[
93,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
108,
116
],
[
116,
117
],
[
93,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
118,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
124,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
131,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
137,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
142,
146
],
[
146,
147
],
[
137,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
148,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
153,
157
],
[
157,
158
],
[
559,
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
],
[
559,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
211,
213
],
[
202,
214
],
[
214,
215
],
[
559,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
218,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
223,
228
],
[
228,
229
],
[
222,
230
],
[
230,
231
],
[
230,
232
],
[
218,
233
],
[
233,
234
],
[
559,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
239,
242
],
[
242,
243
],
[
559,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
559,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
252,
257
],
[
257,
258
],
[
257,
259
],
[
252,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
260,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
266,
269
],
[
265,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
252,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
559,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
280,
289
],
[
289,
290
],
[
289,
291
],
[
280,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
292,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
302,
307
],
[
301,
308
],
[
308,
309
],
[
308,
310
],
[
310,
311
],
[
280,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
313,
317
],
[
313,
318
],
[
318,
319
],
[
319,
320
],
[
318,
321
],
[
318,
322
],
[
278,
323
],
[
323,
324
],
[
559,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
328,
329
],
[
328,
330
],
[
327,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
334,
336
],
[
332,
337
],
[
337,
338
],
[
337,
339
],
[
332,
340
],
[
340,
341
],
[
341,
342
],
[
332,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
345,
347
],
[
344,
348
],
[
348,
349
],
[
348,
350
],
[
327,
351
],
[
351,
352
],
[
325,
353
],
[
353,
354
],
[
325,
355
],
[
355,
356
],
[
559,
357
],
[
357,
358
],
[
357,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
359,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
364,
369
],
[
369,
370
],
[
369,
371
],
[
364,
372
],
[
372,
373
],
[
373,
374
],
[
364,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
376,
380
],
[
380,
381
],
[
359,
382
],
[
382,
383
],
[
357,
384
],
[
384,
385
],
[
559,
386
],
[
386,
387
],
[
386,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
388,
392
],
[
392,
393
],
[
388,
394
],
[
394,
395
],
[
394,
396
],
[
388,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
400,
401
],
[
400,
402
],
[
402,
403
],
[
399,
404
],
[
404,
405
],
[
398,
406
],
[
406,
407
],
[
407,
408
],
[
408,
409
],
[
409,
410
],
[
409,
411
],
[
408,
412
],
[
412,
413
],
[
412,
414
],
[
407,
415
],
[
415,
416
],
[
415,
417
],
[
388,
418
],
[
418,
419
],
[
419,
420
],
[
419,
421
],
[
418,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
422,
426
],
[
426,
427
],
[
426,
428
],
[
428,
429
],
[
388,
430
],
[
430,
431
],
[
430,
432
],
[
432,
433
],
[
433,
434
],
[
434,
435
],
[
435,
436
],
[
435,
437
],
[
434,
438
],
[
438,
439
],
[
438,
440
],
[
433,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
444,
445
],
[
445,
446
],
[
445,
447
],
[
444,
448
],
[
448,
449
],
[
448,
450
],
[
433,
451
],
[
451,
452
],
[
452,
453
],
[
453,
454
],
[
453,
455
],
[
455,
456
],
[
453,
457
],
[
432,
458
],
[
458,
459
],
[
458,
460
],
[
460,
461
],
[
559,
462
],
[
462,
463
],
[
462,
464
],
[
464,
465
],
[
465,
466
],
[
465,
467
],
[
464,
468
],
[
468,
469
],
[
464,
470
],
[
470,
471
],
[
470,
472
],
[
464,
473
],
[
473,
474
],
[
474,
475
],
[
475,
476
],
[
476,
477
],
[
476,
478
],
[
478,
479
],
[
475,
480
],
[
480,
481
],
[
474,
482
],
[
482,
483
],
[
483,
484
],
[
484,
485
],
[
485,
486
],
[
485,
487
],
[
484,
488
],
[
488,
489
],
[
488,
490
],
[
483,
491
],
[
491,
492
],
[
491,
493
],
[
464,
494
],
[
494,
495
],
[
495,
496
],
[
495,
497
],
[
494,
498
],
[
498,
499
],
[
499,
500
],
[
499,
501
],
[
498,
502
],
[
502,
503
],
[
502,
504
],
[
504,
505
],
[
464,
506
],
[
506,
507
],
[
506,
508
],
[
508,
509
],
[
509,
510
],
[
510,
511
],
[
511,
512
],
[
511,
513
],
[
510,
514
],
[
514,
515
],
[
514,
516
],
[
509,
517
],
[
517,
518
],
[
518,
519
],
[
518,
520
],
[
520,
521
],
[
521,
522
],
[
521,
523
],
[
520,
524
],
[
524,
525
],
[
524,
526
],
[
509,
527
],
[
527,
528
],
[
528,
529
],
[
529,
530
],
[
529,
531
],
[
531,
532
],
[
529,
533
],
[
508,
534
],
[
534,
535
],
[
534,
536
],
[
536,
537
],
[
559,
538
],
[
538,
539
],
[
538,
540
],
[
540,
541
],
[
541,
542
],
[
542,
543
],
[
543,
544
],
[
544,
545
],
[
542,
546
],
[
541,
547
],
[
547,
548
],
[
548,
549
],
[
549,
550
],
[
549,
551
],
[
547,
552
],
[
552,
553
],
[
553,
554
],
[
552,
555
],
[
538,
556
],
[
556,
557
],
[
0,
558
],
[
558,
559
],
[
558,
560
]
]
| [
"import java.io.ByteArrayInputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.*;\n\npublic class Main {\n static InputStream is;\n static PrintWriter out;\n static String INPUT = \"\";\n\n static void solve() {\n int x = ni();\n\n out.println((x == 0)? 1 : 0);\n }\n\n public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n tr(G-S+\"ms\");\n }\n\n private static boolean eof() {\n if(lenbuf == -1)return true;\n int lptr = ptrbuf;\n while(lptr < lenbuf)if(!isSpaceChar(inbuf[lptr++]))return false;\n\n try {\n is.mark(1000);\n while(true){\n int b = is.read();\n if(b == -1){\n is.reset();\n return true;\n }else if(!isSpaceChar(b)){\n is.reset();\n return false;\n }\n }\n } catch (IOException e) {\n return true;\n }\n }\n\n private static byte[] inbuf = new byte[1024];\n static int lenbuf = 0, ptrbuf = 0;\n\n private static int readByte() {\n if(lenbuf == -1)throw new InputMismatchException();\n if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }\n return inbuf[ptrbuf++];\n }\n\n private static boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); }\n\n private static int skip() { int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }\n\n private static double nd() { return Double.parseDouble(ns()); }\n private static char nc() { return (char)skip(); }\n\n private static String ns() {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while(!(isSpaceChar(b))){\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n private static char[] ns(int n) {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }\n\n private static char[][] nm(int n, int m) {\n char[][] map = new char[n][];\n for(int i = 0;i < n;i++)map[i] = ns(m);\n return map;\n }\n\n private static int[] na(int n) {\n int[] a = new int[n];\n for(int i = 0;i < n;i++)a[i] = ni();\n return a;\n }\n\n private static int ni() {\n int num = 0, b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private static long nl() {\n long num = 0;\n int b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private static void tr(Object... o) { if(INPUT.length() != 0)System.out.println(Arrays.deepToString(o)); }\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.*;",
"util.*",
"java",
"public class Main {\n static InputStream is;\n static PrintWriter out;\n static String INPUT = \"\";\n\n static void solve() {\n int x = ni();\n\n out.println((x == 0)? 1 : 0);\n }\n\n public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n tr(G-S+\"ms\");\n }\n\n private static boolean eof() {\n if(lenbuf == -1)return true;\n int lptr = ptrbuf;\n while(lptr < lenbuf)if(!isSpaceChar(inbuf[lptr++]))return false;\n\n try {\n is.mark(1000);\n while(true){\n int b = is.read();\n if(b == -1){\n is.reset();\n return true;\n }else if(!isSpaceChar(b)){\n is.reset();\n return false;\n }\n }\n } catch (IOException e) {\n return true;\n }\n }\n\n private static byte[] inbuf = new byte[1024];\n static int lenbuf = 0, ptrbuf = 0;\n\n private static int readByte() {\n if(lenbuf == -1)throw new InputMismatchException();\n if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }\n return inbuf[ptrbuf++];\n }\n\n private static boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); }\n\n private static int skip() { int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }\n\n private static double nd() { return Double.parseDouble(ns()); }\n private static char nc() { return (char)skip(); }\n\n private static String ns() {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while(!(isSpaceChar(b))){\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n private static char[] ns(int n) {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }\n\n private static char[][] nm(int n, int m) {\n char[][] map = new char[n][];\n for(int i = 0;i < n;i++)map[i] = ns(m);\n return map;\n }\n\n private static int[] na(int n) {\n int[] a = new int[n];\n for(int i = 0;i < n;i++)a[i] = ni();\n return a;\n }\n\n private static int ni() {\n int num = 0, b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private static long nl() {\n long num = 0;\n int b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private static void tr(Object... o) { if(INPUT.length() != 0)System.out.println(Arrays.deepToString(o)); }\n}",
"Main",
"static InputStream is;",
"is",
"static PrintWriter out;",
"out",
"static String INPUT = \"\";",
"INPUT",
"\"\"",
"private static byte[] inbuf = new byte[1024];",
"inbuf",
"new byte[1024]",
"1024",
"static int lenbuf = 0",
"lenbuf",
"0",
"ptrbuf = 0;",
"ptrbuf",
"0",
"static void solve() {\n int x = ni();\n\n out.println((x == 0)? 1 : 0);\n }",
"solve",
"{\n int x = ni();\n\n out.println((x == 0)? 1 : 0);\n }",
"int x = ni();",
"x",
"ni()",
"ni",
"out.println((x == 0)? 1 : 0)",
"out.println",
"out",
"(x == 0)? 1 : 0",
"(x == 0)",
"x",
"0",
"1",
"0",
"public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n tr(G-S+\"ms\");\n }",
"main",
"{\n long S = System.currentTimeMillis();\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n tr(G-S+\"ms\");\n }",
"long S = System.currentTimeMillis();",
"S",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"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)",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"long G = System.currentTimeMillis();",
"G",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"tr(G-S+\"ms\")",
"tr",
"G-S+\"ms\"",
"G-S",
"G",
"S",
"\"ms\"",
"String[] args",
"args",
"private static boolean eof() {\n if(lenbuf == -1)return true;\n int lptr = ptrbuf;\n while(lptr < lenbuf)if(!isSpaceChar(inbuf[lptr++]))return false;\n\n try {\n is.mark(1000);\n while(true){\n int b = is.read();\n if(b == -1){\n is.reset();\n return true;\n }else if(!isSpaceChar(b)){\n is.reset();\n return false;\n }\n }\n } catch (IOException e) {\n return true;\n }\n }",
"eof",
"{\n if(lenbuf == -1)return true;\n int lptr = ptrbuf;\n while(lptr < lenbuf)if(!isSpaceChar(inbuf[lptr++]))return false;\n\n try {\n is.mark(1000);\n while(true){\n int b = is.read();\n if(b == -1){\n is.reset();\n return true;\n }else if(!isSpaceChar(b)){\n is.reset();\n return false;\n }\n }\n } catch (IOException e) {\n return true;\n }\n }",
"if(lenbuf == -1)return true;",
"lenbuf == -1",
"lenbuf",
"-1",
"1",
"return true;",
"true",
"int lptr = ptrbuf;",
"lptr",
"ptrbuf",
"while(lptr < lenbuf)if(!isSpaceChar(inbuf[lptr++]))return false;",
"lptr < lenbuf",
"lptr",
"lenbuf",
"if(!isSpaceChar(inbuf[lptr++]))return false;",
"!isSpaceChar(inbuf[lptr++])",
"isSpaceChar(inbuf[lptr++])",
"isSpaceChar",
"inbuf[lptr++]",
"inbuf",
"lptr++",
"lptr",
"return false;",
"false",
"try {\n is.mark(1000);\n while(true){\n int b = is.read();\n if(b == -1){\n is.reset();\n return true;\n }else if(!isSpaceChar(b)){\n is.reset();\n return false;\n }\n }\n } catch (IOException e) {\n return true;\n }",
"catch (IOException e) {\n return true;\n }",
"IOException e",
"{\n return true;\n }",
"return true;",
"true",
"{\n is.mark(1000);\n while(true){\n int b = is.read();\n if(b == -1){\n is.reset();\n return true;\n }else if(!isSpaceChar(b)){\n is.reset();\n return false;\n }\n }\n }",
"is.mark(1000)",
"is.mark",
"is",
"1000",
"while(true){\n int b = is.read();\n if(b == -1){\n is.reset();\n return true;\n }else if(!isSpaceChar(b)){\n is.reset();\n return false;\n }\n }",
"true",
"{\n int b = is.read();\n if(b == -1){\n is.reset();\n return true;\n }else if(!isSpaceChar(b)){\n is.reset();\n return false;\n }\n }",
"int b = is.read();",
"b",
"is.read()",
"is.read",
"is",
"if(b == -1){\n is.reset();\n return true;\n }else if(!isSpaceChar(b)){\n is.reset();\n return false;\n }",
"b == -1",
"b",
"-1",
"1",
"{\n is.reset();\n return true;\n }",
"is.reset()",
"is.reset",
"is",
"return true;",
"true",
"if(!isSpaceChar(b)){\n is.reset();\n return false;\n }",
"!isSpaceChar(b)",
"isSpaceChar(b)",
"isSpaceChar",
"b",
"{\n is.reset();\n return false;\n }",
"is.reset()",
"is.reset",
"is",
"return false;",
"false",
"private static int readByte() {\n if(lenbuf == -1)throw new InputMismatchException();\n if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }\n return inbuf[ptrbuf++];\n }",
"readByte",
"{\n if(lenbuf == -1)throw new InputMismatchException();\n if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }\n return inbuf[ptrbuf++];\n }",
"if(lenbuf == -1)throw new InputMismatchException();",
"lenbuf == -1",
"lenbuf",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }",
"ptrbuf >= lenbuf",
"ptrbuf",
"lenbuf",
"{\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }",
"ptrbuf = 0",
"ptrbuf",
"0",
"try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }",
"catch (IOException e) { throw new InputMismatchException(); }",
"IOException e",
"{ throw new InputMismatchException(); }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{ lenbuf = is.read(inbuf); }",
"lenbuf = is.read(inbuf)",
"lenbuf",
"is.read(inbuf)",
"is.read",
"is",
"inbuf",
"if(lenbuf <= 0)return -1;",
"lenbuf <= 0",
"lenbuf",
"0",
"return -1;",
"-1",
"1",
"return inbuf[ptrbuf++];",
"inbuf[ptrbuf++]",
"inbuf",
"ptrbuf++",
"ptrbuf",
"private static boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); }",
"isSpaceChar",
"{ return !(c >= 33 && c <= 126); }",
"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 static int skip() { int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }",
"skip",
"{ int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }",
"int b;",
"b",
"while((b = readByte()) != -1 && isSpaceChar(b));",
"(b = readByte()) != -1 && isSpaceChar(b)",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"isSpaceChar(b)",
"isSpaceChar",
"b",
"return b;",
"b",
"private static double nd() { return Double.parseDouble(ns()); }",
"nd",
"{ return Double.parseDouble(ns()); }",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"private static char nc() { return (char)skip(); }",
"nc",
"{ return (char)skip(); }",
"return (char)skip();",
"(char)skip()",
"skip",
"private static String ns() {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while(!(isSpaceChar(b))){\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"ns",
"{\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while(!(isSpaceChar(b))){\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"int b = skip();",
"b",
"skip()",
"skip",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(!(isSpaceChar(b))){\n sb.appendCodePoint(b);\n b = readByte();\n }",
"!(isSpaceChar(b))",
"(isSpaceChar(b))",
"isSpaceChar",
"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",
"private static char[] ns(int n) {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }",
"ns",
"{\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }",
"char[] buf = new char[n];",
"buf",
"new char[n]",
"n",
"int b = skip()",
"b",
"skip()",
"skip",
"p = 0;",
"p",
"0",
"while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }",
"p < n && !(isSpaceChar(b))",
"p < n",
"p",
"n",
"!(isSpaceChar(b))",
"(isSpaceChar(b))",
"isSpaceChar",
"b",
"{\n buf[p++] = (char)b;\n b = readByte();\n }",
"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 static char[][] nm(int n, int m) {\n char[][] map = new char[n][];\n for(int i = 0;i < n;i++)map[i] = ns(m);\n return map;\n }",
"nm",
"{\n char[][] map = new char[n][];\n for(int i = 0;i < n;i++)map[i] = ns(m);\n return map;\n }",
"char[][] map = new char[n][];",
"map",
"new char[n][]",
"n",
"for(int i = 0;i < n;i++)map[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 static int[] na(int n) {\n int[] a = new int[n];\n for(int i = 0;i < n;i++)a[i] = ni();\n return a;\n }",
"na",
"{\n int[] a = new int[n];\n for(int i = 0;i < n;i++)a[i] = ni();\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i = 0;i < n;i++)a[i] = ni();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = ni();",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"private static int ni() {\n int num = 0, b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"ni",
"{\n int num = 0, b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"int num = 0",
"num",
"0",
"b;",
"b",
"boolean minus = false;",
"minus",
"false",
"while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));",
"(b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"!((b >= '0' && b <= '9') || b == '-')",
"((b >= '0' && b <= '9') || b == '-')",
"(b >= '0' && b <= '9')",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"b == '-'",
"b",
"'-'",
"if(b == '-'){\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",
"while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }",
"true",
"{\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }",
"if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }",
"b >= '0' && b <= '9'",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"{\n num = num * 10 + (b - '0');\n }",
"num = num * 10 + (b - '0')",
"num",
"num * 10 + (b - '0')",
"num * 10",
"num",
"10",
"(b - '0')",
"b",
"'0'",
"{\n return minus ? -num : num;\n }",
"return minus ? -num : num;",
"minus ? -num : num",
"minus",
"-num",
"num",
"num",
"b = readByte()",
"b",
"readByte()",
"readByte",
"private static long nl() {\n long num = 0;\n int b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"nl",
"{\n long num = 0;\n int b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"long num = 0;",
"num",
"0",
"int b;",
"b",
"boolean minus = false;",
"minus",
"false",
"while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));",
"(b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"!((b >= '0' && b <= '9') || b == '-')",
"((b >= '0' && b <= '9') || b == '-')",
"(b >= '0' && b <= '9')",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"b == '-'",
"b",
"'-'",
"if(b == '-'){\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",
"while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }",
"true",
"{\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }",
"if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }",
"b >= '0' && b <= '9'",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"{\n num = num * 10 + (b - '0');\n }",
"num = num * 10 + (b - '0')",
"num",
"num * 10 + (b - '0')",
"num * 10",
"num",
"10",
"(b - '0')",
"b",
"'0'",
"{\n return minus ? -num : num;\n }",
"return minus ? -num : num;",
"minus ? -num : num",
"minus",
"-num",
"num",
"num",
"b = readByte()",
"b",
"readByte()",
"readByte",
"private static void tr(Object... o) { if(INPUT.length() != 0)System.out.println(Arrays.deepToString(o)); }",
"tr",
"{ if(INPUT.length() != 0)System.out.println(Arrays.deepToString(o)); }",
"if(INPUT.length() != 0)System.out.println(Arrays.deepToString(o));",
"INPUT.length() != 0",
"INPUT.length()",
"INPUT.length",
"INPUT",
"0",
"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 Main {\n static InputStream is;\n static PrintWriter out;\n static String INPUT = \"\";\n\n static void solve() {\n int x = ni();\n\n out.println((x == 0)? 1 : 0);\n }\n\n public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n tr(G-S+\"ms\");\n }\n\n private static boolean eof() {\n if(lenbuf == -1)return true;\n int lptr = ptrbuf;\n while(lptr < lenbuf)if(!isSpaceChar(inbuf[lptr++]))return false;\n\n try {\n is.mark(1000);\n while(true){\n int b = is.read();\n if(b == -1){\n is.reset();\n return true;\n }else if(!isSpaceChar(b)){\n is.reset();\n return false;\n }\n }\n } catch (IOException e) {\n return true;\n }\n }\n\n private static byte[] inbuf = new byte[1024];\n static int lenbuf = 0, ptrbuf = 0;\n\n private static int readByte() {\n if(lenbuf == -1)throw new InputMismatchException();\n if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }\n return inbuf[ptrbuf++];\n }\n\n private static boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); }\n\n private static int skip() { int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }\n\n private static double nd() { return Double.parseDouble(ns()); }\n private static char nc() { return (char)skip(); }\n\n private static String ns() {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while(!(isSpaceChar(b))){\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n private static char[] ns(int n) {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }\n\n private static char[][] nm(int n, int m) {\n char[][] map = new char[n][];\n for(int i = 0;i < n;i++)map[i] = ns(m);\n return map;\n }\n\n private static int[] na(int n) {\n int[] a = new int[n];\n for(int i = 0;i < n;i++)a[i] = ni();\n return a;\n }\n\n private static int ni() {\n int num = 0, b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private static long nl() {\n long num = 0;\n int b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private static void tr(Object... o) { if(INPUT.length() != 0)System.out.println(Arrays.deepToString(o)); }\n}",
"public class Main {\n static InputStream is;\n static PrintWriter out;\n static String INPUT = \"\";\n\n static void solve() {\n int x = ni();\n\n out.println((x == 0)? 1 : 0);\n }\n\n public static void main(String[] args) throws Exception {\n long S = System.currentTimeMillis();\n is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n out = new PrintWriter(System.out);\n\n solve();\n out.flush();\n long G = System.currentTimeMillis();\n tr(G-S+\"ms\");\n }\n\n private static boolean eof() {\n if(lenbuf == -1)return true;\n int lptr = ptrbuf;\n while(lptr < lenbuf)if(!isSpaceChar(inbuf[lptr++]))return false;\n\n try {\n is.mark(1000);\n while(true){\n int b = is.read();\n if(b == -1){\n is.reset();\n return true;\n }else if(!isSpaceChar(b)){\n is.reset();\n return false;\n }\n }\n } catch (IOException e) {\n return true;\n }\n }\n\n private static byte[] inbuf = new byte[1024];\n static int lenbuf = 0, ptrbuf = 0;\n\n private static int readByte() {\n if(lenbuf == -1)throw new InputMismatchException();\n if(ptrbuf >= lenbuf){\n ptrbuf = 0;\n try { lenbuf = is.read(inbuf); } catch (IOException e) { throw new InputMismatchException(); }\n if(lenbuf <= 0)return -1;\n }\n return inbuf[ptrbuf++];\n }\n\n private static boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); }\n\n private static int skip() { int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }\n\n private static double nd() { return Double.parseDouble(ns()); }\n private static char nc() { return (char)skip(); }\n\n private static String ns() {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while(!(isSpaceChar(b))){\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n private static char[] ns(int n) {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while(p < n && !(isSpaceChar(b))){\n buf[p++] = (char)b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }\n\n private static char[][] nm(int n, int m) {\n char[][] map = new char[n][];\n for(int i = 0;i < n;i++)map[i] = ns(m);\n return map;\n }\n\n private static int[] na(int n) {\n int[] a = new int[n];\n for(int i = 0;i < n;i++)a[i] = ni();\n return a;\n }\n\n private static int ni() {\n int num = 0, b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private static long nl() {\n long num = 0;\n int b;\n boolean minus = false;\n while((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if(b == '-'){\n minus = true;\n b = readByte();\n }\n\n while(true){\n if(b >= '0' && b <= '9'){\n num = num * 10 + (b - '0');\n }else{\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private static void tr(Object... o) { if(INPUT.length() != 0)System.out.println(Arrays.deepToString(o)); }\n}",
"Main"
]
| import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.*;
public class Main {
static InputStream is;
static PrintWriter out;
static String INPUT = "";
static void solve() {
int x = ni();
out.println((x == 0)? 1 : 0);
}
public static void main(String[] args) throws Exception {
long S = System.currentTimeMillis();
is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());
out = new PrintWriter(System.out);
solve();
out.flush();
long G = System.currentTimeMillis();
tr(G-S+"ms");
}
private static boolean eof() {
if(lenbuf == -1)return true;
int lptr = ptrbuf;
while(lptr < lenbuf)if(!isSpaceChar(inbuf[lptr++]))return false;
try {
is.mark(1000);
while(true){
int b = is.read();
if(b == -1){
is.reset();
return true;
}else if(!isSpaceChar(b)){
is.reset();
return false;
}
}
} catch (IOException e) {
return true;
}
}
private static byte[] inbuf = new byte[1024];
static int lenbuf = 0, ptrbuf = 0;
private static 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 static boolean isSpaceChar(int c) { return !(c >= 33 && c <= 126); }
private static int skip() { int b; while((b = readByte()) != -1 && isSpaceChar(b)); return b; }
private static double nd() { return Double.parseDouble(ns()); }
private static char nc() { return (char)skip(); }
private static String ns() {
int b = skip();
StringBuilder sb = new StringBuilder();
while(!(isSpaceChar(b))){
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
private static char[] ns(int n) {
char[] buf = new char[n];
int b = skip(), p = 0;
while(p < n && !(isSpaceChar(b))){
buf[p++] = (char)b;
b = readByte();
}
return n == p ? buf : Arrays.copyOf(buf, p);
}
private static 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 static int[] na(int n) {
int[] a = new int[n];
for(int i = 0;i < n;i++)a[i] = ni();
return a;
}
private static 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 static 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) { if(INPUT.length() != 0)System.out.println(Arrays.deepToString(o)); }
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
36,
5
],
[
36,
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
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
6,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
]
| [
"import java.util.Scanner;\n\n/**\n * @author yadavd5\n *\n */\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n==0)\n\t\t\tSystem.out.println(\"1\");\n\t\telse\n\t\t\tSystem.out.println(\"0\");\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 n = sc.nextInt();\n\t\tif(n==0)\n\t\t\tSystem.out.println(\"1\");\n\t\telse\n\t\t\tSystem.out.println(\"0\");\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n==0)\n\t\t\tSystem.out.println(\"1\");\n\t\telse\n\t\t\tSystem.out.println(\"0\");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n==0)\n\t\t\tSystem.out.println(\"1\");\n\t\telse\n\t\t\tSystem.out.println(\"0\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n==0)\n\t\t\tSystem.out.println(\"1\");\n\t\telse\n\t\t\tSystem.out.println(\"0\");",
"n==0",
"n",
"0",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n==0)\n\t\t\tSystem.out.println(\"1\");\n\t\telse\n\t\t\tSystem.out.println(\"0\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tif(n==0)\n\t\t\tSystem.out.println(\"1\");\n\t\telse\n\t\t\tSystem.out.println(\"0\");\n\t}\n}",
"Main"
]
| import java.util.Scanner;
/**
* @author yadavd5
*
*/
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
if(n==0)
System.out.println("1");
else
System.out.println("0");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
18,
13,
13,
41,
13,
2,
17,
17,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
17,
42,
2,
40,
13,
17,
30,
4,
18,
13,
2,
17,
4,
13,
12,
13,
30,
0,
13,
18,
13,
13,
0,
13,
20,
4,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
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,
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,
2,
13,
13,
40,
4,
13,
13,
30,
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,
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,
30,
0,
18,
13,
13,
4,
13,
29,
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,
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
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
7,
11
],
[
11,
12
],
[
7,
13
],
[
13,
14
],
[
7,
15
],
[
15,
16
],
[
15,
17
],
[
7,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
20,
22
],
[
7,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
7,
28
],
[
28,
29
],
[
28,
30
],
[
7,
32
],
[
32,
33
],
[
32,
34
],
[
7,
35
],
[
35,
36
],
[
35,
37
],
[
7,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
7,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
59,
65
],
[
65,
66
],
[
65,
67
],
[
59,
68
],
[
68,
69
],
[
59,
70
],
[
70,
71
],
[
71,
72
],
[
7,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
73,
79
],
[
79,
80
],
[
7,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
84,
89
],
[
89,
90
],
[
90,
91
],
[
83,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
100,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
96,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
83,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
7,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
135,
137
],
[
126,
138
],
[
138,
139
],
[
7,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
147,
152
],
[
152,
153
],
[
146,
154
],
[
154,
155
],
[
154,
156
],
[
142,
157
],
[
157,
158
],
[
7,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
166,
167
],
[
7,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
7,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
176,
181
],
[
181,
182
],
[
181,
183
],
[
176,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
184,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
190,
193
],
[
189,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
176,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
7,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
204,
213
],
[
213,
214
],
[
213,
215
],
[
204,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
217,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
216,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
226,
231
],
[
225,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
204,
236
],
[
236,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
237,
241
],
[
237,
242
],
[
242,
243
],
[
243,
244
],
[
242,
245
],
[
242,
246
],
[
202,
247
],
[
247,
248
],
[
7,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
256,
261
],
[
261,
262
],
[
261,
263
],
[
256,
264
],
[
264,
265
],
[
265,
266
],
[
256,
267
],
[
268,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
269,
273
],
[
273,
274
],
[
273,
275
],
[
251,
276
],
[
276,
277
],
[
249,
278
],
[
278,
279
],
[
249,
280
],
[
280,
281
],
[
7,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
289,
294
],
[
294,
295
],
[
294,
296
],
[
289,
297
],
[
297,
298
],
[
298,
299
],
[
289,
300
],
[
301,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
302,
306
],
[
306,
307
],
[
284,
308
],
[
308,
309
],
[
282,
310
],
[
310,
311
],
[
7,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
314,
318
],
[
318,
319
],
[
314,
320
],
[
320,
321
],
[
320,
322
],
[
314,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
325,
330
],
[
330,
331
],
[
324,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
334,
338
],
[
338,
339
],
[
338,
340
],
[
333,
341
],
[
341,
342
],
[
341,
343
],
[
314,
344
],
[
344,
345
],
[
345,
346
],
[
345,
347
],
[
344,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
348,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
314,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
360,
364
],
[
364,
365
],
[
364,
366
],
[
359,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
371,
372
],
[
371,
373
],
[
370,
374
],
[
374,
375
],
[
374,
376
],
[
359,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
381,
382
],
[
379,
383
],
[
358,
384
],
[
384,
385
],
[
384,
386
],
[
386,
387
],
[
7,
388
],
[
388,
389
],
[
388,
390
],
[
390,
391
],
[
391,
392
],
[
391,
393
],
[
390,
394
],
[
394,
395
],
[
390,
396
],
[
396,
397
],
[
396,
398
],
[
390,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
404,
405
],
[
401,
406
],
[
406,
407
],
[
400,
408
],
[
408,
409
],
[
409,
410
],
[
410,
411
],
[
411,
412
],
[
411,
413
],
[
410,
414
],
[
414,
415
],
[
414,
416
],
[
409,
417
],
[
417,
418
],
[
417,
419
],
[
390,
420
],
[
420,
421
],
[
421,
422
],
[
421,
423
],
[
420,
424
],
[
424,
425
],
[
425,
426
],
[
425,
427
],
[
424,
428
],
[
428,
429
],
[
428,
430
],
[
430,
431
],
[
390,
432
],
[
432,
433
],
[
432,
434
],
[
434,
435
],
[
435,
436
],
[
436,
437
],
[
437,
438
],
[
437,
439
],
[
436,
440
],
[
440,
441
],
[
440,
442
],
[
435,
443
],
[
443,
444
],
[
444,
445
],
[
444,
446
],
[
446,
447
],
[
447,
448
],
[
447,
449
],
[
446,
450
],
[
450,
451
],
[
450,
452
],
[
435,
453
],
[
453,
454
],
[
454,
455
],
[
455,
456
],
[
455,
457
],
[
457,
458
],
[
455,
459
],
[
434,
460
],
[
460,
461
],
[
460,
462
],
[
462,
463
]
]
| [
"import java.util.*;\nimport java.io.*;\n\nclass Main {\n\n Scanner in;\n InputStream is;\n PrintWriter out;\n String INPUT = \"\";\n//----------------------------------------------------------------------------------------------------//\n int INF=Integer.MAX_VALUE;\n int mod=(int)(1e9)+7;\n \n void solve() {\n int t = 1;\n //t=ni();\n while (t-- > 0) {\n out.println(1-ni());\n \n \n \n }\n }\n//----------------------------------------------------------------------------------------------------//\n\n void run() throws Exception {\n //File fileIN = new File(\"C:\\\\Users\\\\Sarthak\\\\Desktop\\\\input.txt\");is = new FileInputStream(fileIN);\n //File fileOUT = new File(\"C:\\\\Users\\\\Sarthak\\\\Desktop\\\\output.txt\");out = new PrintWriter(fileOUT);;\n is = System.in;\n out = new PrintWriter(System.out);\n\n //long s = System.currentTimeMillis();\n solve();\n out.flush();\n //tr(System.currentTimeMillis() - s + \"ms\");\n }\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n\n private byte[] inbuf = new byte[1024];\n public int lenbuf = 0, ptrbuf = 0;\n\n private int readByte() {\n if (lenbuf == -1) {\n throw new InputMismatchException();\n }\n if (ptrbuf >= lenbuf) {\n ptrbuf = 0;\n try {\n lenbuf = is.read(inbuf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (lenbuf <= 0) {\n return -1;\n }\n }\n return inbuf[ptrbuf++];\n }\n\n private boolean isSpaceChar(int c) {\n return !(c >= 33 && c <= 126);\n }\n\n private int skip() {\n int b;\n while ((b = readByte()) != -1 && isSpaceChar(b));\n return b;\n }\n\n private double nd() {\n return Double.parseDouble(ns());\n }\n\n private char nc() {\n return (char) skip();\n }\n\n private String ns() {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) { // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ') \n //if(b!=' ') to remove spaces in Str when taking spaces in Str\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n private char[] ns(int n) {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while (p < n && !(isSpaceChar(b))) {\n buf[p++] = (char) b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }\n\n private char[][] nm(int n, int m) {\n char[][] map = new char[n][];\n for (int i = 0; i < n; i++) {\n map[i] = ns(m);\n }\n return map;\n }\n\n private int[] na(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n\n private int ni() {\n int num = 0, b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private long nl() {\n long num = 0;\n int b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\n Scanner in;\n InputStream is;\n PrintWriter out;\n String INPUT = \"\";\n//----------------------------------------------------------------------------------------------------//\n int INF=Integer.MAX_VALUE;\n int mod=(int)(1e9)+7;\n \n void solve() {\n int t = 1;\n //t=ni();\n while (t-- > 0) {\n out.println(1-ni());\n \n \n \n }\n }\n//----------------------------------------------------------------------------------------------------//\n\n void run() throws Exception {\n //File fileIN = new File(\"C:\\\\Users\\\\Sarthak\\\\Desktop\\\\input.txt\");is = new FileInputStream(fileIN);\n //File fileOUT = new File(\"C:\\\\Users\\\\Sarthak\\\\Desktop\\\\output.txt\");out = new PrintWriter(fileOUT);;\n is = System.in;\n out = new PrintWriter(System.out);\n\n //long s = System.currentTimeMillis();\n solve();\n out.flush();\n //tr(System.currentTimeMillis() - s + \"ms\");\n }\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n\n private byte[] inbuf = new byte[1024];\n public int lenbuf = 0, ptrbuf = 0;\n\n private int readByte() {\n if (lenbuf == -1) {\n throw new InputMismatchException();\n }\n if (ptrbuf >= lenbuf) {\n ptrbuf = 0;\n try {\n lenbuf = is.read(inbuf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (lenbuf <= 0) {\n return -1;\n }\n }\n return inbuf[ptrbuf++];\n }\n\n private boolean isSpaceChar(int c) {\n return !(c >= 33 && c <= 126);\n }\n\n private int skip() {\n int b;\n while ((b = readByte()) != -1 && isSpaceChar(b));\n return b;\n }\n\n private double nd() {\n return Double.parseDouble(ns());\n }\n\n private char nc() {\n return (char) skip();\n }\n\n private String ns() {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) { // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ') \n //if(b!=' ') to remove spaces in Str when taking spaces in Str\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n private char[] ns(int n) {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while (p < n && !(isSpaceChar(b))) {\n buf[p++] = (char) b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }\n\n private char[][] nm(int n, int m) {\n char[][] map = new char[n][];\n for (int i = 0; i < n; i++) {\n map[i] = ns(m);\n }\n return map;\n }\n\n private int[] na(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n\n private int ni() {\n int num = 0, b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n\n private long nl() {\n long num = 0;\n int b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }\n}",
"Main",
"Scanner in;",
"in",
"InputStream is;",
"is",
"PrintWriter out;",
"out",
"String INPUT = \"\";",
"INPUT",
"\"\"",
"//----------------------------------------------------------------------------------------------------//\n int INF=Integer.MAX_VALUE;",
"INF",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"int mod=(int)(1e9)+7;",
"mod",
"(int)(1e9)+7",
"(int)(1e9)",
"7",
"private byte[] inbuf = new byte[1024];",
"inbuf",
"new byte[1024]",
"1024",
"public int lenbuf = 0",
"lenbuf",
"0",
"ptrbuf = 0;",
"ptrbuf",
"0",
"void solve() {\n int t = 1;\n //t=ni();\n while (t-- > 0) {\n out.println(1-ni());\n \n \n \n }\n }",
"solve",
"{\n int t = 1;\n //t=ni();\n while (t-- > 0) {\n out.println(1-ni());\n \n \n \n }\n }",
"int t = 1;",
"t",
"1",
"while (t-- > 0) {\n out.println(1-ni());\n \n \n \n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n out.println(1-ni());\n \n \n \n }",
"out.println(1-ni())",
"out.println",
"out",
"1-ni()",
"1",
"ni()",
"ni",
"void run() throws Exception {\n //File fileIN = new File(\"C:\\\\Users\\\\Sarthak\\\\Desktop\\\\input.txt\");is = new FileInputStream(fileIN);\n //File fileOUT = new File(\"C:\\\\Users\\\\Sarthak\\\\Desktop\\\\output.txt\");out = new PrintWriter(fileOUT);;\n is = System.in;\n out = new PrintWriter(System.out);\n\n //long s = System.currentTimeMillis();\n solve();\n out.flush();\n //tr(System.currentTimeMillis() - s + \"ms\");\n }",
"run",
"{\n //File fileIN = new File(\"C:\\\\Users\\\\Sarthak\\\\Desktop\\\\input.txt\");is = new FileInputStream(fileIN);\n //File fileOUT = new File(\"C:\\\\Users\\\\Sarthak\\\\Desktop\\\\output.txt\");out = new PrintWriter(fileOUT);;\n is = System.in;\n out = new PrintWriter(System.out);\n\n //long s = System.currentTimeMillis();\n solve();\n out.flush();\n //tr(System.currentTimeMillis() - s + \"ms\");\n }",
"is = System.in",
"is",
"System.in",
"System",
"System.in",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"public static void main(String[] args) throws Exception {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"private int readByte() {\n if (lenbuf == -1) {\n throw new InputMismatchException();\n }\n if (ptrbuf >= lenbuf) {\n ptrbuf = 0;\n try {\n lenbuf = is.read(inbuf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (lenbuf <= 0) {\n return -1;\n }\n }\n return inbuf[ptrbuf++];\n }",
"readByte",
"{\n if (lenbuf == -1) {\n throw new InputMismatchException();\n }\n if (ptrbuf >= lenbuf) {\n ptrbuf = 0;\n try {\n lenbuf = is.read(inbuf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (lenbuf <= 0) {\n return -1;\n }\n }\n return inbuf[ptrbuf++];\n }",
"if (lenbuf == -1) {\n throw new InputMismatchException();\n }",
"lenbuf == -1",
"lenbuf",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (ptrbuf >= lenbuf) {\n ptrbuf = 0;\n try {\n lenbuf = is.read(inbuf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (lenbuf <= 0) {\n return -1;\n }\n }",
"ptrbuf >= lenbuf",
"ptrbuf",
"lenbuf",
"{\n ptrbuf = 0;\n try {\n lenbuf = is.read(inbuf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (lenbuf <= 0) {\n return -1;\n }\n }",
"ptrbuf = 0",
"ptrbuf",
"0",
"try {\n lenbuf = is.read(inbuf);\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 lenbuf = is.read(inbuf);\n }",
"lenbuf = is.read(inbuf)",
"lenbuf",
"is.read(inbuf)",
"is.read",
"is",
"inbuf",
"if (lenbuf <= 0) {\n return -1;\n }",
"lenbuf <= 0",
"lenbuf",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return inbuf[ptrbuf++];",
"inbuf[ptrbuf++]",
"inbuf",
"ptrbuf++",
"ptrbuf",
"private boolean isSpaceChar(int c) {\n return !(c >= 33 && c <= 126);\n }",
"isSpaceChar",
"{\n return !(c >= 33 && c <= 126);\n }",
"return !(c >= 33 && c <= 126);",
"!(c >= 33 && c <= 126)",
"(c >= 33 && c <= 126)",
"c >= 33",
"c",
"33",
"c <= 126",
"c",
"126",
"int c",
"c",
"private int skip() {\n int b;\n while ((b = readByte()) != -1 && isSpaceChar(b));\n return b;\n }",
"skip",
"{\n int b;\n while ((b = readByte()) != -1 && isSpaceChar(b));\n return b;\n }",
"int b;",
"b",
"while ((b = readByte()) != -1 && isSpaceChar(b));",
"(b = readByte()) != -1 && isSpaceChar(b)",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"isSpaceChar(b)",
"isSpaceChar",
"b",
"return b;",
"b",
"private double nd() {\n return Double.parseDouble(ns());\n }",
"nd",
"{\n return Double.parseDouble(ns());\n }",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"private char nc() {\n return (char) skip();\n }",
"nc",
"{\n return (char) skip();\n }",
"return (char) skip();",
"(char) skip()",
"skip",
"private String ns() {\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) { // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ') \n //if(b!=' ') to remove spaces in Str when taking spaces in Str\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"ns",
"{\n int b = skip();\n StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) { // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ') \n //if(b!=' ') to remove spaces in Str when taking spaces in Str\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"int b = skip();",
"b",
"skip()",
"skip",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (!(isSpaceChar(b))) { // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ') \n //if(b!=' ') to remove spaces in Str when taking spaces in Str\n sb.appendCodePoint(b);\n b = readByte();\n }",
"!(isSpaceChar(b))",
"(isSpaceChar(b))",
"isSpaceChar",
"b",
"{ // when nextLine(take whole line as input wid space), (!isSpaceChar(b) || b == ' ') \n //if(b!=' ') to remove spaces in Str when taking spaces in Str\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",
"private char[] ns(int n) {\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while (p < n && !(isSpaceChar(b))) {\n buf[p++] = (char) b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }",
"ns",
"{\n char[] buf = new char[n];\n int b = skip(), p = 0;\n while (p < n && !(isSpaceChar(b))) {\n buf[p++] = (char) b;\n b = readByte();\n }\n return n == p ? buf : Arrays.copyOf(buf, p);\n }",
"char[] buf = new char[n];",
"buf",
"new char[n]",
"n",
"int b = skip()",
"b",
"skip()",
"skip",
"p = 0;",
"p",
"0",
"while (p < n && !(isSpaceChar(b))) {\n buf[p++] = (char) b;\n b = readByte();\n }",
"p < n && !(isSpaceChar(b))",
"p < n",
"p",
"n",
"!(isSpaceChar(b))",
"(isSpaceChar(b))",
"isSpaceChar",
"b",
"{\n buf[p++] = (char) b;\n b = readByte();\n }",
"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 char[][] map = new char[n][];\n for (int i = 0; i < n; i++) {\n map[i] = ns(m);\n }\n return map;\n }",
"nm",
"{\n char[][] map = new char[n][];\n for (int i = 0; i < n; i++) {\n map[i] = ns(m);\n }\n return map;\n }",
"char[][] map = new char[n][];",
"map",
"new char[n][]",
"n",
"for (int i = 0; i < n; i++) {\n map[i] = ns(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = ns(m);\n }",
"{\n map[i] = ns(m);\n }",
"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 int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }",
"na",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = ni();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = ni();\n }",
"{\n a[i] = ni();\n }",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"private int ni() {\n int num = 0, b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"ni",
"{\n int num = 0, b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"int num = 0",
"num",
"0",
"b;",
"b",
"boolean minus = false;",
"minus",
"false",
"while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));",
"(b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"!((b >= '0' && b <= '9') || b == '-')",
"((b >= '0' && b <= '9') || b == '-')",
"(b >= '0' && b <= '9')",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"b == '-'",
"b",
"'-'",
"if (b == '-') {\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",
"while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }",
"true",
"{\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }",
"if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }",
"b >= '0' && b <= '9'",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"{\n num = num * 10 + (b - '0');\n }",
"num = num * 10 + (b - '0')",
"num",
"num * 10 + (b - '0')",
"num * 10",
"num",
"10",
"(b - '0')",
"b",
"'0'",
"{\n return minus ? -num : num;\n }",
"return minus ? -num : num;",
"minus ? -num : num",
"minus",
"-num",
"num",
"num",
"b = readByte()",
"b",
"readByte()",
"readByte",
"private long nl() {\n long num = 0;\n int b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"nl",
"{\n long num = 0;\n int b;\n boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n\n while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }\n }",
"long num = 0;",
"num",
"0",
"int b;",
"b",
"boolean minus = false;",
"minus",
"false",
"while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'));",
"(b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"!((b >= '0' && b <= '9') || b == '-')",
"((b >= '0' && b <= '9') || b == '-')",
"(b >= '0' && b <= '9')",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"b == '-'",
"b",
"'-'",
"if (b == '-') {\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",
"while (true) {\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }",
"true",
"{\n if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }\n b = readByte();\n }",
"if (b >= '0' && b <= '9') {\n num = num * 10 + (b - '0');\n } else {\n return minus ? -num : num;\n }",
"b >= '0' && b <= '9'",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"{\n num = num * 10 + (b - '0');\n }",
"num = num * 10 + (b - '0')",
"num",
"num * 10 + (b - '0')",
"num * 10",
"num",
"10",
"(b - '0')",
"b",
"'0'",
"{\n return minus ? -num : num;\n }",
"return minus ? -num : num;",
"minus ? -num : num",
"minus",
"-num",
"num",
"num",
"b = readByte()",
"b",
"readByte()",
"readByte"
]
| import java.util.*;
import java.io.*;
class Main {
Scanner in;
InputStream is;
PrintWriter out;
String INPUT = "";
//----------------------------------------------------------------------------------------------------//
int INF=Integer.MAX_VALUE;
int mod=(int)(1e9)+7;
void solve() {
int t = 1;
//t=ni();
while (t-- > 0) {
out.println(1-ni());
}
}
//----------------------------------------------------------------------------------------------------//
void run() throws Exception {
//File fileIN = new File("C:\\Users\\Sarthak\\Desktop\\input.txt");is = new FileInputStream(fileIN);
//File fileOUT = new File("C:\\Users\\Sarthak\\Desktop\\output.txt");out = new PrintWriter(fileOUT);;
is = System.in;
out = new PrintWriter(System.out);
//long s = System.currentTimeMillis();
solve();
out.flush();
//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 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(take whole line as input wid space), (!isSpaceChar(b) || b == ' ')
//if(b!=' ') to remove spaces in Str when taking spaces in Str
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 && !(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 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() {
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();
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
2,
17,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
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,
18,
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
],
[
139,
11
],
[
139,
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
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
14,
32
],
[
32,
33
],
[
33,
34
],
[
12,
35
],
[
35,
36
],
[
139,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
37,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
43,
49
],
[
49,
50
],
[
37,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
37,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
62,
71
],
[
71,
72
],
[
71,
73
],
[
61,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
37,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
37,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
37,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
37,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
117,
119
],
[
112,
120
],
[
120,
121
],
[
121,
122
],
[
112,
123
],
[
124,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
107,
134
],
[
134,
135
],
[
105,
136
],
[
136,
137
],
[
0,
138
],
[
138,
139
],
[
138,
140
]
]
| [
" import java.math.BigInteger;\n import java.util.*;\n import java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int n = sc.nextInt();\n pw.println(1-n);\n pw.flush();\n }\n static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader f) {\n br = new BufferedReader(f);\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArr(int n) throws IOException {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = Integer.parseInt(next());\n }\n return arr;\n }\n\n }\n\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int n = sc.nextInt();\n pw.println(1-n);\n pw.flush();\n }\n static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader f) {\n br = new BufferedReader(f);\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArr(int n) throws IOException {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = Integer.parseInt(next());\n }\n return arr;\n }\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int n = sc.nextInt();\n pw.println(1-n);\n pw.flush();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int n = sc.nextInt();\n pw.println(1-n);\n pw.flush();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"pw.println(1-n)",
"pw.println",
"pw",
"1-n",
"1",
"n",
"pw.flush()",
"pw.flush",
"pw",
"String[] args",
"args",
"static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader f) {\n br = new BufferedReader(f);\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArr(int n) throws IOException {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = Integer.parseInt(next());\n }\n return arr;\n }\n\n }",
"Scanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }",
"Scanner",
"{\n br = new BufferedReader(new InputStreamReader(s));\n }",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public Scanner(FileReader f) {\n br = new BufferedReader(f);\n }",
"Scanner",
"{\n br = new BufferedReader(f);\n }",
"br = new BufferedReader(f)",
"br",
"new BufferedReader(f)",
"FileReader f",
"f",
"public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArr(int n) throws IOException {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = Integer.parseInt(next());\n }\n return arr;\n }",
"nextIntArr",
"{\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = Integer.parseInt(next());\n }\n return arr;\n }",
"int[] arr = new int[n];",
"arr",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n arr[i] = Integer.parseInt(next());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = Integer.parseInt(next());\n }",
"{\n arr[i] = Integer.parseInt(next());\n }",
"arr[i] = Integer.parseInt(next())",
"arr[i]",
"arr",
"i",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"return arr;",
"arr",
"int n",
"n",
"public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int n = sc.nextInt();\n pw.println(1-n);\n pw.flush();\n }\n static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader f) {\n br = new BufferedReader(f);\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArr(int n) throws IOException {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = Integer.parseInt(next());\n }\n return arr;\n }\n\n }\n\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n int n = sc.nextInt();\n pw.println(1-n);\n pw.flush();\n }\n static class Scanner {\n BufferedReader br;\n StringTokenizer st;\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader f) {\n br = new BufferedReader(f);\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArr(int n) throws IOException {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = Integer.parseInt(next());\n }\n return arr;\n }\n\n }\n\n}",
"Main"
]
| import java.math.BigInteger;
import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
Scanner sc = new Scanner(System.in);
PrintWriter pw = new PrintWriter(System.out);
int n = sc.nextInt();
pw.println(1-n);
pw.flush();
}
static class Scanner {
BufferedReader br;
StringTokenizer st;
public Scanner(InputStream s) {
br = new BufferedReader(new InputStreamReader(s));
}
public Scanner(FileReader f) {
br = new BufferedReader(f);
}
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 double nextDouble() throws IOException {
return Double.parseDouble(next());
}
public int[] nextIntArr(int n) throws IOException {
int[] arr = new int[n];
for (int i = 0; i < n; i++) {
arr[i] = Integer.parseInt(next());
}
return arr;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
41,
8
],
[
41,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
9,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
]
| [
"import java.io.FileNotFoundException;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws FileNotFoundException {\n\n\t\t// \tFile file = new File(\"src/in.txt\");\n\t\t// \tScanner sc = new Scanner(file);\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = sc.nextInt();\n\t\tif(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\n\n\t}\n}",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws FileNotFoundException {\n\n\t\t// \tFile file = new File(\"src/in.txt\");\n\t\t// \tScanner sc = new Scanner(file);\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = sc.nextInt();\n\t\tif(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws FileNotFoundException {\n\n\t\t// \tFile file = new File(\"src/in.txt\");\n\t\t// \tScanner sc = new Scanner(file);\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = sc.nextInt();\n\t\tif(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\n\n\t}",
"main",
"{\n\n\t\t// \tFile file = new File(\"src/in.txt\");\n\t\t// \tScanner sc = new Scanner(file);\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = sc.nextInt();\n\t\tif(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}",
"x==0",
"x",
"0",
"{\n\t\t\tSystem.out.println(1);\n\t\t}",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"{\n\t\t\tSystem.out.println(0);\n\t\t}",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws FileNotFoundException {\n\n\t\t// \tFile file = new File(\"src/in.txt\");\n\t\t// \tScanner sc = new Scanner(file);\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = sc.nextInt();\n\t\tif(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws FileNotFoundException {\n\n\t\t// \tFile file = new File(\"src/in.txt\");\n\t\t// \tScanner sc = new Scanner(file);\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = sc.nextInt();\n\t\tif(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t} else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\n\n\t}\n}",
"Main"
]
| import java.io.FileNotFoundException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws FileNotFoundException {
// File file = new File("src/in.txt");
// Scanner sc = new Scanner(file);
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
if(x==0) {
System.out.println(1);
} else {
System.out.println(0);
}
}
}
|
[
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,
41,
13,
20,
41,
13,
20,
12,
13,
30,
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,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
41,
13,
4,
13,
14,
2,
13,
17,
30,
29,
17,
0,
13,
20,
29,
13,
12,
13,
30,
29,
2,
4,
13,
17,
12,
13,
30,
29,
8,
4,
13,
4,
18,
13,
17,
12,
13,
30,
0,
13,
17,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
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,
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,
17,
4,
18,
13,
13,
6,
13,
41,
13,
12,
13,
30,
0,
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,
12,
13,
30,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
395,
35
],
[
395,
36
],
[
36,
37
],
[
36,
38
],
[
395,
39
],
[
39,
40
],
[
39,
41
],
[
395,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
50,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
44,
72
],
[
72,
73
],
[
73,
74
],
[
44,
75
],
[
75,
76
],
[
76,
77
],
[
44,
78
],
[
78,
79
],
[
79,
80
],
[
42,
81
],
[
81,
82
],
[
395,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
83,
87
],
[
87,
88
],
[
83,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
89,
98
],
[
98,
99
],
[
83,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
103,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
112,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
122,
123
],
[
112,
124
],
[
124,
125
],
[
124,
126
],
[
102,
127
],
[
127,
128
],
[
83,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
83,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
141,
144
],
[
144,
145
],
[
145,
146
],
[
141,
147
],
[
83,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
83,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
162,
165
],
[
165,
166
],
[
83,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
174,
175
],
[
83,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
183,
184
],
[
83,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
189,
192
],
[
192,
193
],
[
83,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
201,
206
],
[
206,
207
],
[
206,
208
],
[
201,
209
],
[
209,
210
],
[
210,
211
],
[
201,
212
],
[
213,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
218,
219
],
[
196,
220
],
[
220,
221
],
[
194,
222
],
[
222,
223
],
[
83,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
231,
236
],
[
236,
237
],
[
236,
238
],
[
231,
239
],
[
239,
240
],
[
240,
241
],
[
231,
242
],
[
243,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
244,
248
],
[
248,
249
],
[
226,
250
],
[
250,
251
],
[
224,
252
],
[
252,
253
],
[
83,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
261,
266
],
[
266,
267
],
[
266,
268
],
[
261,
269
],
[
269,
270
],
[
270,
271
],
[
261,
272
],
[
273,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
275,
277
],
[
274,
278
],
[
278,
279
],
[
256,
280
],
[
280,
281
],
[
254,
282
],
[
282,
283
],
[
83,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
286,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
291,
296
],
[
296,
297
],
[
296,
298
],
[
291,
299
],
[
299,
300
],
[
300,
301
],
[
291,
302
],
[
303,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
304,
308
],
[
308,
309
],
[
286,
310
],
[
310,
311
],
[
284,
312
],
[
312,
313
],
[
83,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
316,
320
],
[
320,
321
],
[
321,
322
],
[
83,
323
],
[
395,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
324,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
328,
334
],
[
334,
335
],
[
324,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
339,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
346,
348
],
[
339,
349
],
[
349,
350
],
[
350,
351
],
[
339,
352
],
[
353,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
354,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
359,
362
],
[
353,
363
],
[
363,
364
],
[
364,
365
],
[
363,
366
],
[
366,
367
],
[
366,
368
],
[
336,
369
],
[
369,
370
],
[
324,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
373,
377
],
[
377,
378
],
[
378,
379
],
[
371,
380
],
[
380,
381
],
[
324,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
324,
388
],
[
388,
389
],
[
388,
390
],
[
390,
391
],
[
391,
392
],
[
392,
393
],
[
0,
394
],
[
394,
395
],
[
394,
396
]
]
| [
"\nimport java.io.BufferedReader;\nimport java.io.BufferedWriter;\nimport java.io.Closeable;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.OutputStreamWriter;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\nimport java.util.Vector;\n\npublic class Main {\n\n static Reader in = new Reader(System.in);\n static Writer out = new Writer(System.out);\n\n public static void main(String[] args) throws IOException {\n int tc = in.nextInt();\n if (tc == 0) {\n System.out.println(\"1\");\n } else if (tc == 1) {\n System.out.println(\"0\");\n }\n\n in.close();\n out.flush();\n out.close();\n }\n\n static class Reader implements Closeable {\n\n private final BufferedReader reader;\n private StringTokenizer tokenizer;\n\n public Reader(InputStream input) {\n reader = new BufferedReader(\n new InputStreamReader(input));\n tokenizer = new StringTokenizer(\"\");\n }\n\n private StringTokenizer getTokenizer() throws IOException {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n String line = nextLine();\n if (line == null) {\n return null;\n }\n tokenizer = new StringTokenizer(line);\n }\n return tokenizer;\n }\n\n public boolean hasNext() throws IOException {\n return getTokenizer() != null;\n }\n\n public String next() throws IOException {\n return hasNext() ? tokenizer.nextToken() : null;\n }\n\n public String nextLine() throws IOException {\n tokenizer = null;\n return reader.readLine();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public float nextFloat() throws IOException {\n return Float.parseFloat(next());\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public String[] nextStringArray(int size) throws IOException {\n String[] array = new String[size];\n for (int i = 0; i < size; i++) {\n array[i] = next();\n }\n return array;\n }\n\n public int[] nextIntArray(int size) throws IOException {\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextInt();\n }\n return array;\n }\n\n public long[] nextLongArray(int size) throws IOException {\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextLong();\n }\n return array;\n }\n\n public double[] nextDoubleArray(int size) throws IOException {\n double[] array = new double[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextDouble();\n }\n return array;\n }\n\n @Override\n public void close() throws IOException {\n tokenizer = null;\n reader.close();\n }\n }\n\n static class Writer {\n\n private final PrintWriter writer;\n\n public Writer(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\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 println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n public void flush() {\n writer.flush();\n }\n\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.Closeable;",
"Closeable",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.Vector;",
"Vector",
"java.util",
"public class Main {\n\n static Reader in = new Reader(System.in);\n static Writer out = new Writer(System.out);\n\n public static void main(String[] args) throws IOException {\n int tc = in.nextInt();\n if (tc == 0) {\n System.out.println(\"1\");\n } else if (tc == 1) {\n System.out.println(\"0\");\n }\n\n in.close();\n out.flush();\n out.close();\n }\n\n static class Reader implements Closeable {\n\n private final BufferedReader reader;\n private StringTokenizer tokenizer;\n\n public Reader(InputStream input) {\n reader = new BufferedReader(\n new InputStreamReader(input));\n tokenizer = new StringTokenizer(\"\");\n }\n\n private StringTokenizer getTokenizer() throws IOException {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n String line = nextLine();\n if (line == null) {\n return null;\n }\n tokenizer = new StringTokenizer(line);\n }\n return tokenizer;\n }\n\n public boolean hasNext() throws IOException {\n return getTokenizer() != null;\n }\n\n public String next() throws IOException {\n return hasNext() ? tokenizer.nextToken() : null;\n }\n\n public String nextLine() throws IOException {\n tokenizer = null;\n return reader.readLine();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public float nextFloat() throws IOException {\n return Float.parseFloat(next());\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public String[] nextStringArray(int size) throws IOException {\n String[] array = new String[size];\n for (int i = 0; i < size; i++) {\n array[i] = next();\n }\n return array;\n }\n\n public int[] nextIntArray(int size) throws IOException {\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextInt();\n }\n return array;\n }\n\n public long[] nextLongArray(int size) throws IOException {\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextLong();\n }\n return array;\n }\n\n public double[] nextDoubleArray(int size) throws IOException {\n double[] array = new double[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextDouble();\n }\n return array;\n }\n\n @Override\n public void close() throws IOException {\n tokenizer = null;\n reader.close();\n }\n }\n\n static class Writer {\n\n private final PrintWriter writer;\n\n public Writer(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\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 println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n public void flush() {\n writer.flush();\n }\n\n }\n\n}",
"Main",
"static Reader in = new Reader(System.in);",
"in",
"new Reader(System.in)",
"static Writer out = new Writer(System.out);",
"out",
"new Writer(System.out)",
"public static void main(String[] args) throws IOException {\n int tc = in.nextInt();\n if (tc == 0) {\n System.out.println(\"1\");\n } else if (tc == 1) {\n System.out.println(\"0\");\n }\n\n in.close();\n out.flush();\n out.close();\n }",
"main",
"{\n int tc = in.nextInt();\n if (tc == 0) {\n System.out.println(\"1\");\n } else if (tc == 1) {\n System.out.println(\"0\");\n }\n\n in.close();\n out.flush();\n out.close();\n }",
"int tc = in.nextInt();",
"tc",
"in.nextInt()",
"in.nextInt",
"in",
"if (tc == 0) {\n System.out.println(\"1\");\n } else if (tc == 1) {\n System.out.println(\"0\");\n }",
"tc == 0",
"tc",
"0",
"{\n System.out.println(\"1\");\n }",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"if (tc == 1) {\n System.out.println(\"0\");\n }",
"tc == 1",
"tc",
"1",
"{\n System.out.println(\"0\");\n }",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"in.close()",
"in.close",
"in",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Reader implements Closeable {\n\n private final BufferedReader reader;\n private StringTokenizer tokenizer;\n\n public Reader(InputStream input) {\n reader = new BufferedReader(\n new InputStreamReader(input));\n tokenizer = new StringTokenizer(\"\");\n }\n\n private StringTokenizer getTokenizer() throws IOException {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n String line = nextLine();\n if (line == null) {\n return null;\n }\n tokenizer = new StringTokenizer(line);\n }\n return tokenizer;\n }\n\n public boolean hasNext() throws IOException {\n return getTokenizer() != null;\n }\n\n public String next() throws IOException {\n return hasNext() ? tokenizer.nextToken() : null;\n }\n\n public String nextLine() throws IOException {\n tokenizer = null;\n return reader.readLine();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public float nextFloat() throws IOException {\n return Float.parseFloat(next());\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public String[] nextStringArray(int size) throws IOException {\n String[] array = new String[size];\n for (int i = 0; i < size; i++) {\n array[i] = next();\n }\n return array;\n }\n\n public int[] nextIntArray(int size) throws IOException {\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextInt();\n }\n return array;\n }\n\n public long[] nextLongArray(int size) throws IOException {\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextLong();\n }\n return array;\n }\n\n public double[] nextDoubleArray(int size) throws IOException {\n double[] array = new double[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextDouble();\n }\n return array;\n }\n\n @Override\n public void close() throws IOException {\n tokenizer = null;\n reader.close();\n }\n }",
"Reader",
"private final BufferedReader reader;",
"reader",
"private StringTokenizer tokenizer;",
"tokenizer",
"public Reader(InputStream input) {\n reader = new BufferedReader(\n new InputStreamReader(input));\n tokenizer = new StringTokenizer(\"\");\n }",
"Reader",
"{\n reader = new BufferedReader(\n new InputStreamReader(input));\n tokenizer = new StringTokenizer(\"\");\n }",
"reader = new BufferedReader(\n new InputStreamReader(input))",
"reader",
"new BufferedReader(\n new InputStreamReader(input))",
"tokenizer = new StringTokenizer(\"\")",
"tokenizer",
"new StringTokenizer(\"\")",
"InputStream input",
"input",
"private StringTokenizer getTokenizer() throws IOException {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n String line = nextLine();\n if (line == null) {\n return null;\n }\n tokenizer = new StringTokenizer(line);\n }\n return tokenizer;\n }",
"getTokenizer",
"{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n String line = nextLine();\n if (line == null) {\n return null;\n }\n tokenizer = new StringTokenizer(line);\n }\n return tokenizer;\n }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n String line = nextLine();\n if (line == null) {\n return null;\n }\n tokenizer = new StringTokenizer(line);\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n String line = nextLine();\n if (line == null) {\n return null;\n }\n tokenizer = new StringTokenizer(line);\n }",
"String line = nextLine();",
"line",
"nextLine()",
"nextLine",
"if (line == null) {\n return null;\n }",
"line == null",
"line",
"null",
"{\n return null;\n }",
"return null;",
"null",
"tokenizer = new StringTokenizer(line)",
"tokenizer",
"new StringTokenizer(line)",
"return tokenizer;",
"tokenizer",
"public boolean hasNext() throws IOException {\n return getTokenizer() != null;\n }",
"hasNext",
"{\n return getTokenizer() != null;\n }",
"return getTokenizer() != null;",
"getTokenizer() != null",
"getTokenizer()",
"getTokenizer",
"null",
"public String next() throws IOException {\n return hasNext() ? tokenizer.nextToken() : null;\n }",
"next",
"{\n return hasNext() ? tokenizer.nextToken() : null;\n }",
"return hasNext() ? tokenizer.nextToken() : null;",
"hasNext() ? tokenizer.nextToken() : null",
"hasNext()",
"hasNext",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"null",
"public String nextLine() throws IOException {\n tokenizer = null;\n return reader.readLine();\n }",
"nextLine",
"{\n tokenizer = null;\n return reader.readLine();\n }",
"tokenizer = null",
"tokenizer",
"null",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public float nextFloat() throws IOException {\n return Float.parseFloat(next());\n }",
"nextFloat",
"{\n return Float.parseFloat(next());\n }",
"return Float.parseFloat(next());",
"Float.parseFloat(next())",
"Float.parseFloat",
"Float",
"next()",
"next",
"public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public String[] nextStringArray(int size) throws IOException {\n String[] array = new String[size];\n for (int i = 0; i < size; i++) {\n array[i] = next();\n }\n return array;\n }",
"nextStringArray",
"{\n String[] array = new String[size];\n for (int i = 0; i < size; i++) {\n array[i] = next();\n }\n return array;\n }",
"String[] array = new String[size];",
"array",
"new String[size]",
"size",
"for (int i = 0; i < size; i++) {\n array[i] = next();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n array[i] = next();\n }",
"{\n array[i] = next();\n }",
"array[i] = next()",
"array[i]",
"array",
"i",
"next()",
"next",
"return array;",
"array",
"int size",
"size",
"public int[] nextIntArray(int size) throws IOException {\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextInt();\n }\n return array;\n }",
"nextIntArray",
"{\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextInt();\n }\n return array;\n }",
"int[] array = new int[size];",
"array",
"new int[size]",
"size",
"for (int i = 0; i < size; i++) {\n array[i] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n array[i] = nextInt();\n }",
"{\n array[i] = nextInt();\n }",
"array[i] = nextInt()",
"array[i]",
"array",
"i",
"nextInt()",
"nextInt",
"return array;",
"array",
"int size",
"size",
"public long[] nextLongArray(int size) throws IOException {\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextLong();\n }\n return array;\n }",
"nextLongArray",
"{\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextLong();\n }\n return array;\n }",
"long[] array = new long[size];",
"array",
"new long[size]",
"size",
"for (int i = 0; i < size; i++) {\n array[i] = nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n array[i] = nextLong();\n }",
"{\n array[i] = nextLong();\n }",
"array[i] = nextLong()",
"array[i]",
"array",
"i",
"nextLong()",
"nextLong",
"return array;",
"array",
"int size",
"size",
"public double[] nextDoubleArray(int size) throws IOException {\n double[] array = new double[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextDouble();\n }\n return array;\n }",
"nextDoubleArray",
"{\n double[] array = new double[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextDouble();\n }\n return array;\n }",
"double[] array = new double[size];",
"array",
"new double[size]",
"size",
"for (int i = 0; i < size; i++) {\n array[i] = nextDouble();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n array[i] = nextDouble();\n }",
"{\n array[i] = nextDouble();\n }",
"array[i] = nextDouble()",
"array[i]",
"array",
"i",
"nextDouble()",
"nextDouble",
"return array;",
"array",
"int size",
"size",
"@Override\n public void close() throws IOException {\n tokenizer = null;\n reader.close();\n }",
"close",
"{\n tokenizer = null;\n reader.close();\n }",
"tokenizer = null",
"tokenizer",
"null",
"reader.close()",
"reader.close",
"reader",
"Closeable",
"static class Writer {\n\n private final PrintWriter writer;\n\n public Writer(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\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 println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n public void flush() {\n writer.flush();\n }\n\n }",
"Writer",
"private final PrintWriter writer;",
"writer",
"public Writer(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"Writer",
"{\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 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 println(Object... objects) {\n print(objects);\n writer.println();\n }",
"println",
"{\n print(objects);\n writer.println();\n }",
"print(objects)",
"print",
"objects",
"writer.println()",
"writer.println",
"writer",
"Object... objects",
"objects",
"public void close() {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"public void flush() {\n writer.flush();\n }",
"flush",
"{\n writer.flush();\n }",
"writer.flush()",
"writer.flush",
"writer",
"public class Main {\n\n static Reader in = new Reader(System.in);\n static Writer out = new Writer(System.out);\n\n public static void main(String[] args) throws IOException {\n int tc = in.nextInt();\n if (tc == 0) {\n System.out.println(\"1\");\n } else if (tc == 1) {\n System.out.println(\"0\");\n }\n\n in.close();\n out.flush();\n out.close();\n }\n\n static class Reader implements Closeable {\n\n private final BufferedReader reader;\n private StringTokenizer tokenizer;\n\n public Reader(InputStream input) {\n reader = new BufferedReader(\n new InputStreamReader(input));\n tokenizer = new StringTokenizer(\"\");\n }\n\n private StringTokenizer getTokenizer() throws IOException {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n String line = nextLine();\n if (line == null) {\n return null;\n }\n tokenizer = new StringTokenizer(line);\n }\n return tokenizer;\n }\n\n public boolean hasNext() throws IOException {\n return getTokenizer() != null;\n }\n\n public String next() throws IOException {\n return hasNext() ? tokenizer.nextToken() : null;\n }\n\n public String nextLine() throws IOException {\n tokenizer = null;\n return reader.readLine();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public float nextFloat() throws IOException {\n return Float.parseFloat(next());\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public String[] nextStringArray(int size) throws IOException {\n String[] array = new String[size];\n for (int i = 0; i < size; i++) {\n array[i] = next();\n }\n return array;\n }\n\n public int[] nextIntArray(int size) throws IOException {\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextInt();\n }\n return array;\n }\n\n public long[] nextLongArray(int size) throws IOException {\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextLong();\n }\n return array;\n }\n\n public double[] nextDoubleArray(int size) throws IOException {\n double[] array = new double[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextDouble();\n }\n return array;\n }\n\n @Override\n public void close() throws IOException {\n tokenizer = null;\n reader.close();\n }\n }\n\n static class Writer {\n\n private final PrintWriter writer;\n\n public Writer(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\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 println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n public void flush() {\n writer.flush();\n }\n\n }\n\n}",
"public class Main {\n\n static Reader in = new Reader(System.in);\n static Writer out = new Writer(System.out);\n\n public static void main(String[] args) throws IOException {\n int tc = in.nextInt();\n if (tc == 0) {\n System.out.println(\"1\");\n } else if (tc == 1) {\n System.out.println(\"0\");\n }\n\n in.close();\n out.flush();\n out.close();\n }\n\n static class Reader implements Closeable {\n\n private final BufferedReader reader;\n private StringTokenizer tokenizer;\n\n public Reader(InputStream input) {\n reader = new BufferedReader(\n new InputStreamReader(input));\n tokenizer = new StringTokenizer(\"\");\n }\n\n private StringTokenizer getTokenizer() throws IOException {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n String line = nextLine();\n if (line == null) {\n return null;\n }\n tokenizer = new StringTokenizer(line);\n }\n return tokenizer;\n }\n\n public boolean hasNext() throws IOException {\n return getTokenizer() != null;\n }\n\n public String next() throws IOException {\n return hasNext() ? tokenizer.nextToken() : null;\n }\n\n public String nextLine() throws IOException {\n tokenizer = null;\n return reader.readLine();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public float nextFloat() throws IOException {\n return Float.parseFloat(next());\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public String[] nextStringArray(int size) throws IOException {\n String[] array = new String[size];\n for (int i = 0; i < size; i++) {\n array[i] = next();\n }\n return array;\n }\n\n public int[] nextIntArray(int size) throws IOException {\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextInt();\n }\n return array;\n }\n\n public long[] nextLongArray(int size) throws IOException {\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextLong();\n }\n return array;\n }\n\n public double[] nextDoubleArray(int size) throws IOException {\n double[] array = new double[size];\n for (int i = 0; i < size; i++) {\n array[i] = nextDouble();\n }\n return array;\n }\n\n @Override\n public void close() throws IOException {\n tokenizer = null;\n reader.close();\n }\n }\n\n static class Writer {\n\n private final PrintWriter writer;\n\n public Writer(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\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 println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n public void flush() {\n writer.flush();\n }\n\n }\n\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.util.Vector;
public class Main {
static Reader in = new Reader(System.in);
static Writer out = new Writer(System.out);
public static void main(String[] args) throws IOException {
int tc = in.nextInt();
if (tc == 0) {
System.out.println("1");
} else if (tc == 1) {
System.out.println("0");
}
in.close();
out.flush();
out.close();
}
static class Reader implements Closeable {
private final BufferedReader reader;
private StringTokenizer tokenizer;
public Reader(InputStream input) {
reader = new BufferedReader(
new InputStreamReader(input));
tokenizer = new StringTokenizer("");
}
private StringTokenizer getTokenizer() throws IOException {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
String line = nextLine();
if (line == null) {
return null;
}
tokenizer = new StringTokenizer(line);
}
return tokenizer;
}
public boolean hasNext() throws IOException {
return getTokenizer() != null;
}
public String next() throws IOException {
return hasNext() ? tokenizer.nextToken() : null;
}
public String nextLine() throws IOException {
tokenizer = null;
return reader.readLine();
}
public int nextInt() throws IOException {
return Integer.parseInt(next());
}
public long nextLong() throws IOException {
return Long.parseLong(next());
}
public float nextFloat() throws IOException {
return Float.parseFloat(next());
}
public double nextDouble() throws IOException {
return Double.parseDouble(next());
}
public String[] nextStringArray(int size) throws IOException {
String[] array = new String[size];
for (int i = 0; i < size; i++) {
array[i] = next();
}
return array;
}
public int[] nextIntArray(int size) throws IOException {
int[] array = new int[size];
for (int i = 0; i < size; i++) {
array[i] = nextInt();
}
return array;
}
public long[] nextLongArray(int size) throws IOException {
long[] array = new long[size];
for (int i = 0; i < size; i++) {
array[i] = nextLong();
}
return array;
}
public double[] nextDoubleArray(int size) throws IOException {
double[] array = new double[size];
for (int i = 0; i < size; i++) {
array[i] = nextDouble();
}
return array;
}
@Override
public void close() throws IOException {
tokenizer = null;
reader.close();
}
}
static class Writer {
private final PrintWriter writer;
public Writer(OutputStream outputStream) {
writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
}
public void print(Object... objects) {
for (int i = 0; i < objects.length; i++) {
if (i != 0) {
writer.print(' ');
}
writer.print(objects[i]);
}
}
public void println(Object... objects) {
print(objects);
writer.println();
}
public void close() {
writer.close();
}
public void flush() {
writer.flush();
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
13,
4,
13,
8,
2,
13,
17,
17,
17,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
18,
13,
13,
30,
29,
13,
29,
40,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
18,
13,
13,
30,
0,
13,
4,
13,
0,
13,
17,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
18,
13,
13,
30,
0,
13,
4,
13,
0,
13,
17,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
18,
13,
13,
30,
0,
13,
4,
13,
0,
13,
17,
29,
18,
13,
40,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
20,
30,
29,
4,
18,
4,
18,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
12,
13,
30,
14,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
13,
4,
18,
18,
13,
13,
12,
13,
30,
4,
13,
8,
13,
17,
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
],
[
526,
14
],
[
526,
15
],
[
15,
16
],
[
526,
17
],
[
17,
18
],
[
17,
19
],
[
526,
20
],
[
20,
21
],
[
526,
22
],
[
22,
23
],
[
526,
24
],
[
24,
25
],
[
526,
26
],
[
26,
27
],
[
526,
28
],
[
28,
29
],
[
526,
30
],
[
30,
31
],
[
526,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
34,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
44,
49
],
[
32,
50
],
[
50,
51
],
[
526,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
74,
76
],
[
70,
77
],
[
77,
78
],
[
78,
79
],
[
54,
80
],
[
80,
81
],
[
81,
82
],
[
52,
83
],
[
83,
84
],
[
52,
85
],
[
85,
86
],
[
526,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
89,
99
],
[
99,
100
],
[
87,
101
],
[
101,
102
],
[
526,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
109,
110
],
[
109,
111
],
[
105,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
119,
121
],
[
112,
122
],
[
122,
123
],
[
123,
124
],
[
112,
125
],
[
126,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
131,
132
],
[
131,
133
],
[
105,
134
],
[
134,
135
],
[
103,
136
],
[
136,
137
],
[
526,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
144,
145
],
[
145,
146
],
[
140,
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
],
[
161,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
166,
167
],
[
167,
168
],
[
166,
169
],
[
140,
170
],
[
170,
171
],
[
138,
172
],
[
172,
173
],
[
526,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
184,
186
],
[
177,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
187,
192
],
[
192,
193
],
[
192,
194
],
[
176,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
526,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
210,
212
],
[
203,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
213,
218
],
[
218,
219
],
[
218,
220
],
[
202,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
526,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
230,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
236,
238
],
[
229,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
239,
244
],
[
244,
245
],
[
244,
246
],
[
228,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
526,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
258,
262
],
[
262,
263
],
[
255,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
266,
271
],
[
526,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
278,
282
],
[
282,
283
],
[
275,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
284,
289
],
[
289,
290
],
[
289,
291
],
[
292,
293
],
[
292,
294
],
[
284,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
295,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
302,
304
],
[
295,
305
],
[
305,
306
],
[
306,
307
],
[
295,
308
],
[
309,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
310,
314
],
[
314,
315
],
[
315,
316
],
[
314,
317
],
[
317,
318
],
[
317,
319
],
[
284,
320
],
[
320,
321
],
[
526,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
328,
332
],
[
332,
333
],
[
325,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
334,
339
],
[
339,
340
],
[
339,
341
],
[
342,
343
],
[
342,
344
],
[
334,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
345,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
352,
354
],
[
345,
355
],
[
355,
356
],
[
356,
357
],
[
345,
358
],
[
359,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
360,
364
],
[
364,
365
],
[
365,
366
],
[
364,
367
],
[
367,
368
],
[
367,
369
],
[
334,
370
],
[
370,
371
],
[
526,
372
],
[
372,
373
],
[
372,
374
],
[
374,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
378,
382
],
[
382,
383
],
[
375,
384
],
[
384,
385
],
[
385,
386
],
[
385,
387
],
[
387,
388
],
[
384,
389
],
[
389,
390
],
[
389,
391
],
[
392,
393
],
[
392,
394
],
[
384,
395
],
[
395,
396
],
[
396,
397
],
[
397,
398
],
[
397,
399
],
[
395,
400
],
[
400,
401
],
[
400,
402
],
[
402,
403
],
[
402,
404
],
[
395,
405
],
[
405,
406
],
[
406,
407
],
[
395,
408
],
[
409,
409
],
[
409,
410
],
[
410,
411
],
[
411,
412
],
[
411,
413
],
[
410,
414
],
[
414,
415
],
[
415,
416
],
[
414,
417
],
[
417,
418
],
[
417,
419
],
[
384,
420
],
[
420,
421
],
[
526,
422
],
[
422,
423
],
[
422,
424
],
[
424,
425
],
[
425,
426
],
[
426,
427
],
[
426,
428
],
[
428,
429
],
[
429,
430
],
[
430,
431
],
[
428,
432
],
[
432,
433
],
[
425,
434
],
[
434,
435
],
[
435,
436
],
[
435,
437
],
[
437,
438
],
[
434,
439
],
[
439,
440
],
[
439,
441
],
[
442,
443
],
[
442,
444
],
[
434,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
447,
449
],
[
445,
450
],
[
450,
451
],
[
450,
452
],
[
452,
453
],
[
452,
454
],
[
445,
455
],
[
455,
456
],
[
456,
457
],
[
445,
458
],
[
459,
459
],
[
459,
460
],
[
460,
461
],
[
461,
462
],
[
461,
463
],
[
460,
464
],
[
464,
465
],
[
465,
466
],
[
464,
467
],
[
467,
468
],
[
467,
469
],
[
434,
470
],
[
470,
471
],
[
526,
472
],
[
472,
473
],
[
472,
474
],
[
474,
475
],
[
475,
476
],
[
476,
477
],
[
477,
478
],
[
477,
479
],
[
475,
480
],
[
472,
481
],
[
481,
482
],
[
526,
483
],
[
483,
484
],
[
483,
485
],
[
485,
486
],
[
486,
487
],
[
487,
488
],
[
488,
489
],
[
488,
490
],
[
526,
491
],
[
491,
492
],
[
491,
493
],
[
493,
494
],
[
494,
495
],
[
494,
496
],
[
496,
497
],
[
497,
498
],
[
498,
499
],
[
498,
500
],
[
496,
501
],
[
491,
502
],
[
502,
503
],
[
526,
504
],
[
504,
505
],
[
504,
506
],
[
506,
507
],
[
507,
508
],
[
507,
509
],
[
509,
510
],
[
510,
511
],
[
511,
512
],
[
511,
513
],
[
526,
514
],
[
514,
515
],
[
514,
516
],
[
516,
517
],
[
517,
518
],
[
517,
519
],
[
519,
520
],
[
519,
521
],
[
519,
522
],
[
514,
523
],
[
523,
524
],
[
0,
525
],
[
525,
526
],
[
525,
527
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\n\npublic class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\tstatic int[] read_line_int;\n\tstatic int read_line_int_ptr;\n\tstatic long[] read_line_long;\n\tstatic int read_line_long_ptr;\n\tstatic String[] read_line;\n\tstatic int read_line_ptr;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint N = readInt();\n\t\tprint(N==0?1:0);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}\n\tprivate static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}\n\tprivate static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n\tprivate static void YesNo(boolean b) {\n\t\tprint(b?\"Yes\":\"No\");\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\tstatic int[] read_line_int;\n\tstatic int read_line_int_ptr;\n\tstatic long[] read_line_long;\n\tstatic int read_line_long_ptr;\n\tstatic String[] read_line;\n\tstatic int read_line_ptr;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint N = readInt();\n\t\tprint(N==0?1:0);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}\n\tprivate static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}\n\tprivate static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n\tprivate static void YesNo(boolean b) {\n\t\tprint(b?\"Yes\":\"No\");\n\t}\n}",
"Main",
"static BufferedReader reader;",
"reader",
"final static boolean MODE_DEBUG = false;",
"MODE_DEBUG",
"false",
"static int[] read_line_int;",
"read_line_int",
"static int read_line_int_ptr;",
"read_line_int_ptr",
"static long[] read_line_long;",
"read_line_long",
"static int read_line_long_ptr;",
"read_line_long_ptr",
"static String[] read_line;",
"read_line",
"static int read_line_ptr;",
"read_line_ptr",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint N = readInt();\n\t\tprint(N==0?1:0);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint N = readInt();\n\t\tprint(N==0?1:0);\n\t}",
"reader = new BufferedReader(new InputStreamReader(System.in))",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int N = readInt();",
"N",
"readInt()",
"readInt",
"print(N==0?1:0)",
"print",
"N==0?1:0",
"N==0",
"N",
"0",
"1",
"0",
"String[] args",
"args",
"private static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}",
"arraySearch",
"{\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}",
"for(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<heystack.length",
"i",
"heystack.length",
"heystack",
"heystack.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}",
"if(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}",
"needle.equals(heystack[i])",
"needle.equals",
"needle",
"heystack[i]",
"heystack",
"i",
"{\n\t\t\t\treturn i;\n\t\t\t}",
"return i;",
"i",
"return -1;",
"-1",
"1",
"T needle",
"needle",
"T[] heystack",
"heystack",
"private static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}",
"sort",
"{\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}",
"int[] copy = array_copy(base);",
"copy",
"array_copy(base)",
"array_copy",
"base",
"Arrays.sort(copy)",
"Arrays.sort",
"Arrays",
"copy",
"return copy;",
"copy",
"int[] base",
"base",
"private static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}",
"array_copy",
"{\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}",
"int[] copy = new int[base.length];",
"copy",
"new int[base.length]",
"base.length",
"base",
"base.length",
"for(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<base.length",
"i",
"base.length",
"base",
"base.length",
"i++",
"i++",
"i",
"{\n\t\t\tcopy[i] = base[i];\n\t\t}",
"{\n\t\t\tcopy[i] = base[i];\n\t\t}",
"copy[i] = base[i]",
"copy[i]",
"copy",
"i",
"base[i]",
"base",
"i",
"return copy;",
"copy",
"int[] base",
"base",
"private static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}",
"asArray",
"{\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}",
"int[] intlist = new int[ints.size()];",
"intlist",
"new int[ints.size()]",
"ints.size()",
"ints.size",
"ints",
"for(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<intlist.length",
"i",
"intlist.length",
"intlist",
"intlist.length",
"i++",
"i++",
"i",
"{\n\t\t\tintlist[i] = ints.get(i);\n\t\t}",
"{\n\t\t\tintlist[i] = ints.get(i);\n\t\t}",
"intlist[i] = ints.get(i)",
"intlist[i]",
"intlist",
"i",
"ints.get(i)",
"ints.get",
"ints",
"i",
"return intlist;",
"intlist",
"ArrayList<Integer> ints",
"ints",
"private static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}",
"readInt",
"{\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}",
"if(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}",
"read_line_int==null||read_line_int_ptr==read_line_int.length",
"read_line_int==null",
"read_line_int",
"null",
"read_line_int_ptr==read_line_int.length",
"read_line_int_ptr",
"read_line_int.length",
"read_line_int",
"read_line_int.length",
"{\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}",
"read_line_int = readLineInt()",
"read_line_int",
"readLineInt()",
"readLineInt",
"read_line_int_ptr=0",
"read_line_int_ptr",
"0",
"return read_line_int[read_line_int_ptr++];",
"read_line_int[read_line_int_ptr++]",
"read_line_int",
"read_line_int_ptr++",
"read_line_int_ptr",
"private static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}",
"readLong",
"{\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}",
"if(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}",
"read_line_long==null||read_line_long_ptr==read_line_long.length",
"read_line_long==null",
"read_line_long",
"null",
"read_line_long_ptr==read_line_long.length",
"read_line_long_ptr",
"read_line_long.length",
"read_line_long",
"read_line_long.length",
"{\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}",
"read_line_long = readLineLong()",
"read_line_long",
"readLineLong()",
"readLineLong",
"read_line_long_ptr=0",
"read_line_long_ptr",
"0",
"return read_line_long[read_line_long_ptr++];",
"read_line_long[read_line_long_ptr++]",
"read_line_long",
"read_line_long_ptr++",
"read_line_long_ptr",
"private static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}",
"readString",
"{\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}",
"if(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}",
"read_line==null||read_line_int_ptr==read_line.length",
"read_line==null",
"read_line",
"null",
"read_line_int_ptr==read_line.length",
"read_line_int_ptr",
"read_line.length",
"read_line",
"read_line.length",
"{\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}",
"read_line = readLine()",
"read_line",
"readLine()",
"readLine",
"read_line_ptr=0",
"read_line_ptr",
"0",
"return read_line[read_line_ptr++];",
"read_line[read_line_ptr++]",
"read_line",
"read_line_ptr++",
"read_line_ptr",
"private static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}",
"readLine",
"{\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}",
"try{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return new String[]{e.getMessage()};",
"new String[]{e.getMessage()}",
"{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}",
"return reader.readLine().split(\" \");",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"private static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineInt",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"int[] ints = new int[s.length];",
"ints",
"new int[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ints.length",
"i",
"ints.length",
"ints",
"ints.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"{\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"ints[i] = Integer.parseInt(s[i])",
"ints[i]",
"ints",
"i",
"Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"return ints;",
"ints",
"private static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineLong",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"long[] ints = new long[s.length];",
"ints",
"new long[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ints.length",
"i",
"ints.length",
"ints",
"ints.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}",
"{\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}",
"ints[i] = Long.parseLong(s[i])",
"ints[i]",
"ints",
"i",
"Long.parseLong(s[i])",
"Long.parseLong",
"Long",
"s[i]",
"s",
"i",
"return ints;",
"ints",
"private static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineByte",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"byte[] bytes = new byte[s.length];",
"bytes",
"new byte[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<bytes.length",
"i",
"bytes.length",
"bytes",
"bytes.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}",
"{\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}",
"bytes[i] = Byte.parseByte(s[i])",
"bytes[i]",
"bytes",
"i",
"Byte.parseByte(s[i])",
"Byte.parseByte",
"Byte",
"s[i]",
"s",
"i",
"return bytes;",
"bytes",
"private static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineChar",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"char[] chars = new char[s.length];",
"chars",
"new char[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<chars.length",
"i",
"chars.length",
"chars",
"chars.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}",
"{\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}",
"chars[i] = (char)Integer.parseInt(s[i])",
"chars[i]",
"chars",
"i",
"(char)Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"return chars;",
"chars",
"private static void print(Object o){\n\t\tSystem.out.println(o);\n\t}",
"print",
"{\n\t\tSystem.out.println(o);\n\t}",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"Object o",
"o",
"private static void print(){\n\t\tSystem.out.println();\n\t}",
"print",
"{\n\t\tSystem.out.println();\n\t}",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"private static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}",
"printd",
"{\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}",
"if(MODE_DEBUG)System.err.println(o);",
"MODE_DEBUG",
"System.err.println(o)",
"System.err.println",
"System.err",
"System",
"System.err",
"o",
"Object o",
"o",
"private static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}",
"printd",
"{\n\t\tif(MODE_DEBUG)System.err.println();\n\t}",
"if(MODE_DEBUG)System.err.println();",
"MODE_DEBUG",
"System.err.println()",
"System.err.println",
"System.err",
"System",
"System.err",
"private static void YesNo(boolean b) {\n\t\tprint(b?\"Yes\":\"No\");\n\t}",
"YesNo",
"{\n\t\tprint(b?\"Yes\":\"No\");\n\t}",
"print(b?\"Yes\":\"No\")",
"print",
"b?\"Yes\":\"No\"",
"b",
"\"Yes\"",
"\"No\"",
"boolean b",
"b",
"public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\tstatic int[] read_line_int;\n\tstatic int read_line_int_ptr;\n\tstatic long[] read_line_long;\n\tstatic int read_line_long_ptr;\n\tstatic String[] read_line;\n\tstatic int read_line_ptr;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint N = readInt();\n\t\tprint(N==0?1:0);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}\n\tprivate static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}\n\tprivate static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n\tprivate static void YesNo(boolean b) {\n\t\tprint(b?\"Yes\":\"No\");\n\t}\n}",
"public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\tstatic int[] read_line_int;\n\tstatic int read_line_int_ptr;\n\tstatic long[] read_line_long;\n\tstatic int read_line_long_ptr;\n\tstatic String[] read_line;\n\tstatic int read_line_ptr;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint N = readInt();\n\t\tprint(N==0?1:0);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}\n\tprivate static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}\n\tprivate static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n\tprivate static void YesNo(boolean b) {\n\t\tprint(b?\"Yes\":\"No\");\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
public class Main {
static BufferedReader reader;
final static boolean MODE_DEBUG = false;
static int[] read_line_int;
static int read_line_int_ptr;
static long[] read_line_long;
static int read_line_long_ptr;
static String[] read_line;
static int read_line_ptr;
//static field here
public static void main(String[] args) {
// TODO Auto-generated method stub
reader = new BufferedReader(new InputStreamReader(System.in));
//code here
int N = readInt();
print(N==0?1:0);
}
//functions here
//note that all methods should be STATIC
private static <T> int arraySearch(T needle, T[] heystack) {
for(int i=0;i<heystack.length;i++) {
if(needle.equals(heystack[i])) {
return i;
}
}
return -1;
}
private static int[] sort(int[] base) {
int[] copy = array_copy(base);
Arrays.sort(copy);
return copy;
}
private static int[] array_copy(int[] base) {
int[] copy = new int[base.length];
for(int i=0;i<base.length;i++) {
copy[i] = base[i];
}
return copy;
}
private static int[] asArray(ArrayList<Integer> ints) {
int[] intlist = new int[ints.size()];
for(int i=0;i<intlist.length;i++) {
intlist[i] = ints.get(i);
}
return intlist;
}
private static int readInt() {
if(read_line_int==null||read_line_int_ptr==read_line_int.length) {
read_line_int = readLineInt();
read_line_int_ptr=0;
}
return read_line_int[read_line_int_ptr++];
}
private static long readLong() {
if(read_line_long==null||read_line_long_ptr==read_line_long.length) {
read_line_long = readLineLong();
read_line_long_ptr=0;
}
return read_line_long[read_line_long_ptr++];
}
private static String readString() {
if(read_line==null||read_line_int_ptr==read_line.length) {
read_line = readLine();
read_line_ptr=0;
}
return read_line[read_line_ptr++];
}
private static String[] readLine(){
try{
return reader.readLine().split(" ");
}catch(Exception e){
e.printStackTrace();
return new String[]{e.getMessage()};
}
}
private static int[] readLineInt(){
try{
String[] s = readLine();
int[] ints = new int[s.length];
for(int i=0;i<ints.length;i++) {
ints[i] = Integer.parseInt(s[i]);
}
return ints;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static long[] readLineLong(){
try{
String[] s = readLine();
long[] ints = new long[s.length];
for(int i=0;i<ints.length;i++) {
ints[i] = Long.parseLong(s[i]);
}
return ints;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static byte[] readLineByte(){
try{
String[] s = readLine();
byte[] bytes = new byte[s.length];
for(int i=0;i<bytes.length;i++) {
bytes[i] = Byte.parseByte(s[i]);
}
return bytes;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static char[] readLineChar(){
try{
String[] s = readLine();
char[] chars = new char[s.length];
for(int i=0;i<chars.length;i++) {
chars[i] = (char)Integer.parseInt(s[i]);
}
return chars;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static void print(Object o){
System.out.println(o);
}
private static void print(){
System.out.println();
}
private static void printd(Object o){
if(MODE_DEBUG)System.err.println(o);
}
private static void printd(){
if(MODE_DEBUG)System.err.println();
}
private static void YesNo(boolean b) {
print(b?"Yes":"No");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
17,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
9,
28
],
[
28,
29
]
]
| [
"import java.io.*;\nimport java.util.Scanner;\n \nclass Main {\n public static void main(String args[]) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n System.out.println(1-n);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String args[]) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n System.out.println(1-n);\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n System.out.println(1-n);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n System.out.println(1-n);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int n = scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(1-n)",
"System.out.println",
"System.out",
"System",
"System.out",
"1-n",
"1",
"n",
"String args[]",
"args"
]
| import java.io.*;
import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
System.out.println(1-n);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
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
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.*;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int a = sc.nextInt();\n if (a == 0) {\n System.out.print(1);\n }\n if (a == 1) {\n System.out.print(0);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int a = sc.nextInt();\n if (a == 0) {\n System.out.print(1);\n }\n if (a == 1) {\n System.out.print(0);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int a = sc.nextInt();\n if (a == 0) {\n System.out.print(1);\n }\n if (a == 1) {\n System.out.print(0);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int a = sc.nextInt();\n if (a == 0) {\n System.out.print(1);\n }\n if (a == 1) {\n System.out.print(0);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (a == 0) {\n System.out.print(1);\n }",
"a == 0",
"a",
"0",
"{\n System.out.print(1);\n }",
"System.out.print(1)",
"System.out.print",
"System.out",
"System",
"System.out",
"1",
"if (a == 1) {\n System.out.print(0);\n }",
"a == 1",
"a",
"1",
"{\n System.out.print(0);\n }",
"System.out.print(0)",
"System.out.print",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int a = sc.nextInt();\n if (a == 0) {\n System.out.print(1);\n }\n if (a == 1) {\n System.out.print(0);\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int a = sc.nextInt();\n if (a == 0) {\n System.out.print(1);\n }\n if (a == 1) {\n System.out.print(0);\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// 整数の入力
int a = sc.nextInt();
if (a == 0) {
System.out.print(1);
}
if (a == 1) {
System.out.print(0);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint i = scanner.nextInt();\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tif (i == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint i = scanner.nextInt();\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tif (i == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint i = scanner.nextInt();\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tif (i == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint i = scanner.nextInt();\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tif (i == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int i = scanner.nextInt();",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"scanner.close()",
"scanner.close",
"scanner",
"if (i == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\tSystem.out.println(\"1\");\n\t\t}",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"{\n\t\t\tSystem.out.println(\"0\");\n\t\t}",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"String[] args",
"args",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint i = scanner.nextInt();\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tif (i == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}\n\t}\n\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint i = scanner.nextInt();\n\t\t\n\t\tscanner.close();\n\t\t\n\t\tif (i == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int i = scanner.nextInt();
scanner.close();
if (i == 0) {
System.out.println("1");
} else {
System.out.println("0");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
41,
5
],
[
41,
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
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
]
| [
"import java.util.Scanner;\n\n\npublic class Main {\n\n public static void main(String[] args) {\n\n\n Scanner myObj = new Scanner(System.in);\n Integer x = Integer.valueOf(myObj.nextLine());\n if(x==0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n\n Scanner myObj = new Scanner(System.in);\n Integer x = Integer.valueOf(myObj.nextLine());\n if(x==0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n\n\n Scanner myObj = new Scanner(System.in);\n Integer x = Integer.valueOf(myObj.nextLine());\n if(x==0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }\n }",
"main",
"{\n\n\n Scanner myObj = new Scanner(System.in);\n Integer x = Integer.valueOf(myObj.nextLine());\n if(x==0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }\n }",
"Scanner myObj = new Scanner(System.in);",
"myObj",
"new Scanner(System.in)",
"Integer x = Integer.valueOf(myObj.nextLine());",
"x",
"Integer.valueOf(myObj.nextLine())",
"Integer.valueOf",
"Integer",
"myObj.nextLine()",
"myObj.nextLine",
"myObj",
"if(x==0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }",
"x==0",
"x",
"0",
"{\n System.out.println(1);\n }",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"{\n System.out.println(0);\n }",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n\n Scanner myObj = new Scanner(System.in);\n Integer x = Integer.valueOf(myObj.nextLine());\n if(x==0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n\n Scanner myObj = new Scanner(System.in);\n Integer x = Integer.valueOf(myObj.nextLine());\n if(x==0){\n System.out.println(1);\n }else{\n System.out.println(0);\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner myObj = new Scanner(System.in);
Integer x = Integer.valueOf(myObj.nextLine());
if(x==0){
System.out.println(1);
}else{
System.out.println(0);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
12,
13,
30,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
70,
11
],
[
70,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
12,
30
],
[
30,
31
],
[
70,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
34,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
43,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
32,
61
],
[
61,
62
],
[
70,
63
],
[
63,
64
],
[
63,
65
],
[
70,
66
],
[
66,
67
],
[
66,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.nio.charset.StandardCharsets;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}\n\n\tMain(BufferedReader in) throws IOException {\n\t\tint X = Integer.parseInt(in.readLine());\n\t\tif (X == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}\n\t}\n\n\tvoid calc() {\n\t}\n\n\tvoid showResult() {\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.nio.charset.StandardCharsets;",
"StandardCharsets",
"java.nio.charset",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}\n\n\tMain(BufferedReader in) throws IOException {\n\t\tint X = Integer.parseInt(in.readLine());\n\t\tif (X == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}\n\t}\n\n\tvoid calc() {\n\t}\n\n\tvoid showResult() {\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}",
"main",
"{\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}",
"InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);",
"reader",
"new InputStreamReader(System.in, StandardCharsets.UTF_8)",
"BufferedReader in = new BufferedReader(reader);",
"in",
"new BufferedReader(reader)",
"Main ins = new Main(in);",
"ins",
"new Main(in)",
"ins.calc()",
"ins.calc",
"ins",
"ins.showResult()",
"ins.showResult",
"ins",
"String[] args",
"args",
"Main(BufferedReader in) throws IOException {\n\t\tint X = Integer.parseInt(in.readLine());\n\t\tif (X == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}\n\t}",
"Main",
"{\n\t\tint X = Integer.parseInt(in.readLine());\n\t\tif (X == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}\n\t}",
"int X = Integer.parseInt(in.readLine());",
"X",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"if (X == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}",
"X == 0",
"X",
"0",
"{\n\t\t\tSystem.out.println(\"1\");\n\t\t}",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"{\n\t\t\tSystem.out.println(\"0\");\n\t\t}",
"System.out.println(\"0\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"0\"",
"BufferedReader in",
"in",
"void calc() {\n\t}",
"calc",
"{\n\t}",
"void showResult() {\n\t}",
"showResult",
"{\n\t}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}\n\n\tMain(BufferedReader in) throws IOException {\n\t\tint X = Integer.parseInt(in.readLine());\n\t\tif (X == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}\n\t}\n\n\tvoid calc() {\n\t}\n\n\tvoid showResult() {\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t\tBufferedReader in = new BufferedReader(reader);\n\t\tMain ins = new Main(in);\n\t\tins.calc();\n\t\tins.showResult();\n\t}\n\n\tMain(BufferedReader in) throws IOException {\n\t\tint X = Integer.parseInt(in.readLine());\n\t\tif (X == 0) {\n\t\t\tSystem.out.println(\"1\");\n\t\t} else {\n\t\t\tSystem.out.println(\"0\");\n\t\t}\n\t}\n\n\tvoid calc() {\n\t}\n\n\tvoid showResult() {\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.nio.charset.StandardCharsets;
public class Main {
public static void main(String[] args) throws IOException {
InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
BufferedReader in = new BufferedReader(reader);
Main ins = new Main(in);
ins.calc();
ins.showResult();
}
Main(BufferedReader in) throws IOException {
int X = Integer.parseInt(in.readLine());
if (X == 0) {
System.out.println("1");
} else {
System.out.println("0");
}
}
void calc() {
}
void showResult() {
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
17,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
31,
5
],
[
31,
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
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
22,
27
],
[
6,
28
],
[
28,
29
],
[
0,
30
],
[
30,
31
],
[
30,
32
]
]
| [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint x = ob.nextInt();\n\n\t\tSystem.out.println((x == 1) ? 0 : 1);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint x = ob.nextInt();\n\n\t\tSystem.out.println((x == 1) ? 0 : 1);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint x = ob.nextInt();\n\n\t\tSystem.out.println((x == 1) ? 0 : 1);\n\t}",
"main",
"{\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint x = ob.nextInt();\n\n\t\tSystem.out.println((x == 1) ? 0 : 1);\n\t}",
"Scanner ob = new Scanner(System.in);",
"ob",
"new Scanner(System.in)",
"int x = ob.nextInt();",
"x",
"ob.nextInt()",
"ob.nextInt",
"ob",
"System.out.println((x == 1) ? 0 : 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"(x == 1) ? 0 : 1",
"(x == 1)",
"x",
"1",
"0",
"1",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint x = ob.nextInt();\n\n\t\tSystem.out.println((x == 1) ? 0 : 1);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner ob = new Scanner(System.in);\n\t\tint x = ob.nextInt();\n\n\t\tSystem.out.println((x == 1) ? 0 : 1);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner ob = new Scanner(System.in);
int x = ob.nextInt();
System.out.println((x == 1) ? 0 : 1);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
0,
13,
2,
17,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
6,
27
],
[
27,
28
]
]
| [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n System.out.println(x = 1 - x);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n System.out.println(x = 1 - x);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n System.out.println(x = 1 - x);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n System.out.println(x = 1 - x);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(x = 1 - x)",
"System.out.println",
"System.out",
"System",
"System.out",
"x = 1 - x",
"x",
"1 - x",
"1",
"x",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
System.out.println(x = 1 - x);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
50,
14
],
[
50,
15
],
[
15,
16
],
[
15,
17
],
[
50,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
29,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
18,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
]
| [
"import java.util.Scanner;\nimport java.util.Queue;\nimport java.util.ArrayDeque;\nimport java.util.Arrays;\n \npublic class Main {\n\tstatic int cnt = 0;\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n\t\tif(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Queue;",
"Queue",
"java.util",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\tstatic int cnt = 0;\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n\t\tif(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"static int cnt = 0;",
"cnt",
"0",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n\t\tif(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n\t\tif(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {\n\t\t\tSystem.out.println(0);\n\t\t}",
"x==0",
"x",
"0",
"{\n\t\t\tSystem.out.println(1);\n\t\t}",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"{\n\t\t\tSystem.out.println(0);\n\t\t}",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"public class Main {\n\tstatic int cnt = 0;\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n\t\tif(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main {\n\tstatic int cnt = 0;\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n\t\tif(x==0) {\n\t\t\tSystem.out.println(1);\n\t\t}else {\n\t\t\tSystem.out.println(0);\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
import java.util.Queue;
import java.util.ArrayDeque;
import java.util.Arrays;
public class Main {
static int cnt = 0;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
if(x==0) {
System.out.println(1);
}else {
System.out.println(0);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
38,
5
],
[
38,
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
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
21,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
6,
35
],
[
35,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tif (N==1) {\n\t\t\tSystem.out.println(0);\n\t\t\treturn ;\n\t\t}\n\t\tSystem.out.println(1);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tif (N==1) {\n\t\t\tSystem.out.println(0);\n\t\t\treturn ;\n\t\t}\n\t\tSystem.out.println(1);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tif (N==1) {\n\t\t\tSystem.out.println(0);\n\t\t\treturn ;\n\t\t}\n\t\tSystem.out.println(1);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tif (N==1) {\n\t\t\tSystem.out.println(0);\n\t\t\treturn ;\n\t\t}\n\t\tSystem.out.println(1);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (N==1) {\n\t\t\tSystem.out.println(0);\n\t\t\treturn ;\n\t\t}",
"N==1",
"N",
"1",
"{\n\t\t\tSystem.out.println(0);\n\t\t\treturn ;\n\t\t}",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"return ;",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tif (N==1) {\n\t\t\tSystem.out.println(0);\n\t\t\treturn ;\n\t\t}\n\t\tSystem.out.println(1);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tif (N==1) {\n\t\t\tSystem.out.println(0);\n\t\t\treturn ;\n\t\t}\n\t\tSystem.out.println(1);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
if (N==1) {
System.out.println(0);
return ;
}
System.out.println(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,
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,
41,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
8,
2,
13,
17,
17,
17,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
],
[
0,
52
],
[
178,
53
],
[
178,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
56,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
56,
67
],
[
67,
68
],
[
67,
69
],
[
56,
70
],
[
70,
71
],
[
70,
72
],
[
56,
73
],
[
73,
74
],
[
73,
75
],
[
56,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
76,
80
],
[
76,
81
],
[
56,
82
],
[
82,
83
],
[
83,
84
],
[
54,
85
],
[
85,
86
],
[
178,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
94,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
103,
108
],
[
92,
109
],
[
109,
110
],
[
92,
111
],
[
111,
112
],
[
92,
113
],
[
113,
114
],
[
178,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
115,
119
],
[
119,
120
],
[
115,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
127,
129
],
[
121,
130
],
[
130,
131
],
[
115,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
135,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
145,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
134,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
115,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
166,
167
],
[
115,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
175,
176
],
[
0,
177
],
[
177,
178
],
[
177,
179
]
]
| [
"\nimport java.io.OutputStream;\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.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Random;\nimport java.util.Set;\nimport java.util.StringTokenizer;\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\n\n\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskT solver = new TaskT();\n solver.solve(1, in, out);\n out.close();\n }\n \n \n\n static class TaskT {\n \tstatic int counter = 0;\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n\n \tint x = in.nextInt(); // total people\n \t\n \t\n \tout.print(x ==0 ? 1 : 0);\n }\n \n \n \n \n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\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\n public int nextInt() {\n return Integer.parseInt(next());\n }\n \n public long nextLong() {\n return Long.parseLong(next());\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.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.Random;",
"Random",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskT solver = new TaskT();\n solver.solve(1, in, out);\n out.close();\n }\n \n \n\n static class TaskT {\n \tstatic int counter = 0;\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n\n \tint x = in.nextInt(); // total people\n \t\n \t\n \tout.print(x ==0 ? 1 : 0);\n }\n \n \n \n \n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\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\n public int nextInt() {\n return Integer.parseInt(next());\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskT solver = new TaskT();\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 PrintWriter out = new PrintWriter(outputStream);\n TaskT solver = new TaskT();\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)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"TaskT solver = new TaskT();",
"solver",
"new TaskT()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class TaskT {\n \tstatic int counter = 0;\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n\n \tint x = in.nextInt(); // total people\n \t\n \t\n \tout.print(x ==0 ? 1 : 0);\n }\n \n \n \n \n\n }",
"TaskT",
"static int counter = 0;",
"counter",
"0",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n\n \tint x = in.nextInt(); // total people\n \t\n \t\n \tout.print(x ==0 ? 1 : 0);\n }",
"solve",
"{\n\n \tint x = in.nextInt(); // total people\n \t\n \t\n \tout.print(x ==0 ? 1 : 0);\n }",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"out.print(x ==0 ? 1 : 0)",
"out.print",
"out",
"x ==0 ? 1 : 0",
"x ==0",
"x",
"0",
"1",
"0",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\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\n public int nextInt() {\n return Integer.parseInt(next());\n }\n \n public long nextLong() {\n return Long.parseLong(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 class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskT solver = new TaskT();\n solver.solve(1, in, out);\n out.close();\n }\n \n \n\n static class TaskT {\n \tstatic int counter = 0;\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n\n \tint x = in.nextInt(); // total people\n \t\n \t\n \tout.print(x ==0 ? 1 : 0);\n }\n \n \n \n \n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\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\n public int nextInt() {\n return Integer.parseInt(next());\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskT solver = new TaskT();\n solver.solve(1, in, out);\n out.close();\n }\n \n \n\n static class TaskT {\n \tstatic int counter = 0;\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n\n \tint x = in.nextInt(); // total people\n \t\n \t\n \tout.print(x ==0 ? 1 : 0);\n }\n \n \n \n \n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\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\n public int nextInt() {\n return Integer.parseInt(next());\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main"
]
|
import java.io.OutputStream;
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.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.Set;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
TaskT solver = new TaskT();
solver.solve(1, in, out);
out.close();
}
static class TaskT {
static int counter = 0;
public void solve(int testNumber, InputReader in, PrintWriter out) {
int x = in.nextInt(); // total people
out.print(x ==0 ? 1 : 0);
}
}
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());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
4,
18,
13,
2,
4,
18,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
4,
13,
4,
18,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
2,
13,
17,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
2,
13,
17,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
4,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
4,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
4,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
4,
18,
13,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
427,
8
],
[
427,
9
],
[
9,
10
],
[
427,
11
],
[
11,
12
],
[
427,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
427,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
36,
41
],
[
41,
42
],
[
26,
43
],
[
43,
44
],
[
44,
45
],
[
24,
46
],
[
46,
47
],
[
427,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
51,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
65,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
65,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
65,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
48,
92
],
[
92,
93
],
[
427,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
97,
107
],
[
107,
108
],
[
108,
109
],
[
97,
110
],
[
111,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
111,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
111,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
130,
132
],
[
111,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
94,
138
],
[
138,
139
],
[
427,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
140,
144
],
[
144,
145
],
[
140,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
146,
152
],
[
152,
153
],
[
140,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
154,
160
],
[
160,
161
],
[
140,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
165,
174
],
[
174,
175
],
[
174,
176
],
[
164,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
140,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
188,
193
],
[
193,
194
],
[
193,
195
],
[
188,
196
],
[
196,
197
],
[
197,
198
],
[
188,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
183,
206
],
[
206,
207
],
[
181,
208
],
[
208,
209
],
[
140,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
217,
222
],
[
222,
223
],
[
222,
224
],
[
217,
225
],
[
225,
226
],
[
226,
227
],
[
217,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
233,
234
],
[
212,
235
],
[
235,
236
],
[
210,
237
],
[
237,
238
],
[
140,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
246,
251
],
[
251,
252
],
[
251,
253
],
[
246,
254
],
[
254,
255
],
[
255,
256
],
[
246,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
258,
262
],
[
262,
263
],
[
241,
264
],
[
264,
265
],
[
264,
266
],
[
241,
267
],
[
267,
268
],
[
268,
269
],
[
267,
270
],
[
241,
271
],
[
271,
272
],
[
239,
273
],
[
273,
274
],
[
140,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
282,
287
],
[
287,
288
],
[
287,
289
],
[
282,
290
],
[
290,
291
],
[
291,
292
],
[
282,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
294,
298
],
[
298,
299
],
[
277,
300
],
[
300,
301
],
[
300,
302
],
[
277,
303
],
[
303,
304
],
[
304,
305
],
[
303,
306
],
[
277,
307
],
[
307,
308
],
[
275,
309
],
[
309,
310
],
[
140,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
313,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
318,
323
],
[
323,
324
],
[
323,
325
],
[
318,
326
],
[
326,
327
],
[
327,
328
],
[
318,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
330,
334
],
[
334,
335
],
[
313,
336
],
[
336,
337
],
[
311,
338
],
[
338,
339
],
[
140,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
342,
347
],
[
347,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
347,
352
],
[
352,
353
],
[
352,
354
],
[
347,
355
],
[
355,
356
],
[
356,
357
],
[
347,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
359,
363
],
[
363,
364
],
[
342,
365
],
[
365,
366
],
[
340,
367
],
[
367,
368
],
[
140,
369
],
[
369,
370
],
[
369,
371
],
[
371,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
140,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
380,
383
],
[
383,
384
],
[
140,
385
],
[
385,
386
],
[
385,
387
],
[
387,
388
],
[
388,
389
],
[
389,
390
],
[
390,
391
],
[
389,
392
],
[
392,
393
],
[
140,
394
],
[
394,
395
],
[
394,
396
],
[
396,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
400,
401
],
[
398,
402
],
[
140,
403
],
[
403,
404
],
[
403,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
408,
409
],
[
407,
410
],
[
410,
411
],
[
140,
412
],
[
412,
413
],
[
412,
414
],
[
414,
415
],
[
415,
416
],
[
416,
417
],
[
417,
418
],
[
140,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
422,
425
],
[
0,
426
],
[
426,
427
],
[
426,
428
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main{\n\tstatic void main() throws Exception{\n\t\tpw.println(sc.nextInt()^1);\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tsc=new MScanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tstatic void main() throws Exception{\n\t\tpw.println(sc.nextInt()^1);\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tsc=new MScanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"Main",
"static PrintWriter pw;",
"pw",
"static MScanner sc;",
"sc",
"static void main() throws Exception{\n\t\tpw.println(sc.nextInt()^1);\n\t}",
"main",
"{\n\t\tpw.println(sc.nextInt()^1);\n\t}",
"pw.println(sc.nextInt()^1)",
"pw.println",
"pw",
"sc.nextInt()^1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"1",
"public static void main(String[] args) throws Exception{\n\t\tsc=new MScanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}",
"main",
"{\n\t\tsc=new MScanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}",
"sc=new MScanner(System.in)",
"sc",
"new MScanner(System.in)",
"pw = new PrintWriter(System.out)",
"pw",
"new PrintWriter(System.out)",
"int tc=1;",
"tc",
"1",
"while(tc-->0)\n\t\t\tmain();",
"tc-->0",
"tc--",
"tc",
"0",
"main()",
"main",
"pw.flush()",
"pw.flush",
"pw",
"String[] args",
"args",
"static void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"shuffle",
"{\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"for(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<in.length",
"i",
"in.length",
"in",
"in.length",
"i++",
"i++",
"i",
"{\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"{\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int idx=(int)(Math.random()*(i+1));",
"idx",
"(int)(Math.random()*(i+1))",
"Math.random()",
"Math.random",
"Math",
"(i+1)",
"i",
"1",
"int tmp=in[i];",
"tmp",
"in[i]",
"in",
"i",
"in[i]=in[idx]",
"in[i]",
"in",
"i",
"in[idx]",
"in",
"idx",
"in[idx]=tmp",
"in[idx]",
"in",
"idx",
"tmp",
"int[]in",
"in",
"static void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"shuffle",
"{\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"for(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<in.length",
"i",
"in.length",
"in",
"in.length",
"i++",
"i++",
"i",
"{\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"{\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int idx=(int)(Math.random()*(i+1));",
"idx",
"(int)(Math.random()*(i+1))",
"Math.random()",
"Math.random",
"Math",
"(i+1)",
"i",
"1",
"long tmp=in[i];",
"tmp",
"in[i]",
"in",
"i",
"in[i]=in[idx]",
"in[i]",
"in",
"i",
"in[idx]",
"in",
"idx",
"in[idx]=tmp",
"in[idx]",
"in",
"idx",
"tmp",
"long[]in",
"in",
"static class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}",
"MScanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"MScanner",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(system))",
"br",
"new BufferedReader(new InputStreamReader(system))",
"InputStream system",
"system",
"public MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"MScanner",
"{\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"br = new BufferedReader(new FileReader(file))",
"br",
"new BufferedReader(new FileReader(file))",
"String file",
"file",
"public String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"while (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"intArr",
"{\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"int[]in=new int[n];",
"in",
"new int[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"return in;",
"in",
"int n",
"n",
"public long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"longArr",
"{\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"long[]in=new long[n];",
"in",
"new long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"return in;",
"in",
"int n",
"n",
"public int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"intSortedArr",
"{\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"int[]in=new int[n];",
"in",
"new int[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"shuffle(in)",
"shuffle",
"in",
"Arrays.sort(in)",
"Arrays.sort",
"Arrays",
"in",
"return in;",
"in",
"int n",
"n",
"public long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"longSortedArr",
"{\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"long[]in=new long[n];",
"in",
"new long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"shuffle(in)",
"shuffle",
"in",
"Arrays.sort(in)",
"Arrays.sort",
"Arrays",
"in",
"return in;",
"in",
"int n",
"n",
"public Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"IntegerArr",
"{\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"Integer[]in=new Integer[n];",
"in",
"new Integer[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"return in;",
"in",
"int n",
"n",
"public Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"LongArr",
"{\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"Long[]in=new Long[n];",
"in",
"new Long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"return in;",
"in",
"int n",
"n",
"public String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}",
"nextLine",
"{\n\t\t\treturn br.readLine();\n\t\t}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}",
"nextChar",
"{\n\t\t\treturn next().charAt(0);\n\t\t}",
"return next().charAt(0);",
"next().charAt(0)",
"next().charAt",
"next()",
"next",
"0",
"public long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}",
"ready",
"{\n\t\t\treturn br.ready();\n\t\t}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}",
"waitForInput",
"{\n\t\t\tThread.sleep(3000);\n\t\t}",
"Thread.sleep(3000)",
"Thread.sleep",
"Thread",
"3000",
"public class Main{\n\tstatic void main() throws Exception{\n\t\tpw.println(sc.nextInt()^1);\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tsc=new MScanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"public class Main{\n\tstatic void main() throws Exception{\n\t\tpw.println(sc.nextInt()^1);\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tsc=new MScanner(System.in);\n\t\tpw = new PrintWriter(System.out);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*(i+1));\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main{
static void main() throws Exception{
pw.println(sc.nextInt()^1);
}
public static void main(String[] args) throws Exception{
sc=new MScanner(System.in);
pw = new PrintWriter(System.out);
int tc=1;
// tc=sc.nextInt();
while(tc-->0)
main();
pw.flush();
}
static PrintWriter pw;
static MScanner sc;
static class MScanner {
StringTokenizer st;
BufferedReader br;
public MScanner(InputStream system) {
br = new BufferedReader(new InputStreamReader(system));
}
public MScanner(String file) throws Exception {
br = new BufferedReader(new FileReader(file));
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public int[] intArr(int n) throws IOException {
int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();
return in;
}
public long[] longArr(int n) throws IOException {
long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();
return in;
}
public int[] intSortedArr(int n) throws IOException {
int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();
shuffle(in);
Arrays.sort(in);
return in;
}
public long[] longSortedArr(int n) throws IOException {
long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();
shuffle(in);
Arrays.sort(in);
return in;
}
public Integer[] IntegerArr(int n) throws IOException {
Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();
return in;
}
public Long[] LongArr(int n) throws IOException {
Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();
return in;
}
public String nextLine() throws IOException {
return br.readLine();
}
public int nextInt() throws IOException {
return Integer.parseInt(next());
}
public double nextDouble() throws IOException {
return Double.parseDouble(next());
}
public char nextChar() throws IOException {
return next().charAt(0);
}
public long nextLong() throws IOException {
return Long.parseLong(next());
}
public boolean ready() throws IOException {
return br.ready();
}
public void waitForInput() throws InterruptedException {
Thread.sleep(3000);
}
}
static void shuffle(int[]in) {
for(int i=0;i<in.length;i++) {
int idx=(int)(Math.random()*(i+1));
int tmp=in[i];
in[i]=in[idx];
in[idx]=tmp;
}
}
static void shuffle(long[]in) {
for(int i=0;i<in.length;i++) {
int idx=(int)(Math.random()*(i+1));
long tmp=in[i];
in[i]=in[idx];
in[idx]=tmp;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
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,
4,
18,
4,
18,
13,
2,
17,
4,
18,
13,
23,
13,
23,
13,
23,
13,
6,
13,
12,
13,
13,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
20,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
13,
29,
18,
13,
40,
13,
38,
5,
13,
30,
37,
20,
30,
0,
13,
17,
0,
13,
4,
18,
13,
13,
14,
2,
13,
40,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
42,
2,
4,
13,
0,
13,
4,
13,
2,
13,
40,
17,
14,
2,
13,
40,
17,
37,
20,
40,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
18,
13,
13,
13,
37,
20,
29,
13,
12,
13,
30,
4,
13,
41,
13,
4,
13,
41,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
0,
13,
17,
41,
13,
17,
11,
1,
40,
4,
13,
13,
1,
0,
13,
4,
13,
30,
30,
14,
2,
2,
17,
13,
2,
13,
17,
0,
13,
2,
2,
2,
13,
17,
13,
17,
37,
20,
29,
8,
13,
40,
13,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
12,
13,
30,
29,
2,
2,
13,
17,
2,
17,
13,
23,
13,
13,
6,
13,
41,
13,
2,
17,
17,
41,
13,
2,
17,
17,
41,
13,
41,
13,
20,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
18,
36,
13,
13,
41,
13,
38,
5,
13,
30,
0,
13,
17,
30,
0,
13,
4,
18,
18,
13,
17,
4,
18,
13,
17,
14,
2,
4,
18,
13,
18,
13,
0,
13,
17,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
0,
18,
36,
13,
20,
0,
18,
36,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
13,
13,
29,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
17,
13,
0,
13,
17,
14,
2,
13,
13,
37,
20,
23,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
17,
13,
0,
13,
17,
4,
18,
13,
4,
18,
13,
12,
13,
30,
4,
13,
17,
0,
18,
13,
40,
13,
13,
0,
13,
17,
29,
36,
23,
13,
12,
13,
30,
41,
13,
14,
2,
18,
36,
13,
17,
0,
13,
4,
18,
13,
30,
38,
5,
13,
30,
0,
13,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
41,
13,
18,
13,
13,
14,
2,
13,
13,
30,
4,
13,
13,
4,
18,
13,
13,
17,
13,
13,
13,
0,
13,
13,
29,
36,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
17,
13,
0,
13,
17,
4,
18,
13,
13,
4,
18,
13,
29,
36,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
13,
17,
29,
17,
14,
2,
13,
17,
30,
4,
13,
17,
0,
13,
40,
13,
41,
13,
17,
41,
13,
13,
42,
2,
13,
17,
30,
0,
13,
17,
40,
13,
4,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
2,
13,
13,
13,
2,
2,
13,
17,
17,
0,
13,
17,
0,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
40,
13,
30,
4,
13,
17,
0,
13,
17,
4,
13,
13,
29,
36,
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,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
4,
18,
4,
18,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
4,
18,
4,
18,
13,
4,
18,
13,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
],
[
0,
49
],
[
789,
50
],
[
789,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
53,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
53,
64
],
[
64,
65
],
[
64,
66
],
[
53,
67
],
[
67,
68
],
[
67,
69
],
[
53,
70
],
[
70,
71
],
[
70,
72
],
[
53,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
73,
77
],
[
73,
78
],
[
53,
79
],
[
79,
80
],
[
80,
81
],
[
51,
82
],
[
82,
83
],
[
789,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
86,
99
],
[
99,
100
],
[
86,
101
],
[
101,
102
],
[
86,
103
],
[
103,
104
],
[
789,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
105,
109
],
[
789,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
110,
117
],
[
117,
118
],
[
110,
119
],
[
119,
120
],
[
119,
121
],
[
110,
123
],
[
123,
124
],
[
110,
125
],
[
125,
126
],
[
110,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
127,
135
],
[
135,
136
],
[
110,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
139,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
149,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
139,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
165,
170
],
[
170,
171
],
[
171,
172
],
[
139,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
110,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
184,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
180,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
195,
200
],
[
200,
201
],
[
180,
202
],
[
202,
203
],
[
110,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
206,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
215,
217
],
[
212,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
218,
222
],
[
211,
223
],
[
223,
224
],
[
206,
225
],
[
225,
226
],
[
110,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
230,
231
],
[
229,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
229,
236
],
[
236,
237
],
[
229,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
238,
250
],
[
250,
251
],
[
250,
252
],
[
229,
253
],
[
253,
254
],
[
253,
255
],
[
229,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
256,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
256,
267
],
[
268,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
270,
274
],
[
274,
275
],
[
274,
276
],
[
269,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
284
],
[
279,
285
],
[
269,
286
],
[
286,
287
],
[
229,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
289,
293
],
[
110,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
301,
302
],
[
297,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
110,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
311,
315
],
[
315,
316
],
[
315,
317
],
[
307,
318
],
[
318,
319
],
[
110,
320
],
[
789,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
325,
327
],
[
321,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
330,
332
],
[
321,
333
],
[
333,
334
],
[
321,
335
],
[
335,
336
],
[
335,
337
],
[
321,
339
],
[
339,
340
],
[
321,
341
],
[
341,
342
],
[
321,
343
],
[
343,
344
],
[
343,
345
],
[
321,
346
],
[
346,
347
],
[
346,
348
],
[
321,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
352,
353
],
[
353,
354
],
[
353,
355
],
[
352,
356
],
[
351,
357
],
[
357,
358
],
[
351,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
362,
363
],
[
363,
364
],
[
363,
365
],
[
359,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
369,
370
],
[
370,
371
],
[
371,
372
],
[
369,
373
],
[
366,
374
],
[
374,
375
],
[
375,
376
],
[
374,
377
],
[
366,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
379,
383
],
[
383,
384
],
[
378,
385
],
[
385,
386
],
[
385,
387
],
[
351,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
388,
392
],
[
349,
393
],
[
393,
394
],
[
321,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
398,
402
],
[
397,
403
],
[
403,
404
],
[
404,
405
],
[
404,
406
],
[
403,
407
],
[
395,
408
],
[
408,
409
],
[
321,
410
],
[
410,
411
],
[
410,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
415,
416
],
[
415,
417
],
[
414,
418
],
[
413,
419
],
[
412,
420
],
[
420,
421
],
[
421,
422
],
[
421,
423
],
[
423,
424
],
[
424,
425
],
[
420,
426
],
[
426,
427
],
[
427,
428
],
[
428,
429
],
[
427,
430
],
[
427,
431
],
[
427,
432
],
[
426,
433
],
[
433,
434
],
[
433,
435
],
[
412,
436
],
[
436,
437
],
[
437,
438
],
[
437,
439
],
[
436,
440
],
[
440,
441
],
[
410,
442
],
[
442,
443
],
[
321,
444
],
[
444,
445
],
[
444,
446
],
[
446,
447
],
[
447,
448
],
[
448,
449
],
[
448,
450
],
[
450,
451
],
[
451,
452
],
[
447,
453
],
[
453,
454
],
[
454,
455
],
[
455,
456
],
[
454,
457
],
[
454,
458
],
[
454,
459
],
[
453,
460
],
[
460,
461
],
[
460,
462
],
[
453,
463
],
[
463,
464
],
[
464,
465
],
[
453,
466
],
[
466,
467
],
[
467,
468
],
[
321,
469
],
[
469,
470
],
[
469,
471
],
[
471,
472
],
[
472,
473
],
[
472,
474
],
[
471,
475
],
[
475,
476
],
[
476,
477
],
[
476,
478
],
[
478,
479
],
[
475,
480
],
[
471,
481
],
[
481,
482
],
[
481,
483
],
[
471,
484
],
[
484,
485
],
[
469,
486
],
[
486,
487
],
[
321,
488
],
[
488,
489
],
[
488,
490
],
[
490,
491
],
[
491,
492
],
[
490,
493
],
[
493,
494
],
[
494,
495
],
[
495,
496
],
[
495,
497
],
[
494,
498
],
[
493,
499
],
[
499,
500
],
[
499,
501
],
[
501,
502
],
[
502,
503
],
[
493,
504
],
[
504,
505
],
[
505,
506
],
[
506,
507
],
[
506,
508
],
[
508,
509
],
[
509,
510
],
[
509,
511
],
[
511,
512
],
[
512,
513
],
[
505,
514
],
[
514,
515
],
[
515,
516
],
[
515,
517
],
[
517,
518
],
[
518,
519
],
[
517,
520
],
[
490,
521
],
[
521,
522
],
[
521,
523
],
[
523,
524
],
[
523,
525
],
[
490,
526
],
[
526,
527
],
[
527,
528
],
[
527,
529
],
[
526,
530
],
[
530,
531
],
[
531,
532
],
[
531,
533
],
[
530,
534
],
[
534,
535
],
[
535,
536
],
[
534,
537
],
[
534,
538
],
[
534,
539
],
[
534,
540
],
[
534,
541
],
[
530,
542
],
[
542,
543
],
[
542,
544
],
[
530,
545
],
[
545,
546
],
[
490,
547
],
[
547,
548
],
[
548,
549
],
[
548,
550
],
[
550,
551
],
[
551,
552
],
[
547,
553
],
[
553,
554
],
[
554,
555
],
[
555,
556
],
[
554,
557
],
[
554,
558
],
[
554,
559
],
[
553,
560
],
[
560,
561
],
[
560,
562
],
[
553,
563
],
[
563,
564
],
[
564,
565
],
[
563,
566
],
[
553,
567
],
[
567,
568
],
[
568,
569
],
[
490,
570
],
[
570,
571
],
[
488,
572
],
[
572,
573
],
[
321,
574
],
[
574,
575
],
[
574,
576
],
[
576,
577
],
[
577,
578
],
[
578,
579
],
[
578,
580
],
[
577,
581
],
[
581,
582
],
[
582,
583
],
[
582,
584
],
[
581,
585
],
[
585,
586
],
[
577,
587
],
[
587,
588
],
[
588,
589
],
[
588,
590
],
[
587,
591
],
[
591,
592
],
[
592,
593
],
[
592,
594
],
[
591,
595
],
[
595,
596
],
[
595,
597
],
[
597,
598
],
[
576,
599
],
[
599,
600
],
[
599,
601
],
[
576,
602
],
[
602,
603
],
[
602,
604
],
[
576,
605
],
[
605,
606
],
[
606,
607
],
[
606,
608
],
[
605,
609
],
[
609,
610
],
[
610,
611
],
[
610,
612
],
[
609,
613
],
[
613,
614
],
[
576,
615
],
[
615,
616
],
[
615,
617
],
[
576,
618
],
[
618,
619
],
[
619,
620
],
[
620,
621
],
[
620,
622
],
[
618,
623
],
[
623,
624
],
[
623,
625
],
[
618,
626
],
[
626,
627
],
[
627,
628
],
[
618,
629
],
[
630,
630
],
[
630,
631
],
[
631,
632
],
[
632,
633
],
[
632,
634
],
[
634,
635
],
[
635,
636
],
[
635,
637
],
[
634,
638
],
[
631,
639
],
[
639,
640
],
[
640,
641
],
[
640,
642
],
[
639,
643
],
[
630,
644
],
[
644,
645
],
[
644,
646
],
[
576,
647
],
[
647,
648
],
[
647,
649
],
[
576,
650
],
[
650,
651
],
[
574,
652
],
[
652,
653
],
[
321,
654
],
[
654,
655
],
[
654,
656
],
[
656,
657
],
[
657,
658
],
[
658,
659
],
[
657,
660
],
[
660,
661
],
[
661,
662
],
[
661,
663
],
[
656,
664
],
[
664,
665
],
[
664,
666
],
[
656,
667
],
[
667,
668
],
[
667,
669
],
[
656,
670
],
[
670,
671
],
[
654,
672
],
[
672,
673
],
[
321,
674
],
[
674,
675
],
[
674,
676
],
[
676,
677
],
[
677,
678
],
[
677,
679
],
[
679,
680
],
[
680,
681
],
[
676,
682
],
[
682,
683
],
[
682,
684
],
[
676,
685
],
[
685,
686
],
[
685,
687
],
[
687,
688
],
[
688,
689
],
[
689,
690
],
[
689,
691
],
[
691,
692
],
[
692,
693
],
[
688,
694
],
[
694,
695
],
[
695,
696
],
[
696,
697
],
[
676,
698
],
[
698,
699
],
[
321,
700
],
[
700,
701
],
[
700,
702
],
[
702,
703
],
[
700,
704
],
[
704,
705
],
[
700,
706
],
[
706,
707
],
[
706,
708
],
[
708,
709
],
[
709,
710
],
[
710,
711
],
[
710,
712
],
[
709,
713
],
[
708,
714
],
[
714,
715
],
[
715,
716
],
[
715,
717
],
[
714,
718
],
[
718,
719
],
[
719,
720
],
[
720,
721
],
[
720,
722
],
[
706,
723
],
[
723,
724
],
[
700,
725
],
[
725,
726
],
[
725,
727
],
[
727,
728
],
[
728,
729
],
[
729,
730
],
[
728,
731
],
[
725,
732
],
[
732,
733
],
[
700,
734
],
[
734,
735
],
[
734,
736
],
[
736,
737
],
[
737,
738
],
[
738,
739
],
[
737,
740
],
[
740,
741
],
[
741,
742
],
[
742,
743
],
[
743,
744
],
[
742,
745
],
[
745,
746
],
[
746,
747
],
[
745,
748
],
[
734,
749
],
[
749,
750
],
[
700,
751
],
[
751,
752
],
[
751,
753
],
[
753,
754
],
[
754,
755
],
[
755,
756
],
[
754,
757
],
[
757,
758
],
[
758,
759
],
[
759,
760
],
[
760,
761
],
[
759,
762
],
[
762,
763
],
[
763,
764
],
[
762,
765
],
[
762,
766
],
[
762,
767
],
[
751,
768
],
[
768,
769
],
[
751,
770
],
[
770,
771
],
[
751,
772
],
[
772,
773
],
[
700,
774
],
[
774,
775
],
[
774,
776
],
[
776,
777
],
[
777,
778
],
[
778,
779
],
[
700,
780
],
[
780,
781
],
[
780,
782
],
[
782,
783
],
[
783,
784
],
[
784,
785
],
[
700,
786
],
[
321,
787
],
[
0,
788
],
[
788,
789
],
[
788,
790
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.nio.CharBuffer;\nimport java.io.IOException;\nimport java.nio.charset.CharsetDecoder;\nimport java.lang.reflect.Field;\nimport java.nio.charset.StandardCharsets;\nimport java.nio.ByteBuffer;\nimport java.io.UncheckedIOException;\nimport java.nio.charset.Charset;\nimport java.security.AccessControlException;\nimport java.io.Writer;\nimport java.util.NoSuchElementException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper reloaded 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 LightScanner2 in = new LightScanner2(inputStream);\n LightWriter2 out = new LightWriter2(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ANot {\n public void solve(int testNumber, LightScanner2 in, LightWriter2 out) {\n out.ans(1 - in.ints()).ln();\n }\n\n }\n\n static abstract class LightScannerAdapter implements AutoCloseable {\n public abstract void close();\n\n }\n\n static class LightScanner2 extends LightScannerAdapter {\n private static final int BUF_SIZE = 1024 * 1024;\n private final InputStream stream;\n private final byte[] buf = new byte[BUF_SIZE];\n private int ptr;\n private int len;\n\n public LightScanner2(InputStream stream) {\n this.stream = stream;\n }\n\n private int read() {\n if (ptr < len) return buf[ptr++];\n try {\n ptr = 0;\n len = stream.read(buf);\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (len == -1) return -1;\n return buf[ptr++];\n }\n\n private void skip() {\n int b;\n while (isTokenSeparator(b = read()) && b != -1) ;\n if (b == -1) throw new NoSuchElementException(\"EOF\");\n ptr--;\n }\n\n public int ints() {\n long x = longs();\n if (x < Integer.MIN_VALUE || Integer.MAX_VALUE < x) throw new NumberFormatException(\"Overflow\");\n return (int) x;\n }\n\n public long longs() {\n skip();\n int b = read();\n boolean negate;\n if (b == '-') {\n negate = true;\n b = read();\n } else negate = false;\n long x = 0;\n for (; !isTokenSeparator(b); b = read()) {\n if ('0' <= b && b <= '9') x = x * 10 + b - '0';\n else throw new NumberFormatException(\"Unexpected character '\" + b + \"'\");\n }\n return negate ? -x : x;\n }\n\n public void close() {\n try {\n stream.close();\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n\n private static boolean isTokenSeparator(int b) {\n return b < 33 || 126 < b;\n }\n\n }\n\n static class LightWriter2 implements AutoCloseable {\n private static final int BUF_SIZE = 1024 * 1024;\n private static final int BUF_THRESHOLD = 64 * 1024;\n private final OutputStream out;\n private final byte[] buf = new byte[BUF_SIZE];\n private int ptr;\n private final Field fastStringAccess;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter2(OutputStream out) {\n this.out = out;\n Field f;\n try {\n f = String.class.getDeclaredField(\"value\");\n f.setAccessible(true);\n if (f.getType() != byte[].class) f = null;\n } catch (ReflectiveOperationException | AccessControlException ignored) {\n f = null;\n }\n this.fastStringAccess = f;\n }\n\n public LightWriter2(Writer out) {\n this.out = new LightWriter2.WriterOutputStream(out);\n this.fastStringAccess = null;\n }\n\n private void allocate(int n) {\n if (ptr + n <= BUF_SIZE) return;\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (BUF_SIZE < n) throw new IllegalArgumentException(\"Internal buffer exceeded\");\n }\n\n public void close() {\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.flush();\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n public LightWriter2 print(char c) {\n allocate(1);\n buf[ptr++] = (byte) c;\n breaked = false;\n return this;\n }\n\n public LightWriter2 print(String s) {\n byte[] bytes;\n if (this.fastStringAccess == null) bytes = s.getBytes();\n else {\n try {\n bytes = (byte[]) fastStringAccess.get(s);\n } catch (IllegalAccessException ignored) {\n bytes = s.getBytes();\n }\n }\n int n = bytes.length;\n if (n <= BUF_THRESHOLD) {\n allocate(n);\n System.arraycopy(bytes, 0, buf, ptr, n);\n ptr += n;\n return this;\n }\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.write(bytes);\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n private int print(long l) {\n if (l == 0) {\n print('0');\n return 1;\n } else if (l < 0) {\n print('-');\n l = -l;\n }\n int n = 0;\n long t = l;\n while (t > 0) {\n t /= 10;\n n++;\n }\n allocate(n);\n for (int i = 1; i <= n; i++) {\n buf[ptr + n - i] = (byte) (l % 10 + '0');\n l /= 10;\n }\n ptr += n;\n return n;\n }\n\n public LightWriter2 ans(int i) {\n if (!breaked) {\n print(' ');\n }\n breaked = false;\n print(i);\n return this;\n }\n\n public LightWriter2 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 private static class WriterOutputStream extends OutputStream {\n final Writer writer;\n final CharsetDecoder decoder;\n\n WriterOutputStream(Writer writer) {\n this.writer = writer;\n this.decoder = StandardCharsets.UTF_8.newDecoder();\n }\n\n public void write(int b) throws IOException {\n writer.write(b);\n }\n\n public void write(byte[] b) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b)).array());\n }\n\n public void write(byte[] b, int off, int len) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b, off, len)).array());\n }\n\n public void flush() throws IOException {\n writer.flush();\n }\n\n public void close() throws IOException {\n writer.close();\n }\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.nio.CharBuffer;",
"CharBuffer",
"java.nio",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.nio.charset.CharsetDecoder;",
"CharsetDecoder",
"java.nio.charset",
"import java.lang.reflect.Field;",
"Field",
"java.lang.reflect",
"import java.nio.charset.StandardCharsets;",
"StandardCharsets",
"java.nio.charset",
"import java.nio.ByteBuffer;",
"ByteBuffer",
"java.nio",
"import java.io.UncheckedIOException;",
"UncheckedIOException",
"java.io",
"import java.nio.charset.Charset;",
"Charset",
"java.nio.charset",
"import java.security.AccessControlException;",
"AccessControlException",
"java.security",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"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 LightScanner2 in = new LightScanner2(inputStream);\n LightWriter2 out = new LightWriter2(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ANot {\n public void solve(int testNumber, LightScanner2 in, LightWriter2 out) {\n out.ans(1 - in.ints()).ln();\n }\n\n }\n\n static abstract class LightScannerAdapter implements AutoCloseable {\n public abstract void close();\n\n }\n\n static class LightScanner2 extends LightScannerAdapter {\n private static final int BUF_SIZE = 1024 * 1024;\n private final InputStream stream;\n private final byte[] buf = new byte[BUF_SIZE];\n private int ptr;\n private int len;\n\n public LightScanner2(InputStream stream) {\n this.stream = stream;\n }\n\n private int read() {\n if (ptr < len) return buf[ptr++];\n try {\n ptr = 0;\n len = stream.read(buf);\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (len == -1) return -1;\n return buf[ptr++];\n }\n\n private void skip() {\n int b;\n while (isTokenSeparator(b = read()) && b != -1) ;\n if (b == -1) throw new NoSuchElementException(\"EOF\");\n ptr--;\n }\n\n public int ints() {\n long x = longs();\n if (x < Integer.MIN_VALUE || Integer.MAX_VALUE < x) throw new NumberFormatException(\"Overflow\");\n return (int) x;\n }\n\n public long longs() {\n skip();\n int b = read();\n boolean negate;\n if (b == '-') {\n negate = true;\n b = read();\n } else negate = false;\n long x = 0;\n for (; !isTokenSeparator(b); b = read()) {\n if ('0' <= b && b <= '9') x = x * 10 + b - '0';\n else throw new NumberFormatException(\"Unexpected character '\" + b + \"'\");\n }\n return negate ? -x : x;\n }\n\n public void close() {\n try {\n stream.close();\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n\n private static boolean isTokenSeparator(int b) {\n return b < 33 || 126 < b;\n }\n\n }\n\n static class LightWriter2 implements AutoCloseable {\n private static final int BUF_SIZE = 1024 * 1024;\n private static final int BUF_THRESHOLD = 64 * 1024;\n private final OutputStream out;\n private final byte[] buf = new byte[BUF_SIZE];\n private int ptr;\n private final Field fastStringAccess;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter2(OutputStream out) {\n this.out = out;\n Field f;\n try {\n f = String.class.getDeclaredField(\"value\");\n f.setAccessible(true);\n if (f.getType() != byte[].class) f = null;\n } catch (ReflectiveOperationException | AccessControlException ignored) {\n f = null;\n }\n this.fastStringAccess = f;\n }\n\n public LightWriter2(Writer out) {\n this.out = new LightWriter2.WriterOutputStream(out);\n this.fastStringAccess = null;\n }\n\n private void allocate(int n) {\n if (ptr + n <= BUF_SIZE) return;\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (BUF_SIZE < n) throw new IllegalArgumentException(\"Internal buffer exceeded\");\n }\n\n public void close() {\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.flush();\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n public LightWriter2 print(char c) {\n allocate(1);\n buf[ptr++] = (byte) c;\n breaked = false;\n return this;\n }\n\n public LightWriter2 print(String s) {\n byte[] bytes;\n if (this.fastStringAccess == null) bytes = s.getBytes();\n else {\n try {\n bytes = (byte[]) fastStringAccess.get(s);\n } catch (IllegalAccessException ignored) {\n bytes = s.getBytes();\n }\n }\n int n = bytes.length;\n if (n <= BUF_THRESHOLD) {\n allocate(n);\n System.arraycopy(bytes, 0, buf, ptr, n);\n ptr += n;\n return this;\n }\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.write(bytes);\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n private int print(long l) {\n if (l == 0) {\n print('0');\n return 1;\n } else if (l < 0) {\n print('-');\n l = -l;\n }\n int n = 0;\n long t = l;\n while (t > 0) {\n t /= 10;\n n++;\n }\n allocate(n);\n for (int i = 1; i <= n; i++) {\n buf[ptr + n - i] = (byte) (l % 10 + '0');\n l /= 10;\n }\n ptr += n;\n return n;\n }\n\n public LightWriter2 ans(int i) {\n if (!breaked) {\n print(' ');\n }\n breaked = false;\n print(i);\n return this;\n }\n\n public LightWriter2 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 private static class WriterOutputStream extends OutputStream {\n final Writer writer;\n final CharsetDecoder decoder;\n\n WriterOutputStream(Writer writer) {\n this.writer = writer;\n this.decoder = StandardCharsets.UTF_8.newDecoder();\n }\n\n public void write(int b) throws IOException {\n writer.write(b);\n }\n\n public void write(byte[] b) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b)).array());\n }\n\n public void write(byte[] b, int off, int len) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b, off, len)).array());\n }\n\n public void flush() throws IOException {\n writer.flush();\n }\n\n public void close() throws IOException {\n writer.close();\n }\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner2 in = new LightScanner2(inputStream);\n LightWriter2 out = new LightWriter2(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner2 in = new LightScanner2(inputStream);\n LightWriter2 out = new LightWriter2(outputStream);\n ANot solver = new ANot();\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",
"LightScanner2 in = new LightScanner2(inputStream);",
"in",
"new LightScanner2(inputStream)",
"LightWriter2 out = new LightWriter2(outputStream);",
"out",
"new LightWriter2(outputStream)",
"ANot solver = new ANot();",
"solver",
"new ANot()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ANot {\n public void solve(int testNumber, LightScanner2 in, LightWriter2 out) {\n out.ans(1 - in.ints()).ln();\n }\n\n }",
"ANot",
"public void solve(int testNumber, LightScanner2 in, LightWriter2 out) {\n out.ans(1 - in.ints()).ln();\n }",
"solve",
"{\n out.ans(1 - in.ints()).ln();\n }",
"out.ans(1 - in.ints()).ln()",
"out.ans(1 - in.ints()).ln",
"out.ans(1 - in.ints())",
"out.ans",
"out",
"1 - in.ints()",
"1",
"in.ints()",
"in.ints",
"in",
"int testNumber",
"testNumber",
"LightScanner2 in",
"in",
"LightWriter2 out",
"out",
"static abstract class LightScannerAdapter implements AutoCloseable {\n public abstract void close();\n\n }",
"LightScannerAdapter",
"public abstract void close();",
"close",
"AutoCloseable",
"static class LightScanner2 extends LightScannerAdapter {\n private static final int BUF_SIZE = 1024 * 1024;\n private final InputStream stream;\n private final byte[] buf = new byte[BUF_SIZE];\n private int ptr;\n private int len;\n\n public LightScanner2(InputStream stream) {\n this.stream = stream;\n }\n\n private int read() {\n if (ptr < len) return buf[ptr++];\n try {\n ptr = 0;\n len = stream.read(buf);\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (len == -1) return -1;\n return buf[ptr++];\n }\n\n private void skip() {\n int b;\n while (isTokenSeparator(b = read()) && b != -1) ;\n if (b == -1) throw new NoSuchElementException(\"EOF\");\n ptr--;\n }\n\n public int ints() {\n long x = longs();\n if (x < Integer.MIN_VALUE || Integer.MAX_VALUE < x) throw new NumberFormatException(\"Overflow\");\n return (int) x;\n }\n\n public long longs() {\n skip();\n int b = read();\n boolean negate;\n if (b == '-') {\n negate = true;\n b = read();\n } else negate = false;\n long x = 0;\n for (; !isTokenSeparator(b); b = read()) {\n if ('0' <= b && b <= '9') x = x * 10 + b - '0';\n else throw new NumberFormatException(\"Unexpected character '\" + b + \"'\");\n }\n return negate ? -x : x;\n }\n\n public void close() {\n try {\n stream.close();\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n\n private static boolean isTokenSeparator(int b) {\n return b < 33 || 126 < b;\n }\n\n }",
"LightScanner2",
"private static final int BUF_SIZE = 1024 * 1024;",
"BUF_SIZE",
"1024 * 1024",
"1024",
"1024",
"private final InputStream stream;",
"stream",
"private final byte[] buf = new byte[BUF_SIZE];",
"buf",
"new byte[BUF_SIZE]",
"BUF_SIZE",
"private int ptr;",
"ptr",
"private int len;",
"len",
"public LightScanner2(InputStream stream) {\n this.stream = stream;\n }",
"LightScanner2",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"private int read() {\n if (ptr < len) return buf[ptr++];\n try {\n ptr = 0;\n len = stream.read(buf);\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (len == -1) return -1;\n return buf[ptr++];\n }",
"read",
"{\n if (ptr < len) return buf[ptr++];\n try {\n ptr = 0;\n len = stream.read(buf);\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (len == -1) return -1;\n return buf[ptr++];\n }",
"if (ptr < len) return buf[ptr++];",
"ptr < len",
"ptr",
"len",
"return buf[ptr++];",
"buf[ptr++]",
"buf",
"ptr++",
"ptr",
"try {\n ptr = 0;\n len = stream.read(buf);\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 ptr = 0;\n len = stream.read(buf);\n }",
"ptr = 0",
"ptr",
"0",
"len = stream.read(buf)",
"len",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (len == -1) return -1;",
"len == -1",
"len",
"-1",
"1",
"return -1;",
"-1",
"1",
"return buf[ptr++];",
"buf[ptr++]",
"buf",
"ptr++",
"ptr",
"private void skip() {\n int b;\n while (isTokenSeparator(b = read()) && b != -1) ;\n if (b == -1) throw new NoSuchElementException(\"EOF\");\n ptr--;\n }",
"skip",
"{\n int b;\n while (isTokenSeparator(b = read()) && b != -1) ;\n if (b == -1) throw new NoSuchElementException(\"EOF\");\n ptr--;\n }",
"int b;",
"b",
"while (isTokenSeparator(b = read()) && b != -1) ;",
"isTokenSeparator(b = read()) && b != -1",
"isTokenSeparator(b = read())",
"isTokenSeparator",
"b = read()",
"b",
"read()",
"read",
"b != -1",
"b",
"-1",
"1",
"if (b == -1) throw new NoSuchElementException(\"EOF\");",
"b == -1",
"b",
"-1",
"1",
"throw new NoSuchElementException(\"EOF\");",
"new NoSuchElementException(\"EOF\")",
"ptr--",
"ptr",
"public int ints() {\n long x = longs();\n if (x < Integer.MIN_VALUE || Integer.MAX_VALUE < x) throw new NumberFormatException(\"Overflow\");\n return (int) x;\n }",
"ints",
"{\n long x = longs();\n if (x < Integer.MIN_VALUE || Integer.MAX_VALUE < x) throw new NumberFormatException(\"Overflow\");\n return (int) x;\n }",
"long x = longs();",
"x",
"longs()",
"longs",
"if (x < Integer.MIN_VALUE || Integer.MAX_VALUE < x) throw new NumberFormatException(\"Overflow\");",
"x < Integer.MIN_VALUE || Integer.MAX_VALUE < x",
"x < Integer.MIN_VALUE",
"x",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"Integer.MAX_VALUE < x",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"x",
"throw new NumberFormatException(\"Overflow\");",
"new NumberFormatException(\"Overflow\")",
"return (int) x;",
"(int) x",
"public long longs() {\n skip();\n int b = read();\n boolean negate;\n if (b == '-') {\n negate = true;\n b = read();\n } else negate = false;\n long x = 0;\n for (; !isTokenSeparator(b); b = read()) {\n if ('0' <= b && b <= '9') x = x * 10 + b - '0';\n else throw new NumberFormatException(\"Unexpected character '\" + b + \"'\");\n }\n return negate ? -x : x;\n }",
"longs",
"{\n skip();\n int b = read();\n boolean negate;\n if (b == '-') {\n negate = true;\n b = read();\n } else negate = false;\n long x = 0;\n for (; !isTokenSeparator(b); b = read()) {\n if ('0' <= b && b <= '9') x = x * 10 + b - '0';\n else throw new NumberFormatException(\"Unexpected character '\" + b + \"'\");\n }\n return negate ? -x : x;\n }",
"skip()",
"skip",
"int b = read();",
"b",
"read()",
"read",
"boolean negate;",
"negate",
"if (b == '-') {\n negate = true;\n b = read();\n } else negate = false;",
"b == '-'",
"b",
"'-'",
"{\n negate = true;\n b = read();\n }",
"negate = true",
"negate",
"true",
"b = read()",
"b",
"read()",
"read",
"negate = false",
"negate",
"false",
"long x = 0;",
"x",
"0",
"for (; !isTokenSeparator(b); b = read()) {\n if ('0' <= b && b <= '9') x = x * 10 + b - '0';\n else throw new NumberFormatException(\"Unexpected character '\" + b + \"'\");\n }",
";",
"!isTokenSeparator(b)",
"isTokenSeparator(b)",
"isTokenSeparator",
"b",
"b = read()",
"b = read()",
"b",
"read()",
"read",
"{\n if ('0' <= b && b <= '9') x = x * 10 + b - '0';\n else throw new NumberFormatException(\"Unexpected character '\" + b + \"'\");\n }",
"{\n if ('0' <= b && b <= '9') x = x * 10 + b - '0';\n else throw new NumberFormatException(\"Unexpected character '\" + b + \"'\");\n }",
"if ('0' <= b && b <= '9') x = x * 10 + b - '0';\n else throw new NumberFormatException(\"Unexpected character '\" + b + \"'\");",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"x = x * 10 + b - '0'",
"x",
"x * 10 + b - '0'",
"x * 10 + b",
"x * 10",
"x",
"10",
"b",
"'0'",
"throw new NumberFormatException(\"Unexpected character '\" + b + \"'\");",
"new NumberFormatException(\"Unexpected character '\" + b + \"'\")",
"return negate ? -x : x;",
"negate ? -x : x",
"negate",
"-x",
"x",
"x",
"public void close() {\n try {\n stream.close();\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }",
"close",
"{\n try {\n stream.close();\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }",
"try {\n stream.close();\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 stream.close();\n }",
"stream.close()",
"stream.close",
"stream",
"private static boolean isTokenSeparator(int b) {\n return b < 33 || 126 < b;\n }",
"isTokenSeparator",
"{\n return b < 33 || 126 < b;\n }",
"return b < 33 || 126 < b;",
"b < 33 || 126 < b",
"b < 33",
"b",
"33",
"126 < b",
"126",
"b",
"int b",
"b",
"LightScannerAdapter",
"static class LightWriter2 implements AutoCloseable {\n private static final int BUF_SIZE = 1024 * 1024;\n private static final int BUF_THRESHOLD = 64 * 1024;\n private final OutputStream out;\n private final byte[] buf = new byte[BUF_SIZE];\n private int ptr;\n private final Field fastStringAccess;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter2(OutputStream out) {\n this.out = out;\n Field f;\n try {\n f = String.class.getDeclaredField(\"value\");\n f.setAccessible(true);\n if (f.getType() != byte[].class) f = null;\n } catch (ReflectiveOperationException | AccessControlException ignored) {\n f = null;\n }\n this.fastStringAccess = f;\n }\n\n public LightWriter2(Writer out) {\n this.out = new LightWriter2.WriterOutputStream(out);\n this.fastStringAccess = null;\n }\n\n private void allocate(int n) {\n if (ptr + n <= BUF_SIZE) return;\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (BUF_SIZE < n) throw new IllegalArgumentException(\"Internal buffer exceeded\");\n }\n\n public void close() {\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.flush();\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n public LightWriter2 print(char c) {\n allocate(1);\n buf[ptr++] = (byte) c;\n breaked = false;\n return this;\n }\n\n public LightWriter2 print(String s) {\n byte[] bytes;\n if (this.fastStringAccess == null) bytes = s.getBytes();\n else {\n try {\n bytes = (byte[]) fastStringAccess.get(s);\n } catch (IllegalAccessException ignored) {\n bytes = s.getBytes();\n }\n }\n int n = bytes.length;\n if (n <= BUF_THRESHOLD) {\n allocate(n);\n System.arraycopy(bytes, 0, buf, ptr, n);\n ptr += n;\n return this;\n }\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.write(bytes);\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n private int print(long l) {\n if (l == 0) {\n print('0');\n return 1;\n } else if (l < 0) {\n print('-');\n l = -l;\n }\n int n = 0;\n long t = l;\n while (t > 0) {\n t /= 10;\n n++;\n }\n allocate(n);\n for (int i = 1; i <= n; i++) {\n buf[ptr + n - i] = (byte) (l % 10 + '0');\n l /= 10;\n }\n ptr += n;\n return n;\n }\n\n public LightWriter2 ans(int i) {\n if (!breaked) {\n print(' ');\n }\n breaked = false;\n print(i);\n return this;\n }\n\n public LightWriter2 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 private static class WriterOutputStream extends OutputStream {\n final Writer writer;\n final CharsetDecoder decoder;\n\n WriterOutputStream(Writer writer) {\n this.writer = writer;\n this.decoder = StandardCharsets.UTF_8.newDecoder();\n }\n\n public void write(int b) throws IOException {\n writer.write(b);\n }\n\n public void write(byte[] b) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b)).array());\n }\n\n public void write(byte[] b, int off, int len) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b, off, len)).array());\n }\n\n public void flush() throws IOException {\n writer.flush();\n }\n\n public void close() throws IOException {\n writer.close();\n }\n\n }\n\n }",
"LightWriter2",
"private static final int BUF_SIZE = 1024 * 1024;",
"BUF_SIZE",
"1024 * 1024",
"1024",
"1024",
"private static final int BUF_THRESHOLD = 64 * 1024;",
"BUF_THRESHOLD",
"64 * 1024",
"64",
"1024",
"private final OutputStream out;",
"out",
"private final byte[] buf = new byte[BUF_SIZE];",
"buf",
"new byte[BUF_SIZE]",
"BUF_SIZE",
"private int ptr;",
"ptr",
"private final Field fastStringAccess;",
"fastStringAccess",
"private boolean autoflush = false;",
"autoflush",
"false",
"private boolean breaked = true;",
"breaked",
"true",
"public LightWriter2(OutputStream out) {\n this.out = out;\n Field f;\n try {\n f = String.class.getDeclaredField(\"value\");\n f.setAccessible(true);\n if (f.getType() != byte[].class) f = null;\n } catch (ReflectiveOperationException | AccessControlException ignored) {\n f = null;\n }\n this.fastStringAccess = f;\n }",
"LightWriter2",
"{\n this.out = out;\n Field f;\n try {\n f = String.class.getDeclaredField(\"value\");\n f.setAccessible(true);\n if (f.getType() != byte[].class) f = null;\n } catch (ReflectiveOperationException | AccessControlException ignored) {\n f = null;\n }\n this.fastStringAccess = f;\n }",
"this.out = out",
"this.out",
"this",
"this.out",
"out",
"Field f;",
"f",
"try {\n f = String.class.getDeclaredField(\"value\");\n f.setAccessible(true);\n if (f.getType() != byte[].class) f = null;\n } catch (ReflectiveOperationException | AccessControlException ignored) {\n f = null;\n }",
"catch (ReflectiveOperationException | AccessControlException ignored) {\n f = null;\n }",
"ReflectiveOperationException | AccessControlException ignored",
"{\n f = null;\n }",
"f = null",
"f",
"null",
"{\n f = String.class.getDeclaredField(\"value\");\n f.setAccessible(true);\n if (f.getType() != byte[].class) f = null;\n }",
"f = String.class.getDeclaredField(\"value\")",
"f",
"String.class.getDeclaredField(\"value\")",
"String.class.getDeclaredField",
"String.class",
"String.class",
"\"value\"",
"f.setAccessible(true)",
"f.setAccessible",
"f",
"true",
"if (f.getType() != byte[].class) f = null;",
"f.getType() != byte[].class",
"f.getType()",
"f.getType",
"f",
"byte[].class",
"byte[].class",
"f = null",
"f",
"null",
"this.fastStringAccess = f",
"this.fastStringAccess",
"this",
"this.fastStringAccess",
"f",
"OutputStream out",
"out",
"public LightWriter2(Writer out) {\n this.out = new LightWriter2.WriterOutputStream(out);\n this.fastStringAccess = null;\n }",
"LightWriter2",
"{\n this.out = new LightWriter2.WriterOutputStream(out);\n this.fastStringAccess = null;\n }",
"this.out = new LightWriter2.WriterOutputStream(out)",
"this.out",
"this",
"this.out",
"new LightWriter2.WriterOutputStream(out)",
"this.fastStringAccess = null",
"this.fastStringAccess",
"this",
"this.fastStringAccess",
"null",
"Writer out",
"out",
"private void allocate(int n) {\n if (ptr + n <= BUF_SIZE) return;\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (BUF_SIZE < n) throw new IllegalArgumentException(\"Internal buffer exceeded\");\n }",
"allocate",
"{\n if (ptr + n <= BUF_SIZE) return;\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (BUF_SIZE < n) throw new IllegalArgumentException(\"Internal buffer exceeded\");\n }",
"if (ptr + n <= BUF_SIZE) return;",
"ptr + n <= BUF_SIZE",
"ptr + n",
"ptr",
"n",
"BUF_SIZE",
"return;",
"try {\n out.write(buf, 0, ptr);\n ptr = 0;\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(buf, 0, ptr);\n ptr = 0;\n }",
"out.write(buf, 0, ptr)",
"out.write",
"out",
"buf",
"0",
"ptr",
"ptr = 0",
"ptr",
"0",
"if (BUF_SIZE < n) throw new IllegalArgumentException(\"Internal buffer exceeded\");",
"BUF_SIZE < n",
"BUF_SIZE",
"n",
"throw new IllegalArgumentException(\"Internal buffer exceeded\");",
"new IllegalArgumentException(\"Internal buffer exceeded\")",
"int n",
"n",
"public void close() {\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.flush();\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"close",
"{\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.flush();\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.flush();\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.write(buf, 0, ptr);\n ptr = 0;\n out.flush();\n out.close();\n }",
"out.write(buf, 0, ptr)",
"out.write",
"out",
"buf",
"0",
"ptr",
"ptr = 0",
"ptr",
"0",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"public LightWriter2 print(char c) {\n allocate(1);\n buf[ptr++] = (byte) c;\n breaked = false;\n return this;\n }",
"print",
"{\n allocate(1);\n buf[ptr++] = (byte) c;\n breaked = false;\n return this;\n }",
"allocate(1)",
"allocate",
"1",
"buf[ptr++] = (byte) c",
"buf[ptr++]",
"buf",
"ptr++",
"ptr",
"(byte) c",
"breaked = false",
"breaked",
"false",
"return this;",
"this",
"char c",
"c",
"public LightWriter2 print(String s) {\n byte[] bytes;\n if (this.fastStringAccess == null) bytes = s.getBytes();\n else {\n try {\n bytes = (byte[]) fastStringAccess.get(s);\n } catch (IllegalAccessException ignored) {\n bytes = s.getBytes();\n }\n }\n int n = bytes.length;\n if (n <= BUF_THRESHOLD) {\n allocate(n);\n System.arraycopy(bytes, 0, buf, ptr, n);\n ptr += n;\n return this;\n }\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.write(bytes);\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"print",
"{\n byte[] bytes;\n if (this.fastStringAccess == null) bytes = s.getBytes();\n else {\n try {\n bytes = (byte[]) fastStringAccess.get(s);\n } catch (IllegalAccessException ignored) {\n bytes = s.getBytes();\n }\n }\n int n = bytes.length;\n if (n <= BUF_THRESHOLD) {\n allocate(n);\n System.arraycopy(bytes, 0, buf, ptr, n);\n ptr += n;\n return this;\n }\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.write(bytes);\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"byte[] bytes;",
"bytes",
"if (this.fastStringAccess == null) bytes = s.getBytes();\n else {\n try {\n bytes = (byte[]) fastStringAccess.get(s);\n } catch (IllegalAccessException ignored) {\n bytes = s.getBytes();\n }\n }",
"this.fastStringAccess == null",
"this.fastStringAccess",
"this",
"this.fastStringAccess",
"null",
"bytes = s.getBytes()",
"bytes",
"s.getBytes()",
"s.getBytes",
"s",
"{\n try {\n bytes = (byte[]) fastStringAccess.get(s);\n } catch (IllegalAccessException ignored) {\n bytes = s.getBytes();\n }\n }",
"try {\n bytes = (byte[]) fastStringAccess.get(s);\n } catch (IllegalAccessException ignored) {\n bytes = s.getBytes();\n }",
"catch (IllegalAccessException ignored) {\n bytes = s.getBytes();\n }",
"IllegalAccessException ignored",
"{\n bytes = s.getBytes();\n }",
"bytes = s.getBytes()",
"bytes",
"s.getBytes()",
"s.getBytes",
"s",
"{\n bytes = (byte[]) fastStringAccess.get(s);\n }",
"bytes = (byte[]) fastStringAccess.get(s)",
"bytes",
"(byte[]) fastStringAccess.get(s)",
"fastStringAccess.get",
"fastStringAccess",
"s",
"int n = bytes.length;",
"n",
"bytes.length",
"bytes",
"bytes.length",
"if (n <= BUF_THRESHOLD) {\n allocate(n);\n System.arraycopy(bytes, 0, buf, ptr, n);\n ptr += n;\n return this;\n }",
"n <= BUF_THRESHOLD",
"n",
"BUF_THRESHOLD",
"{\n allocate(n);\n System.arraycopy(bytes, 0, buf, ptr, n);\n ptr += n;\n return this;\n }",
"allocate(n)",
"allocate",
"n",
"System.arraycopy(bytes, 0, buf, ptr, n)",
"System.arraycopy",
"System",
"bytes",
"0",
"buf",
"ptr",
"n",
"ptr += n",
"ptr",
"n",
"return this;",
"this",
"try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.write(bytes);\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.write(buf, 0, ptr);\n ptr = 0;\n out.write(bytes);\n out.flush();\n }",
"out.write(buf, 0, ptr)",
"out.write",
"out",
"buf",
"0",
"ptr",
"ptr = 0",
"ptr",
"0",
"out.write(bytes)",
"out.write",
"out",
"bytes",
"out.flush()",
"out.flush",
"out",
"return this;",
"this",
"String s",
"s",
"private int print(long l) {\n if (l == 0) {\n print('0');\n return 1;\n } else if (l < 0) {\n print('-');\n l = -l;\n }\n int n = 0;\n long t = l;\n while (t > 0) {\n t /= 10;\n n++;\n }\n allocate(n);\n for (int i = 1; i <= n; i++) {\n buf[ptr + n - i] = (byte) (l % 10 + '0');\n l /= 10;\n }\n ptr += n;\n return n;\n }",
"print",
"{\n if (l == 0) {\n print('0');\n return 1;\n } else if (l < 0) {\n print('-');\n l = -l;\n }\n int n = 0;\n long t = l;\n while (t > 0) {\n t /= 10;\n n++;\n }\n allocate(n);\n for (int i = 1; i <= n; i++) {\n buf[ptr + n - i] = (byte) (l % 10 + '0');\n l /= 10;\n }\n ptr += n;\n return n;\n }",
"if (l == 0) {\n print('0');\n return 1;\n } else if (l < 0) {\n print('-');\n l = -l;\n }",
"l == 0",
"l",
"0",
"{\n print('0');\n return 1;\n }",
"print('0')",
"print",
"'0'",
"return 1;",
"1",
"if (l < 0) {\n print('-');\n l = -l;\n }",
"l < 0",
"l",
"0",
"{\n print('-');\n l = -l;\n }",
"print('-')",
"print",
"'-'",
"l = -l",
"l",
"-l",
"l",
"int n = 0;",
"n",
"0",
"long t = l;",
"t",
"l",
"while (t > 0) {\n t /= 10;\n n++;\n }",
"t > 0",
"t",
"0",
"{\n t /= 10;\n n++;\n }",
"t /= 10",
"t",
"10",
"n++",
"n",
"allocate(n)",
"allocate",
"n",
"for (int i = 1; i <= n; i++) {\n buf[ptr + n - i] = (byte) (l % 10 + '0');\n l /= 10;\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= n",
"i",
"n",
"i++",
"i++",
"i",
"{\n buf[ptr + n - i] = (byte) (l % 10 + '0');\n l /= 10;\n }",
"{\n buf[ptr + n - i] = (byte) (l % 10 + '0');\n l /= 10;\n }",
"buf[ptr + n - i] = (byte) (l % 10 + '0')",
"buf[ptr + n - i]",
"buf",
"ptr + n - i",
"ptr + n",
"ptr",
"n",
"i",
"(byte) (l % 10 + '0')",
"l % 10",
"l",
"10",
"'0'",
"l /= 10",
"l",
"10",
"ptr += n",
"ptr",
"n",
"return n;",
"n",
"long l",
"l",
"public LightWriter2 ans(int i) {\n if (!breaked) {\n print(' ');\n }\n breaked = false;\n print(i);\n return this;\n }",
"ans",
"{\n if (!breaked) {\n print(' ');\n }\n breaked = false;\n print(i);\n return this;\n }",
"if (!breaked) {\n print(' ');\n }",
"!breaked",
"breaked",
"{\n print(' ');\n }",
"print(' ')",
"print",
"' '",
"breaked = false",
"breaked",
"false",
"print(i)",
"print",
"i",
"return this;",
"this",
"int i",
"i",
"public LightWriter2 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",
"private static class WriterOutputStream extends OutputStream {\n final Writer writer;\n final CharsetDecoder decoder;\n\n WriterOutputStream(Writer writer) {\n this.writer = writer;\n this.decoder = StandardCharsets.UTF_8.newDecoder();\n }\n\n public void write(int b) throws IOException {\n writer.write(b);\n }\n\n public void write(byte[] b) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b)).array());\n }\n\n public void write(byte[] b, int off, int len) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b, off, len)).array());\n }\n\n public void flush() throws IOException {\n writer.flush();\n }\n\n public void close() throws IOException {\n writer.close();\n }\n\n }",
"WriterOutputStream",
"final Writer writer;",
"writer",
"final CharsetDecoder decoder;",
"decoder",
"WriterOutputStream(Writer writer) {\n this.writer = writer;\n this.decoder = StandardCharsets.UTF_8.newDecoder();\n }",
"WriterOutputStream",
"{\n this.writer = writer;\n this.decoder = StandardCharsets.UTF_8.newDecoder();\n }",
"this.writer = writer",
"this.writer",
"this",
"this.writer",
"writer",
"this.decoder = StandardCharsets.UTF_8.newDecoder()",
"this.decoder",
"this",
"this.decoder",
"StandardCharsets.UTF_8.newDecoder()",
"StandardCharsets.UTF_8.newDecoder",
"StandardCharsets.UTF_8",
"StandardCharsets",
"StandardCharsets.UTF_8",
"Writer writer",
"writer",
"public void write(int b) throws IOException {\n writer.write(b);\n }",
"write",
"{\n writer.write(b);\n }",
"writer.write(b)",
"writer.write",
"writer",
"b",
"int b",
"b",
"public void write(byte[] b) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b)).array());\n }",
"write",
"{\n writer.write(decoder.decode(ByteBuffer.wrap(b)).array());\n }",
"writer.write(decoder.decode(ByteBuffer.wrap(b)).array())",
"writer.write",
"writer",
"decoder.decode(ByteBuffer.wrap(b)).array()",
"decoder.decode(ByteBuffer.wrap(b)).array",
"decoder.decode(ByteBuffer.wrap(b))",
"decoder.decode",
"decoder",
"ByteBuffer.wrap(b)",
"ByteBuffer.wrap",
"ByteBuffer",
"b",
"byte[] b",
"b",
"public void write(byte[] b, int off, int len) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b, off, len)).array());\n }",
"write",
"{\n writer.write(decoder.decode(ByteBuffer.wrap(b, off, len)).array());\n }",
"writer.write(decoder.decode(ByteBuffer.wrap(b, off, len)).array())",
"writer.write",
"writer",
"decoder.decode(ByteBuffer.wrap(b, off, len)).array()",
"decoder.decode(ByteBuffer.wrap(b, off, len)).array",
"decoder.decode(ByteBuffer.wrap(b, off, len))",
"decoder.decode",
"decoder",
"ByteBuffer.wrap(b, off, len)",
"ByteBuffer.wrap",
"ByteBuffer",
"b",
"off",
"len",
"byte[] b",
"b",
"int off",
"off",
"int len",
"len",
"public void flush() throws IOException {\n writer.flush();\n }",
"flush",
"{\n writer.flush();\n }",
"writer.flush()",
"writer.flush",
"writer",
"public void close() throws IOException {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"OutputStream",
"AutoCloseable",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner2 in = new LightScanner2(inputStream);\n LightWriter2 out = new LightWriter2(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ANot {\n public void solve(int testNumber, LightScanner2 in, LightWriter2 out) {\n out.ans(1 - in.ints()).ln();\n }\n\n }\n\n static abstract class LightScannerAdapter implements AutoCloseable {\n public abstract void close();\n\n }\n\n static class LightScanner2 extends LightScannerAdapter {\n private static final int BUF_SIZE = 1024 * 1024;\n private final InputStream stream;\n private final byte[] buf = new byte[BUF_SIZE];\n private int ptr;\n private int len;\n\n public LightScanner2(InputStream stream) {\n this.stream = stream;\n }\n\n private int read() {\n if (ptr < len) return buf[ptr++];\n try {\n ptr = 0;\n len = stream.read(buf);\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (len == -1) return -1;\n return buf[ptr++];\n }\n\n private void skip() {\n int b;\n while (isTokenSeparator(b = read()) && b != -1) ;\n if (b == -1) throw new NoSuchElementException(\"EOF\");\n ptr--;\n }\n\n public int ints() {\n long x = longs();\n if (x < Integer.MIN_VALUE || Integer.MAX_VALUE < x) throw new NumberFormatException(\"Overflow\");\n return (int) x;\n }\n\n public long longs() {\n skip();\n int b = read();\n boolean negate;\n if (b == '-') {\n negate = true;\n b = read();\n } else negate = false;\n long x = 0;\n for (; !isTokenSeparator(b); b = read()) {\n if ('0' <= b && b <= '9') x = x * 10 + b - '0';\n else throw new NumberFormatException(\"Unexpected character '\" + b + \"'\");\n }\n return negate ? -x : x;\n }\n\n public void close() {\n try {\n stream.close();\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n\n private static boolean isTokenSeparator(int b) {\n return b < 33 || 126 < b;\n }\n\n }\n\n static class LightWriter2 implements AutoCloseable {\n private static final int BUF_SIZE = 1024 * 1024;\n private static final int BUF_THRESHOLD = 64 * 1024;\n private final OutputStream out;\n private final byte[] buf = new byte[BUF_SIZE];\n private int ptr;\n private final Field fastStringAccess;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter2(OutputStream out) {\n this.out = out;\n Field f;\n try {\n f = String.class.getDeclaredField(\"value\");\n f.setAccessible(true);\n if (f.getType() != byte[].class) f = null;\n } catch (ReflectiveOperationException | AccessControlException ignored) {\n f = null;\n }\n this.fastStringAccess = f;\n }\n\n public LightWriter2(Writer out) {\n this.out = new LightWriter2.WriterOutputStream(out);\n this.fastStringAccess = null;\n }\n\n private void allocate(int n) {\n if (ptr + n <= BUF_SIZE) return;\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (BUF_SIZE < n) throw new IllegalArgumentException(\"Internal buffer exceeded\");\n }\n\n public void close() {\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.flush();\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n public LightWriter2 print(char c) {\n allocate(1);\n buf[ptr++] = (byte) c;\n breaked = false;\n return this;\n }\n\n public LightWriter2 print(String s) {\n byte[] bytes;\n if (this.fastStringAccess == null) bytes = s.getBytes();\n else {\n try {\n bytes = (byte[]) fastStringAccess.get(s);\n } catch (IllegalAccessException ignored) {\n bytes = s.getBytes();\n }\n }\n int n = bytes.length;\n if (n <= BUF_THRESHOLD) {\n allocate(n);\n System.arraycopy(bytes, 0, buf, ptr, n);\n ptr += n;\n return this;\n }\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.write(bytes);\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n private int print(long l) {\n if (l == 0) {\n print('0');\n return 1;\n } else if (l < 0) {\n print('-');\n l = -l;\n }\n int n = 0;\n long t = l;\n while (t > 0) {\n t /= 10;\n n++;\n }\n allocate(n);\n for (int i = 1; i <= n; i++) {\n buf[ptr + n - i] = (byte) (l % 10 + '0');\n l /= 10;\n }\n ptr += n;\n return n;\n }\n\n public LightWriter2 ans(int i) {\n if (!breaked) {\n print(' ');\n }\n breaked = false;\n print(i);\n return this;\n }\n\n public LightWriter2 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 private static class WriterOutputStream extends OutputStream {\n final Writer writer;\n final CharsetDecoder decoder;\n\n WriterOutputStream(Writer writer) {\n this.writer = writer;\n this.decoder = StandardCharsets.UTF_8.newDecoder();\n }\n\n public void write(int b) throws IOException {\n writer.write(b);\n }\n\n public void write(byte[] b) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b)).array());\n }\n\n public void write(byte[] b, int off, int len) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b, off, len)).array());\n }\n\n public void flush() throws IOException {\n writer.flush();\n }\n\n public void close() throws IOException {\n writer.close();\n }\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 LightScanner2 in = new LightScanner2(inputStream);\n LightWriter2 out = new LightWriter2(outputStream);\n ANot solver = new ANot();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ANot {\n public void solve(int testNumber, LightScanner2 in, LightWriter2 out) {\n out.ans(1 - in.ints()).ln();\n }\n\n }\n\n static abstract class LightScannerAdapter implements AutoCloseable {\n public abstract void close();\n\n }\n\n static class LightScanner2 extends LightScannerAdapter {\n private static final int BUF_SIZE = 1024 * 1024;\n private final InputStream stream;\n private final byte[] buf = new byte[BUF_SIZE];\n private int ptr;\n private int len;\n\n public LightScanner2(InputStream stream) {\n this.stream = stream;\n }\n\n private int read() {\n if (ptr < len) return buf[ptr++];\n try {\n ptr = 0;\n len = stream.read(buf);\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (len == -1) return -1;\n return buf[ptr++];\n }\n\n private void skip() {\n int b;\n while (isTokenSeparator(b = read()) && b != -1) ;\n if (b == -1) throw new NoSuchElementException(\"EOF\");\n ptr--;\n }\n\n public int ints() {\n long x = longs();\n if (x < Integer.MIN_VALUE || Integer.MAX_VALUE < x) throw new NumberFormatException(\"Overflow\");\n return (int) x;\n }\n\n public long longs() {\n skip();\n int b = read();\n boolean negate;\n if (b == '-') {\n negate = true;\n b = read();\n } else negate = false;\n long x = 0;\n for (; !isTokenSeparator(b); b = read()) {\n if ('0' <= b && b <= '9') x = x * 10 + b - '0';\n else throw new NumberFormatException(\"Unexpected character '\" + b + \"'\");\n }\n return negate ? -x : x;\n }\n\n public void close() {\n try {\n stream.close();\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n\n private static boolean isTokenSeparator(int b) {\n return b < 33 || 126 < b;\n }\n\n }\n\n static class LightWriter2 implements AutoCloseable {\n private static final int BUF_SIZE = 1024 * 1024;\n private static final int BUF_THRESHOLD = 64 * 1024;\n private final OutputStream out;\n private final byte[] buf = new byte[BUF_SIZE];\n private int ptr;\n private final Field fastStringAccess;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter2(OutputStream out) {\n this.out = out;\n Field f;\n try {\n f = String.class.getDeclaredField(\"value\");\n f.setAccessible(true);\n if (f.getType() != byte[].class) f = null;\n } catch (ReflectiveOperationException | AccessControlException ignored) {\n f = null;\n }\n this.fastStringAccess = f;\n }\n\n public LightWriter2(Writer out) {\n this.out = new LightWriter2.WriterOutputStream(out);\n this.fastStringAccess = null;\n }\n\n private void allocate(int n) {\n if (ptr + n <= BUF_SIZE) return;\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n if (BUF_SIZE < n) throw new IllegalArgumentException(\"Internal buffer exceeded\");\n }\n\n public void close() {\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.flush();\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n public LightWriter2 print(char c) {\n allocate(1);\n buf[ptr++] = (byte) c;\n breaked = false;\n return this;\n }\n\n public LightWriter2 print(String s) {\n byte[] bytes;\n if (this.fastStringAccess == null) bytes = s.getBytes();\n else {\n try {\n bytes = (byte[]) fastStringAccess.get(s);\n } catch (IllegalAccessException ignored) {\n bytes = s.getBytes();\n }\n }\n int n = bytes.length;\n if (n <= BUF_THRESHOLD) {\n allocate(n);\n System.arraycopy(bytes, 0, buf, ptr, n);\n ptr += n;\n return this;\n }\n try {\n out.write(buf, 0, ptr);\n ptr = 0;\n out.write(bytes);\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n private int print(long l) {\n if (l == 0) {\n print('0');\n return 1;\n } else if (l < 0) {\n print('-');\n l = -l;\n }\n int n = 0;\n long t = l;\n while (t > 0) {\n t /= 10;\n n++;\n }\n allocate(n);\n for (int i = 1; i <= n; i++) {\n buf[ptr + n - i] = (byte) (l % 10 + '0');\n l /= 10;\n }\n ptr += n;\n return n;\n }\n\n public LightWriter2 ans(int i) {\n if (!breaked) {\n print(' ');\n }\n breaked = false;\n print(i);\n return this;\n }\n\n public LightWriter2 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 private static class WriterOutputStream extends OutputStream {\n final Writer writer;\n final CharsetDecoder decoder;\n\n WriterOutputStream(Writer writer) {\n this.writer = writer;\n this.decoder = StandardCharsets.UTF_8.newDecoder();\n }\n\n public void write(int b) throws IOException {\n writer.write(b);\n }\n\n public void write(byte[] b) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b)).array());\n }\n\n public void write(byte[] b, int off, int len) throws IOException {\n writer.write(decoder.decode(ByteBuffer.wrap(b, off, len)).array());\n }\n\n public void flush() throws IOException {\n writer.flush();\n }\n\n public void close() throws IOException {\n writer.close();\n }\n\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.CharBuffer;
import java.io.IOException;
import java.nio.charset.CharsetDecoder;
import java.lang.reflect.Field;
import java.nio.charset.StandardCharsets;
import java.nio.ByteBuffer;
import java.io.UncheckedIOException;
import java.nio.charset.Charset;
import java.security.AccessControlException;
import java.io.Writer;
import java.util.NoSuchElementException;
import java.io.InputStream;
/**
* Built using CHelper reloaded 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;
LightScanner2 in = new LightScanner2(inputStream);
LightWriter2 out = new LightWriter2(outputStream);
ANot solver = new ANot();
solver.solve(1, in, out);
out.close();
}
static class ANot {
public void solve(int testNumber, LightScanner2 in, LightWriter2 out) {
out.ans(1 - in.ints()).ln();
}
}
static abstract class LightScannerAdapter implements AutoCloseable {
public abstract void close();
}
static class LightScanner2 extends LightScannerAdapter {
private static final int BUF_SIZE = 1024 * 1024;
private final InputStream stream;
private final byte[] buf = new byte[BUF_SIZE];
private int ptr;
private int len;
public LightScanner2(InputStream stream) {
this.stream = stream;
}
private int read() {
if (ptr < len) return buf[ptr++];
try {
ptr = 0;
len = stream.read(buf);
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
if (len == -1) return -1;
return buf[ptr++];
}
private void skip() {
int b;
while (isTokenSeparator(b = read()) && b != -1) ;
if (b == -1) throw new NoSuchElementException("EOF");
ptr--;
}
public int ints() {
long x = longs();
if (x < Integer.MIN_VALUE || Integer.MAX_VALUE < x) throw new NumberFormatException("Overflow");
return (int) x;
}
public long longs() {
skip();
int b = read();
boolean negate;
if (b == '-') {
negate = true;
b = read();
} else negate = false;
long x = 0;
for (; !isTokenSeparator(b); b = read()) {
if ('0' <= b && b <= '9') x = x * 10 + b - '0';
else throw new NumberFormatException("Unexpected character '" + b + "'");
}
return negate ? -x : x;
}
public void close() {
try {
stream.close();
} catch (IOException e) {
throw new UncheckedIOException(e);
}
}
private static boolean isTokenSeparator(int b) {
return b < 33 || 126 < b;
}
}
static class LightWriter2 implements AutoCloseable {
private static final int BUF_SIZE = 1024 * 1024;
private static final int BUF_THRESHOLD = 64 * 1024;
private final OutputStream out;
private final byte[] buf = new byte[BUF_SIZE];
private int ptr;
private final Field fastStringAccess;
private boolean autoflush = false;
private boolean breaked = true;
public LightWriter2(OutputStream out) {
this.out = out;
Field f;
try {
f = String.class.getDeclaredField("value");
f.setAccessible(true);
if (f.getType() != byte[].class) f = null;
} catch (ReflectiveOperationException | AccessControlException ignored) {
f = null;
}
this.fastStringAccess = f;
}
public LightWriter2(Writer out) {
this.out = new LightWriter2.WriterOutputStream(out);
this.fastStringAccess = null;
}
private void allocate(int n) {
if (ptr + n <= BUF_SIZE) return;
try {
out.write(buf, 0, ptr);
ptr = 0;
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
if (BUF_SIZE < n) throw new IllegalArgumentException("Internal buffer exceeded");
}
public void close() {
try {
out.write(buf, 0, ptr);
ptr = 0;
out.flush();
out.close();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
public LightWriter2 print(char c) {
allocate(1);
buf[ptr++] = (byte) c;
breaked = false;
return this;
}
public LightWriter2 print(String s) {
byte[] bytes;
if (this.fastStringAccess == null) bytes = s.getBytes();
else {
try {
bytes = (byte[]) fastStringAccess.get(s);
} catch (IllegalAccessException ignored) {
bytes = s.getBytes();
}
}
int n = bytes.length;
if (n <= BUF_THRESHOLD) {
allocate(n);
System.arraycopy(bytes, 0, buf, ptr, n);
ptr += n;
return this;
}
try {
out.write(buf, 0, ptr);
ptr = 0;
out.write(bytes);
out.flush();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
return this;
}
private int print(long l) {
if (l == 0) {
print('0');
return 1;
} else if (l < 0) {
print('-');
l = -l;
}
int n = 0;
long t = l;
while (t > 0) {
t /= 10;
n++;
}
allocate(n);
for (int i = 1; i <= n; i++) {
buf[ptr + n - i] = (byte) (l % 10 + '0');
l /= 10;
}
ptr += n;
return n;
}
public LightWriter2 ans(int i) {
if (!breaked) {
print(' ');
}
breaked = false;
print(i);
return this;
}
public LightWriter2 ln() {
print(System.lineSeparator());
breaked = true;
if (autoflush) {
try {
out.flush();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
return this;
}
private static class WriterOutputStream extends OutputStream {
final Writer writer;
final CharsetDecoder decoder;
WriterOutputStream(Writer writer) {
this.writer = writer;
this.decoder = StandardCharsets.UTF_8.newDecoder();
}
public void write(int b) throws IOException {
writer.write(b);
}
public void write(byte[] b) throws IOException {
writer.write(decoder.decode(ByteBuffer.wrap(b)).array());
}
public void write(byte[] b, int off, int len) throws IOException {
writer.write(decoder.decode(ByteBuffer.wrap(b, off, len)).array());
}
public void flush() throws IOException {
writer.flush();
}
public void close() throws IOException {
writer.close();
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
17,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
33,
5
],
[
33,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
24,
29
],
[
6,
30
],
[
30,
31
],
[
0,
32
],
[
32,
33
],
[
32,
34
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\n\n\t\t\tint x = scan.nextInt();\n\n\t\t\tSystem.out.println(x==0?1:0);\n\t\t}\n\n\n\t}\n\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\n\n\t\t\tint x = scan.nextInt();\n\n\t\t\tSystem.out.println(x==0?1:0);\n\t\t}\n\n\n\t}\n\n\n}",
"Main",
"public static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\n\n\t\t\tint x = scan.nextInt();\n\n\t\t\tSystem.out.println(x==0?1:0);\n\t\t}\n\n\n\t}",
"main",
"{\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\n\n\t\t\tint x = scan.nextInt();\n\n\t\t\tSystem.out.println(x==0?1:0);\n\t\t}\n\n\n\t}",
"try(Scanner scan = new Scanner(System.in)){\n\n\n\t\t\tint x = scan.nextInt();\n\n\t\t\tSystem.out.println(x==0?1:0);\n\t\t}",
"{\n\n\n\t\t\tint x = scan.nextInt();\n\n\t\t\tSystem.out.println(x==0?1:0);\n\t\t}",
"Scanner scan = new Scanner(System.in)",
"Scanner scan = new Scanner(System.in)",
"new Scanner(System.in)",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println(x==0?1:0)",
"System.out.println",
"System.out",
"System",
"System.out",
"x==0?1:0",
"x==0",
"x",
"0",
"1",
"0",
"String[]args",
"args",
"public class Main {\n\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\n\n\t\t\tint x = scan.nextInt();\n\n\t\t\tSystem.out.println(x==0?1:0);\n\t\t}\n\n\n\t}\n\n\n}",
"public class Main {\n\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\n\n\t\t\tint x = scan.nextInt();\n\n\t\t\tSystem.out.println(x==0?1:0);\n\t\t}\n\n\n\t}\n\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[]args) {
try(Scanner scan = new Scanner(System.in)){
int x = scan.nextInt();
System.out.println(x==0?1:0);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
42,
11
],
[
42,
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
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
12,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint x = in.nextInt();\n\t\tif (x == 0)\n\t\t\tSystem.out.println(1);\n\t\telse\n\t\t\tSystem.out.println(0);\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint x = in.nextInt();\n\t\tif (x == 0)\n\t\t\tSystem.out.println(1);\n\t\telse\n\t\t\tSystem.out.println(0);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint x = in.nextInt();\n\t\tif (x == 0)\n\t\t\tSystem.out.println(1);\n\t\telse\n\t\t\tSystem.out.println(0);\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint x = in.nextInt();\n\t\tif (x == 0)\n\t\t\tSystem.out.println(1);\n\t\telse\n\t\t\tSystem.out.println(0);\n\t}",
"Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"in",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"if (x == 0)\n\t\t\tSystem.out.println(1);\n\t\telse\n\t\t\tSystem.out.println(0);",
"x == 0",
"x",
"0",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint x = in.nextInt();\n\t\tif (x == 0)\n\t\t\tSystem.out.println(1);\n\t\telse\n\t\t\tSystem.out.println(0);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint x = in.nextInt();\n\t\tif (x == 0)\n\t\t\tSystem.out.println(1);\n\t\telse\n\t\t\tSystem.out.println(0);\n\t}\n\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
int x = in.nextInt();
if (x == 0)
System.out.println(1);
else
System.out.println(0);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
28,
5
],
[
28,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
6,
25
],
[
25,
26
],
[
0,
27
],
[
27,
28
],
[
27,
29
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//入力値取得\n\t\tint S = scan.nextInt();\n\n\t\t//結果出力\n\t\tSystem.out.println(S ^ 1);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//入力値取得\n\t\tint S = scan.nextInt();\n\n\t\t//結果出力\n\t\tSystem.out.println(S ^ 1);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//入力値取得\n\t\tint S = scan.nextInt();\n\n\t\t//結果出力\n\t\tSystem.out.println(S ^ 1);\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//入力値取得\n\t\tint S = scan.nextInt();\n\n\t\t//結果出力\n\t\tSystem.out.println(S ^ 1);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int S = scan.nextInt();",
"S",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println(S ^ 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"S ^ 1",
"S",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//入力値取得\n\t\tint S = scan.nextInt();\n\n\t\t//結果出力\n\t\tSystem.out.println(S ^ 1);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//入力値取得\n\t\tint S = scan.nextInt();\n\n\t\t//結果出力\n\t\tSystem.out.println(S ^ 1);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
//入力値取得
int S = scan.nextInt();
//結果出力
System.out.println(S ^ 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,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
4,
18,
13,
8,
2,
13,
17,
17,
17,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
13,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
13,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
13,
4,
13,
29,
13,
23,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
],
[
0,
64
],
[
616,
65
],
[
616,
66
],
[
66,
67
],
[
616,
68
],
[
68,
69
],
[
616,
70
],
[
70,
71
],
[
616,
72
],
[
72,
73
],
[
72,
74
],
[
616,
75
],
[
75,
76
],
[
75,
77
],
[
616,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
80,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
78,
92
],
[
92,
93
],
[
616,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
96,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
104,
109
],
[
616,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
616,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
129,
130
],
[
129,
131
],
[
124,
132
],
[
132,
133
],
[
133,
134
],
[
124,
135
],
[
136,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
119,
143
],
[
143,
144
],
[
117,
145
],
[
145,
146
],
[
616,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
155,
160
],
[
160,
161
],
[
160,
162
],
[
155,
163
],
[
163,
164
],
[
164,
165
],
[
155,
166
],
[
167,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
168,
173
],
[
173,
174
],
[
173,
175
],
[
168,
176
],
[
176,
177
],
[
177,
178
],
[
168,
179
],
[
180,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
181,
187
],
[
187,
188
],
[
149,
189
],
[
189,
190
],
[
147,
191
],
[
191,
192
],
[
147,
193
],
[
193,
194
],
[
616,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
616,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
209,
214
],
[
214,
215
],
[
214,
216
],
[
209,
217
],
[
217,
218
],
[
218,
219
],
[
209,
220
],
[
221,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
204,
228
],
[
228,
229
],
[
202,
230
],
[
230,
231
],
[
616,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
240,
245
],
[
245,
246
],
[
245,
247
],
[
240,
248
],
[
248,
249
],
[
249,
250
],
[
240,
251
],
[
252,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
253,
258
],
[
258,
259
],
[
258,
260
],
[
253,
261
],
[
261,
262
],
[
262,
263
],
[
253,
264
],
[
265,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
267,
271
],
[
266,
272
],
[
272,
273
],
[
234,
274
],
[
274,
275
],
[
232,
276
],
[
276,
277
],
[
232,
278
],
[
278,
279
],
[
616,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
616,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
289,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
294,
299
],
[
299,
300
],
[
299,
301
],
[
294,
302
],
[
302,
303
],
[
303,
304
],
[
294,
305
],
[
306,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
311
],
[
311,
312
],
[
289,
313
],
[
313,
314
],
[
287,
315
],
[
315,
316
],
[
616,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
319,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
325,
330
],
[
330,
331
],
[
330,
332
],
[
325,
333
],
[
333,
334
],
[
334,
335
],
[
325,
336
],
[
337,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
338,
343
],
[
343,
344
],
[
343,
345
],
[
338,
346
],
[
346,
347
],
[
347,
348
],
[
338,
349
],
[
350,
350
],
[
350,
351
],
[
351,
352
],
[
352,
353
],
[
353,
354
],
[
353,
355
],
[
352,
356
],
[
351,
357
],
[
357,
358
],
[
319,
359
],
[
359,
360
],
[
317,
361
],
[
361,
362
],
[
317,
363
],
[
363,
364
],
[
0,
365
],
[
365,
366
],
[
365,
367
],
[
367,
368
],
[
367,
369
],
[
369,
370
],
[
369,
371
],
[
365,
372
],
[
372,
373
],
[
372,
374
],
[
365,
376
],
[
376,
377
],
[
376,
378
],
[
365,
379
],
[
379,
380
],
[
379,
381
],
[
365,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
386,
388
],
[
385,
389
],
[
389,
390
],
[
390,
391
],
[
385,
392
],
[
392,
393
],
[
393,
394
],
[
393,
395
],
[
392,
396
],
[
396,
397
],
[
397,
398
],
[
397,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
396,
403
],
[
403,
404
],
[
404,
405
],
[
404,
406
],
[
406,
407
],
[
407,
408
],
[
406,
409
],
[
392,
410
],
[
410,
411
],
[
411,
412
],
[
411,
413
],
[
410,
414
],
[
414,
415
],
[
415,
416
],
[
384,
417
],
[
417,
418
],
[
365,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
422,
425
],
[
425,
426
],
[
426,
427
],
[
426,
428
],
[
428,
429
],
[
422,
430
],
[
430,
431
],
[
431,
432
],
[
365,
433
],
[
433,
434
],
[
433,
435
],
[
435,
436
],
[
436,
437
],
[
437,
438
],
[
438,
439
],
[
438,
440
],
[
437,
441
],
[
441,
442
],
[
441,
443
],
[
433,
444
],
[
444,
445
],
[
365,
446
],
[
446,
447
],
[
446,
448
],
[
448,
449
],
[
449,
450
],
[
450,
451
],
[
451,
452
],
[
450,
453
],
[
453,
454
],
[
454,
455
],
[
454,
456
],
[
456,
457
],
[
456,
458
],
[
449,
459
],
[
459,
460
],
[
448,
461
],
[
461,
462
],
[
462,
463
],
[
365,
464
],
[
464,
465
],
[
464,
466
],
[
466,
467
],
[
467,
468
],
[
468,
469
],
[
469,
470
],
[
467,
471
],
[
471,
472
],
[
466,
473
],
[
473,
474
],
[
473,
475
],
[
466,
476
],
[
476,
477
],
[
476,
478
],
[
478,
479
],
[
466,
480
],
[
480,
481
],
[
481,
482
],
[
481,
483
],
[
480,
484
],
[
484,
485
],
[
485,
486
],
[
486,
487
],
[
485,
488
],
[
484,
489
],
[
489,
490
],
[
489,
491
],
[
491,
492
],
[
466,
493
],
[
493,
494
],
[
494,
495
],
[
495,
496
],
[
365,
497
],
[
497,
498
],
[
497,
499
],
[
499,
500
],
[
500,
501
],
[
501,
502
],
[
502,
503
],
[
500,
504
],
[
504,
505
],
[
499,
506
],
[
506,
507
],
[
506,
508
],
[
499,
509
],
[
509,
510
],
[
509,
511
],
[
499,
512
],
[
512,
513
],
[
512,
514
],
[
514,
515
],
[
499,
516
],
[
516,
517
],
[
517,
518
],
[
517,
519
],
[
516,
520
],
[
520,
521
],
[
521,
522
],
[
521,
523
],
[
520,
524
],
[
524,
525
],
[
524,
526
],
[
526,
527
],
[
499,
528
],
[
528,
529
],
[
529,
530
],
[
530,
531
],
[
530,
532
],
[
529,
533
],
[
533,
534
],
[
533,
535
],
[
528,
536
],
[
536,
537
],
[
537,
538
],
[
499,
539
],
[
539,
540
],
[
539,
541
],
[
541,
542
],
[
542,
543
],
[
543,
544
],
[
544,
545
],
[
544,
546
],
[
543,
547
],
[
547,
548
],
[
547,
549
],
[
542,
550
],
[
550,
551
],
[
551,
552
],
[
551,
553
],
[
550,
554
],
[
554,
555
],
[
554,
556
],
[
556,
557
],
[
556,
558
],
[
542,
559
],
[
559,
560
],
[
560,
561
],
[
561,
562
],
[
561,
563
],
[
563,
564
],
[
560,
565
],
[
565,
566
],
[
566,
567
],
[
566,
568
],
[
559,
569
],
[
569,
570
],
[
570,
571
],
[
571,
572
],
[
571,
573
],
[
573,
574
],
[
571,
575
],
[
559,
576
],
[
576,
577
],
[
577,
578
],
[
541,
579
],
[
579,
580
],
[
579,
581
],
[
581,
582
],
[
365,
583
],
[
583,
584
],
[
583,
585
],
[
585,
586
],
[
586,
587
],
[
586,
588
],
[
588,
589
],
[
585,
590
],
[
590,
591
],
[
591,
592
],
[
592,
593
],
[
592,
594
],
[
594,
595
],
[
594,
596
],
[
591,
597
],
[
597,
598
],
[
597,
599
],
[
599,
600
],
[
599,
601
],
[
590,
602
],
[
602,
603
],
[
585,
604
],
[
604,
605
],
[
365,
606
],
[
606,
607
],
[
606,
608
],
[
608,
609
],
[
609,
610
],
[
610,
611
],
[
611,
612
],
[
610,
613
],
[
613,
614
],
[
0,
615
],
[
615,
616
],
[
615,
617
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.net.ConnectException;\nimport java.rmi.dgc.Lease;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Deque;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.NoSuchElementException;\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.Stack;\nimport java.util.TreeMap;\nimport java.util.TreeSet;\n\nimport static java.util.Comparator.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}\n\t// ======================================================================\n\tint[] X, L, R;\n\tpublic void solve() {\n\t\tint x = ni();\n\t\tout.println(x == 0 ? 1 : 0);\n\t}\n\n\t// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);\n\t\n\t// Scanner\n\tprivate FastScanner scan = new FastScanner();\n\tint ni(){ return scan.nextInt();}\n\tint[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}\n\tint[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}\n\tlong nl(){return scan.nextLong();}\n\tlong[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}\n\tlong[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}\n\tString ns(){return scan.next();}\n\tString[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}\n\tString[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}\n}\nclass FastScanner {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] buffer = new byte[1024];\n\tprivate int ptr = 0;\n\tprivate int buflen = 0;\n\tprivate boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n\tprivate static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n\tpublic boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n\tpublic String next() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\tpublic long nextLong() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\tpublic int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) nl;\n\t}\n\tpublic double nextDouble() { return Double.parseDouble(next());}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.net.ConnectException;",
"ConnectException",
"java.net",
"import java.rmi.dgc.Lease;",
"Lease",
"java.rmi.dgc",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Deque;",
"Deque",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"import java.util.Objects;",
"Objects",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"import java.util.Stack;",
"Stack",
"java.util",
"import java.util.TreeMap;",
"TreeMap",
"java.util",
"import java.util.TreeSet;",
"TreeSet",
"java.util",
"import static java.util.Comparator.*;",
"import static java.util.Comparator.*;",
"import static java.util.Comparator.*;",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}\n\t// ======================================================================\n\tint[] X, L, R;\n\tpublic void solve() {\n\t\tint x = ni();\n\t\tout.println(x == 0 ? 1 : 0);\n\t}\n\n\t// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);\n\t\n\t// Scanner\n\tprivate FastScanner scan = new FastScanner();\n\tint ni(){ return scan.nextInt();}\n\tint[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}\n\tint[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}\n\tlong nl(){return scan.nextLong();}\n\tlong[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}\n\tlong[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}\n\tString ns(){return scan.next();}\n\tString[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}\n\tString[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}\n}",
"Main",
"// ======================================================================\n\tint[] X",
"X",
"L",
"L",
"R;",
"R",
"// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"// Scanner\n\tprivate FastScanner scan = new FastScanner();",
"scan",
"new FastScanner()",
"public static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}",
"main",
"{\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}",
"Main main = new Main();",
"main",
"new Main()",
"main.solve()",
"main.solve",
"main",
"main.out.close()",
"main.out.close",
"main.out",
"main",
"main.out",
"String[] args",
"args",
"public void solve() {\n\t\tint x = ni();\n\t\tout.println(x == 0 ? 1 : 0);\n\t}",
"solve",
"{\n\t\tint x = ni();\n\t\tout.println(x == 0 ? 1 : 0);\n\t}",
"int x = ni();",
"x",
"ni()",
"ni",
"out.println(x == 0 ? 1 : 0)",
"out.println",
"out",
"x == 0 ? 1 : 0",
"x == 0",
"x",
"0",
"1",
"0",
"int ni(){ return scan.nextInt();}",
"ni",
"{ return scan.nextInt();}",
"return scan.nextInt();",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}",
"ni",
"{int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i = 0; i < n; i++){a[i] = ni();}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{a[i] = ni();}",
"{a[i] = ni();}",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"int[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}",
"ni",
"{int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}",
"int[][] a = new int[y][x];",
"a",
"new int[y][x]",
"y",
"x",
"for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < y",
"i",
"y",
"i++",
"i++",
"i",
"{for(int j = 0; j < x; j++){a[i][j] = ni();}}",
"{for(int j = 0; j < x; j++){a[i][j] = ni();}}",
"for(int j = 0; j < x; j++){a[i][j] = ni();}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < x",
"j",
"x",
"j++",
"j++",
"j",
"{a[i][j] = ni();}",
"{a[i][j] = ni();}",
"a[i][j] = ni()",
"a[i][j]",
"a[i]",
"a",
"i",
"j",
"ni()",
"ni",
"return a;",
"a",
"int y",
"y",
"int x",
"x",
"long nl(){return scan.nextLong();}",
"nl",
"{return scan.nextLong();}",
"return scan.nextLong();",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}",
"nl",
"{long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for(int i = 0; i < n; i++){a[i] = nl();}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{a[i] = nl();}",
"{a[i] = nl();}",
"a[i] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"long[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}",
"nl",
"{long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}",
"long[][] a = new long[y][x];",
"a",
"new long[y][x]",
"y",
"x",
"for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < y",
"i",
"y",
"i++",
"i++",
"i",
"{for(int j = 0; j < x; j++){a[i][j] = nl();}}",
"{for(int j = 0; j < x; j++){a[i][j] = nl();}}",
"for(int j = 0; j < x; j++){a[i][j] = nl();}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < x",
"j",
"x",
"j++",
"j++",
"j",
"{a[i][j] = nl();}",
"{a[i][j] = nl();}",
"a[i][j] = nl()",
"a[i][j]",
"a[i]",
"a",
"i",
"j",
"nl()",
"nl",
"return a;",
"a",
"int y",
"y",
"int x",
"x",
"String ns(){return scan.next();}",
"ns",
"{return scan.next();}",
"return scan.next();",
"scan.next()",
"scan.next",
"scan",
"String[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}",
"ns",
"{String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}",
"String[] a = new String[n];",
"a",
"new String[n]",
"n",
"for(int i = 0; i < n; i++){a[i] = ns();}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{a[i] = ns();}",
"{a[i] = ns();}",
"a[i] = ns()",
"a[i]",
"a",
"i",
"ns()",
"ns",
"return a;",
"a",
"int n",
"n",
"String[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}",
"ns",
"{String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}",
"String[][] a = new String[y][x];",
"a",
"new String[y][x]",
"y",
"x",
"for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < y",
"i",
"y",
"i++",
"i++",
"i",
"{for(int j = 0; j < x; j++){a[i][j] = ns();}}",
"{for(int j = 0; j < x; j++){a[i][j] = ns();}}",
"for(int j = 0; j < x; j++){a[i][j] = ns();}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < x",
"j",
"x",
"j++",
"j++",
"j",
"{a[i][j] = ns();}",
"{a[i][j] = ns();}",
"a[i][j] = ns()",
"a[i][j]",
"a[i]",
"a",
"i",
"j",
"ns()",
"ns",
"return a;",
"a",
"int y",
"y",
"int x",
"x",
"class FastScanner {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] buffer = new byte[1024];\n\tprivate int ptr = 0;\n\tprivate int buflen = 0;\n\tprivate boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n\tprivate static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n\tpublic boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n\tpublic String next() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\tpublic long nextLong() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\tpublic int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) nl;\n\t}\n\tpublic double nextDouble() { return Double.parseDouble(next());}\n}",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"hasNextByte",
"{\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"if (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"ptr < buflen",
"ptr",
"buflen",
"{\n\t\t\treturn true;\n\t\t}",
"return true;",
"true",
"{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"ptr = 0",
"ptr",
"0",
"try {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t}",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}",
"buflen <= 0",
"buflen",
"0",
"{\n\t\t\t\treturn false;\n\t\t\t}",
"return false;",
"false",
"return true;",
"true",
"private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"readByte",
"{ if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"if (hasNextByte()) return buffer[ptr++]; else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}",
"isPrintableChar",
"{ return 33 <= c && c <= 126;}",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"hasNext",
"{ while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}",
"next",
"{\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}",
"nextLong",
"{\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}",
"b == '-'",
"b",
"'-'",
"{\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}",
"true",
"{\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}",
"if ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) nl;\n\t}",
"nextInt",
"{\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) nl;\n\t}",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public double nextDouble() { return Double.parseDouble(next());}",
"nextDouble",
"{ return Double.parseDouble(next());}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}\n\t// ======================================================================\n\tint[] X, L, R;\n\tpublic void solve() {\n\t\tint x = ni();\n\t\tout.println(x == 0 ? 1 : 0);\n\t}\n\n\t// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);\n\t\n\t// Scanner\n\tprivate FastScanner scan = new FastScanner();\n\tint ni(){ return scan.nextInt();}\n\tint[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}\n\tint[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}\n\tlong nl(){return scan.nextLong();}\n\tlong[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}\n\tlong[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}\n\tString ns(){return scan.next();}\n\tString[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}\n\tString[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}\n\t// ======================================================================\n\tint[] X, L, R;\n\tpublic void solve() {\n\t\tint x = ni();\n\t\tout.println(x == 0 ? 1 : 0);\n\t}\n\n\t// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);\n\t\n\t// Scanner\n\tprivate FastScanner scan = new FastScanner();\n\tint ni(){ return scan.nextInt();}\n\tint[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}\n\tint[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}\n\tlong nl(){return scan.nextLong();}\n\tlong[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}\n\tlong[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}\n\tString ns(){return scan.next();}\n\tString[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}\n\tString[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}\n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.net.ConnectException;
import java.rmi.dgc.Lease;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Deque;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Objects;
import java.util.Set;
import java.util.Stack;
import java.util.TreeMap;
import java.util.TreeSet;
import static java.util.Comparator.*;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.solve();
main.out.close();
}
// ======================================================================
int[] X, L, R;
public void solve() {
int x = ni();
out.println(x == 0 ? 1 : 0);
}
// ------------------------------------------
// ライブラリ
// ------------------------------------------
// Print
private PrintWriter out = new PrintWriter(System.out);
// Scanner
private FastScanner scan = new FastScanner();
int ni(){ return scan.nextInt();}
int[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}
int[][] ni(int y, int x){int[][] a = new int[y][x];
for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}
long nl(){return scan.nextLong();}
long[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}
long[][] nl(int y, int x){long[][] a = new long[y][x];
for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}
String ns(){return scan.next();}
String[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}
String[][] ns(int y, int x){String[][] a = new String[y][x];
for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}
}
class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
}else{
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}
private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}
public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}
public String next() {
if (!hasNext()) throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while(isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext()) throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while(true){
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
}else if(b == -1 || !isPrintableChar(b)){
return minus ? -n : n;
}else{
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();
return (int) nl;
}
public double nextDouble() { return Double.parseDouble(next());}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
2,
17,
13,
23,
13,
12,
13,
30,
4,
18,
20,
2,
2,
18,
13,
13,
17,
4,
18,
18,
13,
17,
17,
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,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
4,
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,
18,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
13,
17,
41,
13,
2,
4,
13,
17,
4,
18,
4,
18,
13,
13,
13,
4,
18,
4,
18,
13,
13,
13,
29,
13,
23,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
17,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
14,
13,
30,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
4,
18,
13,
13,
14,
13,
30,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
14,
13,
30,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
14,
13,
30,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
513,
32
],
[
513,
33
],
[
33,
34
],
[
33,
35
],
[
513,
36
],
[
36,
37
],
[
36,
38
],
[
513,
39
],
[
39,
40
],
[
39,
41
],
[
513,
42
],
[
42,
43
],
[
42,
44
],
[
513,
45
],
[
45,
46
],
[
45,
47
],
[
513,
48
],
[
48,
49
],
[
48,
50
],
[
513,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
51,
65
],
[
65,
66
],
[
513,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
69,
85
],
[
85,
86
],
[
86,
87
],
[
67,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
90,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
105,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
99,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
90,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
129,
130
],
[
90,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
138,
139
],
[
90,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
144,
147
],
[
147,
148
],
[
90,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
90,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
165,
170
],
[
170,
171
],
[
170,
172
],
[
165,
173
],
[
173,
174
],
[
174,
175
],
[
165,
176
],
[
177,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
159,
186
],
[
186,
187
],
[
157,
188
],
[
188,
189
],
[
157,
190
],
[
190,
191
],
[
90,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
199,
204
],
[
204,
205
],
[
204,
206
],
[
199,
207
],
[
207,
208
],
[
208,
209
],
[
199,
210
],
[
211,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
216,
217
],
[
194,
218
],
[
218,
219
],
[
192,
220
],
[
220,
221
],
[
90,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
229,
234
],
[
234,
235
],
[
234,
236
],
[
229,
237
],
[
237,
238
],
[
238,
239
],
[
229,
240
],
[
241,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
247,
248
],
[
246,
249
],
[
249,
250
],
[
224,
251
],
[
251,
252
],
[
222,
253
],
[
253,
254
],
[
222,
255
],
[
255,
256
],
[
90,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
264,
269
],
[
269,
270
],
[
269,
271
],
[
264,
272
],
[
272,
273
],
[
273,
274
],
[
264,
275
],
[
276,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
281,
282
],
[
259,
283
],
[
283,
284
],
[
257,
285
],
[
285,
286
],
[
90,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
289,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
294,
299
],
[
299,
300
],
[
299,
301
],
[
294,
302
],
[
302,
303
],
[
303,
304
],
[
294,
305
],
[
306,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
311
],
[
311,
312
],
[
312,
313
],
[
311,
314
],
[
314,
315
],
[
289,
316
],
[
316,
317
],
[
287,
318
],
[
318,
319
],
[
287,
320
],
[
320,
321
],
[
90,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
324,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
328,
333
],
[
333,
334
],
[
333,
335
],
[
328,
336
],
[
336,
337
],
[
337,
338
],
[
328,
339
],
[
340,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
341,
344
],
[
324,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
345,
350
],
[
350,
351
],
[
350,
352
],
[
345,
353
],
[
353,
354
],
[
354,
355
],
[
345,
356
],
[
357,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
360,
361
],
[
361,
362
],
[
360,
363
],
[
357,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
367,
368
],
[
366,
369
],
[
357,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
373,
374
],
[
372,
375
],
[
370,
376
],
[
357,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
379,
382
],
[
377,
383
],
[
324,
384
],
[
384,
385
],
[
322,
386
],
[
386,
387
],
[
322,
388
],
[
388,
389
],
[
0,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
392,
394
],
[
390,
395
],
[
395,
396
],
[
395,
397
],
[
390,
398
],
[
398,
399
],
[
398,
400
],
[
400,
401
],
[
401,
402
],
[
401,
403
],
[
400,
404
],
[
404,
405
],
[
404,
406
],
[
404,
407
],
[
408,
408
],
[
408,
409
],
[
409,
410
],
[
410,
411
],
[
409,
412
],
[
412,
413
],
[
413,
414
],
[
412,
415
],
[
400,
416
],
[
416,
417
],
[
417,
418
],
[
416,
419
],
[
400,
420
],
[
420,
421
],
[
420,
422
],
[
422,
423
],
[
423,
424
],
[
424,
425
],
[
398,
426
],
[
426,
427
],
[
390,
428
],
[
428,
429
],
[
428,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
431,
434
],
[
434,
435
],
[
435,
436
],
[
434,
437
],
[
430,
438
],
[
438,
439
],
[
438,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
428,
444
],
[
444,
445
],
[
390,
446
],
[
446,
447
],
[
446,
448
],
[
448,
449
],
[
449,
450
],
[
449,
451
],
[
448,
452
],
[
452,
453
],
[
452,
454
],
[
452,
455
],
[
456,
456
],
[
456,
457
],
[
457,
458
],
[
458,
459
],
[
457,
460
],
[
460,
461
],
[
461,
462
],
[
460,
463
],
[
448,
464
],
[
464,
465
],
[
465,
466
],
[
464,
467
],
[
448,
468
],
[
468,
469
],
[
468,
470
],
[
470,
471
],
[
471,
472
],
[
472,
473
],
[
446,
474
],
[
474,
475
],
[
390,
476
],
[
476,
477
],
[
476,
478
],
[
478,
479
],
[
479,
480
],
[
479,
481
],
[
478,
482
],
[
482,
483
],
[
482,
484
],
[
482,
485
],
[
486,
486
],
[
486,
487
],
[
487,
488
],
[
488,
489
],
[
487,
490
],
[
490,
491
],
[
491,
492
],
[
490,
493
],
[
478,
494
],
[
494,
495
],
[
495,
496
],
[
494,
497
],
[
478,
498
],
[
498,
499
],
[
498,
500
],
[
500,
501
],
[
501,
502
],
[
502,
503
],
[
476,
504
],
[
504,
505
],
[
390,
506
],
[
506,
507
],
[
506,
508
],
[
508,
509
],
[
509,
510
],
[
510,
511
],
[
0,
512
],
[
512,
513
],
[
512,
514
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.StringJoiner;\nimport java.util.StringTokenizer;\nimport java.util.function.IntUnaryOperator;\nimport java.util.function.LongUnaryOperator;\n\npublic class Main {\n static In in = new In();\n static Out out = new Out();\n static final long inf = 0x1fffffffffffffffL;\n static final int iinf = 0x3fffffff;\n static final double eps = 1e-9;\n static final long mod = 1000000007;\n\n void solve(boolean naive) {\n int x = in.nextInt();\n out.println(1 - x);\n }\n\n public static void main(String[] args) {\n new Main().solve(args.length == 1 && args[0].equals(\"naive\"));\n out.flush();\n }\n}\n\nclass In {\n private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 0x10000);\n private 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 double nextDouble() {\n return Double.parseDouble(next());\n }\n\n char[] nextCharArray() {\n return next().toCharArray();\n }\n\n char[][] nextCharGrid(int n, int m) {\n char[][] a = new char[n][m];\n for (int i = 0; i < n; i++) {\n a[i] = next().toCharArray();\n }\n return a;\n }\n\n 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 int[] nextIntArray(int n, IntUnaryOperator op) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsInt(nextInt());\n }\n return a;\n }\n\n long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n long[] nextLongArray(int n, LongUnaryOperator op) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsLong(nextLong());\n }\n return a;\n }\n\n List<List<Integer>> nextEdges(int n, int m) {\n List<List<Integer>> res = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n res.add(new ArrayList<>());\n }\n for (int i = 0; i < m; i++) {\n int u = nextInt() - 1;\n int v = nextInt() - 1;\n res.get(u).add(v);\n res.get(v).add(u);\n }\n return res;\n }\n}\n\nclass Out {\n private PrintWriter out = new PrintWriter(System.out);\n boolean autoFlush = false;\n\n void println(Object... a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (Object obj : a) {\n joiner.add(String.valueOf(obj));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }\n\n void println(char[] s) {\n out.println(String.valueOf(s));\n if (autoFlush) {\n out.flush();\n }\n }\n\n void println(int[] a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (int i : a) {\n joiner.add(Integer.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }\n\n void println(long[] a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (long i : a) {\n joiner.add(Long.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }\n\n void flush() {\n out.flush();\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.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.StringJoiner;",
"StringJoiner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.function.IntUnaryOperator;",
"IntUnaryOperator",
"java.util.function",
"import java.util.function.LongUnaryOperator;",
"LongUnaryOperator",
"java.util.function",
"public class Main {\n static In in = new In();\n static Out out = new Out();\n static final long inf = 0x1fffffffffffffffL;\n static final int iinf = 0x3fffffff;\n static final double eps = 1e-9;\n static final long mod = 1000000007;\n\n void solve(boolean naive) {\n int x = in.nextInt();\n out.println(1 - x);\n }\n\n public static void main(String[] args) {\n new Main().solve(args.length == 1 && args[0].equals(\"naive\"));\n out.flush();\n }\n}",
"Main",
"static In in = new In();",
"in",
"new In()",
"static Out out = new Out();",
"out",
"new Out()",
"static final long inf = 0x1fffffffffffffffL;",
"inf",
"0x1fffffffffffffffL",
"static final int iinf = 0x3fffffff;",
"iinf",
"0x3fffffff",
"static final double eps = 1e-9;",
"eps",
"1e-9",
"static final long mod = 1000000007;",
"mod",
"1000000007",
"void solve(boolean naive) {\n int x = in.nextInt();\n out.println(1 - x);\n }",
"solve",
"{\n int x = in.nextInt();\n out.println(1 - x);\n }",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"out.println(1 - x)",
"out.println",
"out",
"1 - x",
"1",
"x",
"boolean naive",
"naive",
"public static void main(String[] args) {\n new Main().solve(args.length == 1 && args[0].equals(\"naive\"));\n out.flush();\n }",
"main",
"{\n new Main().solve(args.length == 1 && args[0].equals(\"naive\"));\n out.flush();\n }",
"new Main().solve(args.length == 1 && args[0].equals(\"naive\"))",
"new Main().solve",
"new Main()",
"args.length == 1 && args[0].equals(\"naive\")",
"args.length == 1",
"args.length",
"args",
"args.length",
"1",
"args[0].equals(\"naive\")",
"args[0].equals",
"args[0]",
"args",
"0",
"\"naive\"",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"class In {\n private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 0x10000);\n private 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 double nextDouble() {\n return Double.parseDouble(next());\n }\n\n char[] nextCharArray() {\n return next().toCharArray();\n }\n\n char[][] nextCharGrid(int n, int m) {\n char[][] a = new char[n][m];\n for (int i = 0; i < n; i++) {\n a[i] = next().toCharArray();\n }\n return a;\n }\n\n 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 int[] nextIntArray(int n, IntUnaryOperator op) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsInt(nextInt());\n }\n return a;\n }\n\n long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n long[] nextLongArray(int n, LongUnaryOperator op) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsLong(nextLong());\n }\n return a;\n }\n\n List<List<Integer>> nextEdges(int n, int m) {\n List<List<Integer>> res = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n res.add(new ArrayList<>());\n }\n for (int i = 0; i < m; i++) {\n int u = nextInt() - 1;\n int v = nextInt() - 1;\n res.get(u).add(v);\n res.get(v).add(u);\n }\n return res;\n }\n}",
"In",
"private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 0x10000);",
"reader",
"new BufferedReader(new InputStreamReader(System.in), 0x10000)",
"private 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",
"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",
"char[] nextCharArray() {\n return next().toCharArray();\n }",
"nextCharArray",
"{\n return next().toCharArray();\n }",
"return next().toCharArray();",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"char[][] nextCharGrid(int n, int m) {\n char[][] a = new char[n][m];\n for (int i = 0; i < n; i++) {\n a[i] = next().toCharArray();\n }\n return a;\n }",
"nextCharGrid",
"{\n char[][] a = new char[n][m];\n for (int i = 0; i < n; i++) {\n a[i] = next().toCharArray();\n }\n return a;\n }",
"char[][] a = new char[n][m];",
"a",
"new char[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n a[i] = next().toCharArray();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = next().toCharArray();\n }",
"{\n a[i] = next().toCharArray();\n }",
"a[i] = next().toCharArray()",
"a[i]",
"a",
"i",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"return a;",
"a",
"int n",
"n",
"int m",
"m",
"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",
"int[] nextIntArray(int n, IntUnaryOperator op) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsInt(nextInt());\n }\n return a;\n }",
"nextIntArray",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsInt(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] = op.applyAsInt(nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = op.applyAsInt(nextInt());\n }",
"{\n a[i] = op.applyAsInt(nextInt());\n }",
"a[i] = op.applyAsInt(nextInt())",
"a[i]",
"a",
"i",
"op.applyAsInt(nextInt())",
"op.applyAsInt",
"op",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"IntUnaryOperator op",
"op",
"long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }",
"nextLongArray",
"{\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nextLong();\n }",
"{\n a[i] = nextLong();\n }",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"long[] nextLongArray(int n, LongUnaryOperator op) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsLong(nextLong());\n }\n return a;\n }",
"nextLongArray",
"{\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = op.applyAsLong(nextLong());\n }\n return a;\n }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = op.applyAsLong(nextLong());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = op.applyAsLong(nextLong());\n }",
"{\n a[i] = op.applyAsLong(nextLong());\n }",
"a[i] = op.applyAsLong(nextLong())",
"a[i]",
"a",
"i",
"op.applyAsLong(nextLong())",
"op.applyAsLong",
"op",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"LongUnaryOperator op",
"op",
"List<List<Integer>> nextEdges(int n, int m) {\n List<List<Integer>> res = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n res.add(new ArrayList<>());\n }\n for (int i = 0; i < m; i++) {\n int u = nextInt() - 1;\n int v = nextInt() - 1;\n res.get(u).add(v);\n res.get(v).add(u);\n }\n return res;\n }",
"nextEdges",
"{\n List<List<Integer>> res = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n res.add(new ArrayList<>());\n }\n for (int i = 0; i < m; i++) {\n int u = nextInt() - 1;\n int v = nextInt() - 1;\n res.get(u).add(v);\n res.get(v).add(u);\n }\n return res;\n }",
"List<List<Integer>> res = new ArrayList<>();",
"res",
"new ArrayList<>()",
"for (int i = 0; i < n; i++) {\n res.add(new ArrayList<>());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res.add(new ArrayList<>());\n }",
"{\n res.add(new ArrayList<>());\n }",
"res.add(new ArrayList<>())",
"res.add",
"res",
"new ArrayList<>()",
"for (int i = 0; i < m; i++) {\n int u = nextInt() - 1;\n int v = nextInt() - 1;\n res.get(u).add(v);\n res.get(v).add(u);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < m",
"i",
"m",
"i++",
"i++",
"i",
"{\n int u = nextInt() - 1;\n int v = nextInt() - 1;\n res.get(u).add(v);\n res.get(v).add(u);\n }",
"{\n int u = nextInt() - 1;\n int v = nextInt() - 1;\n res.get(u).add(v);\n res.get(v).add(u);\n }",
"int u = nextInt() - 1;",
"u",
"nextInt() - 1",
"nextInt()",
"nextInt",
"1",
"int v = nextInt() - 1;",
"v",
"nextInt() - 1",
"nextInt()",
"nextInt",
"1",
"res.get(u).add(v)",
"res.get(u).add",
"res.get(u)",
"res.get",
"res",
"u",
"v",
"res.get(v).add(u)",
"res.get(v).add",
"res.get(v)",
"res.get",
"res",
"v",
"u",
"return res;",
"res",
"int n",
"n",
"int m",
"m",
"class Out {\n private PrintWriter out = new PrintWriter(System.out);\n boolean autoFlush = false;\n\n void println(Object... a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (Object obj : a) {\n joiner.add(String.valueOf(obj));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }\n\n void println(char[] s) {\n out.println(String.valueOf(s));\n if (autoFlush) {\n out.flush();\n }\n }\n\n void println(int[] a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (int i : a) {\n joiner.add(Integer.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }\n\n void println(long[] a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (long i : a) {\n joiner.add(Long.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }\n\n void flush() {\n out.flush();\n }\n}",
"Out",
"private PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"boolean autoFlush = false;",
"autoFlush",
"false",
"void println(Object... a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (Object obj : a) {\n joiner.add(String.valueOf(obj));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }",
"println",
"{\n StringJoiner joiner = new StringJoiner(\" \");\n for (Object obj : a) {\n joiner.add(String.valueOf(obj));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }",
"StringJoiner joiner = new StringJoiner(\" \");",
"joiner",
"new StringJoiner(\" \")",
"for (Object obj : a) {\n joiner.add(String.valueOf(obj));\n }",
"Object obj",
"a",
"{\n joiner.add(String.valueOf(obj));\n }",
"{\n joiner.add(String.valueOf(obj));\n }",
"joiner.add(String.valueOf(obj))",
"joiner.add",
"joiner",
"String.valueOf(obj)",
"String.valueOf",
"String",
"obj",
"out.println(joiner)",
"out.println",
"out",
"joiner",
"if (autoFlush) {\n out.flush();\n }",
"autoFlush",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"Object... a",
"a",
"void println(char[] s) {\n out.println(String.valueOf(s));\n if (autoFlush) {\n out.flush();\n }\n }",
"println",
"{\n out.println(String.valueOf(s));\n if (autoFlush) {\n out.flush();\n }\n }",
"out.println(String.valueOf(s))",
"out.println",
"out",
"String.valueOf(s)",
"String.valueOf",
"String",
"s",
"if (autoFlush) {\n out.flush();\n }",
"autoFlush",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"char[] s",
"s",
"void println(int[] a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (int i : a) {\n joiner.add(Integer.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }",
"println",
"{\n StringJoiner joiner = new StringJoiner(\" \");\n for (int i : a) {\n joiner.add(Integer.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }",
"StringJoiner joiner = new StringJoiner(\" \");",
"joiner",
"new StringJoiner(\" \")",
"for (int i : a) {\n joiner.add(Integer.toString(i));\n }",
"int i",
"a",
"{\n joiner.add(Integer.toString(i));\n }",
"{\n joiner.add(Integer.toString(i));\n }",
"joiner.add(Integer.toString(i))",
"joiner.add",
"joiner",
"Integer.toString(i)",
"Integer.toString",
"Integer",
"i",
"out.println(joiner)",
"out.println",
"out",
"joiner",
"if (autoFlush) {\n out.flush();\n }",
"autoFlush",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"int[] a",
"a",
"void println(long[] a) {\n StringJoiner joiner = new StringJoiner(\" \");\n for (long i : a) {\n joiner.add(Long.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }",
"println",
"{\n StringJoiner joiner = new StringJoiner(\" \");\n for (long i : a) {\n joiner.add(Long.toString(i));\n }\n out.println(joiner);\n if (autoFlush) {\n out.flush();\n }\n }",
"StringJoiner joiner = new StringJoiner(\" \");",
"joiner",
"new StringJoiner(\" \")",
"for (long i : a) {\n joiner.add(Long.toString(i));\n }",
"long i",
"a",
"{\n joiner.add(Long.toString(i));\n }",
"{\n joiner.add(Long.toString(i));\n }",
"joiner.add(Long.toString(i))",
"joiner.add",
"joiner",
"Long.toString(i)",
"Long.toString",
"Long",
"i",
"out.println(joiner)",
"out.println",
"out",
"joiner",
"if (autoFlush) {\n out.flush();\n }",
"autoFlush",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"long[] a",
"a",
"void flush() {\n out.flush();\n }",
"flush",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"public class Main {\n static In in = new In();\n static Out out = new Out();\n static final long inf = 0x1fffffffffffffffL;\n static final int iinf = 0x3fffffff;\n static final double eps = 1e-9;\n static final long mod = 1000000007;\n\n void solve(boolean naive) {\n int x = in.nextInt();\n out.println(1 - x);\n }\n\n public static void main(String[] args) {\n new Main().solve(args.length == 1 && args[0].equals(\"naive\"));\n out.flush();\n }\n}",
"public class Main {\n static In in = new In();\n static Out out = new Out();\n static final long inf = 0x1fffffffffffffffL;\n static final int iinf = 0x3fffffff;\n static final double eps = 1e-9;\n static final long mod = 1000000007;\n\n void solve(boolean naive) {\n int x = in.nextInt();\n out.println(1 - x);\n }\n\n public static void main(String[] args) {\n new Main().solve(args.length == 1 && args[0].equals(\"naive\"));\n out.flush();\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.List;
import java.util.StringJoiner;
import java.util.StringTokenizer;
import java.util.function.IntUnaryOperator;
import java.util.function.LongUnaryOperator;
public class Main {
static In in = new In();
static Out out = new Out();
static final long inf = 0x1fffffffffffffffL;
static final int iinf = 0x3fffffff;
static final double eps = 1e-9;
static final long mod = 1000000007;
void solve(boolean naive) {
int x = in.nextInt();
out.println(1 - x);
}
public static void main(String[] args) {
new Main().solve(args.length == 1 && args[0].equals("naive"));
out.flush();
}
}
class In {
private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 0x10000);
private 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());
}
double nextDouble() {
return Double.parseDouble(next());
}
char[] nextCharArray() {
return next().toCharArray();
}
char[][] nextCharGrid(int n, int m) {
char[][] a = new char[n][m];
for (int i = 0; i < n; i++) {
a[i] = next().toCharArray();
}
return a;
}
int[] nextIntArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = nextInt();
}
return a;
}
int[] nextIntArray(int n, IntUnaryOperator op) {
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = op.applyAsInt(nextInt());
}
return a;
}
long[] nextLongArray(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++) {
a[i] = nextLong();
}
return a;
}
long[] nextLongArray(int n, LongUnaryOperator op) {
long[] a = new long[n];
for (int i = 0; i < n; i++) {
a[i] = op.applyAsLong(nextLong());
}
return a;
}
List<List<Integer>> nextEdges(int n, int m) {
List<List<Integer>> res = new ArrayList<>();
for (int i = 0; i < n; i++) {
res.add(new ArrayList<>());
}
for (int i = 0; i < m; i++) {
int u = nextInt() - 1;
int v = nextInt() - 1;
res.get(u).add(v);
res.get(v).add(u);
}
return res;
}
}
class Out {
private PrintWriter out = new PrintWriter(System.out);
boolean autoFlush = false;
void println(Object... a) {
StringJoiner joiner = new StringJoiner(" ");
for (Object obj : a) {
joiner.add(String.valueOf(obj));
}
out.println(joiner);
if (autoFlush) {
out.flush();
}
}
void println(char[] s) {
out.println(String.valueOf(s));
if (autoFlush) {
out.flush();
}
}
void println(int[] a) {
StringJoiner joiner = new StringJoiner(" ");
for (int i : a) {
joiner.add(Integer.toString(i));
}
out.println(joiner);
if (autoFlush) {
out.flush();
}
}
void println(long[] a) {
StringJoiner joiner = new StringJoiner(" ");
for (long i : a) {
joiner.add(Long.toString(i));
}
out.println(joiner);
if (autoFlush) {
out.flush();
}
}
void flush() {
out.flush();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
17,
0,
13,
2,
2,
4,
13,
13,
13,
13,
4,
13,
13,
13,
13,
17,
29,
13,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
13,
17,
42,
2,
13,
13,
30,
41,
13,
2,
2,
13,
13,
17,
14,
2,
18,
13,
13,
13,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
13,
17,
42,
2,
13,
13,
30,
41,
13,
2,
2,
13,
13,
17,
14,
2,
18,
13,
13,
13,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
17,
29,
13,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
2,
13,
17,
0,
13,
17,
0,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
4,
18,
13,
17,
40,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
40,
17,
41,
13,
17,
41,
13,
13,
42,
2,
13,
13,
30,
0,
13,
2,
2,
13,
13,
17,
14,
2,
13,
13,
30,
29,
13,
14,
2,
13,
18,
13,
13,
30,
0,
13,
2,
13,
17,
14,
2,
13,
18,
13,
13,
30,
0,
13,
2,
13,
17,
30,
29,
13,
29,
40,
13,
23,
13,
23,
13,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
42,
2,
0,
13,
4,
13,
40,
17,
30,
14,
2,
13,
17,
3,
0,
18,
13,
40,
13,
13,
29,
20,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
2,
13,
17,
30,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
0,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
17,
13,
14,
2,
13,
40,
17,
0,
18,
13,
17,
40,
17,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
656,
11
],
[
656,
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
],
[
22,
25
],
[
21,
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
],
[
38,
40
],
[
36,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
12,
48
],
[
48,
49
],
[
656,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
60,
64
],
[
59,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
65,
69
],
[
58,
70
],
[
52,
71
],
[
71,
72
],
[
50,
73
],
[
73,
74
],
[
50,
75
],
[
75,
76
],
[
50,
77
],
[
77,
78
],
[
50,
79
],
[
79,
80
],
[
656,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
83,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
96,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
104,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
104,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
117,
119
],
[
83,
120
],
[
120,
121
],
[
81,
122
],
[
122,
123
],
[
81,
124
],
[
124,
125
],
[
81,
126
],
[
126,
127
],
[
656,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
136,
138
],
[
130,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
143,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
151,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
151,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
130,
167
],
[
167,
168
],
[
128,
169
],
[
169,
170
],
[
128,
171
],
[
171,
172
],
[
128,
173
],
[
173,
174
],
[
656,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
186,
191
],
[
191,
192
],
[
191,
193
],
[
186,
194
],
[
194,
195
],
[
195,
196
],
[
186,
197
],
[
198,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
199,
202
],
[
182,
203
],
[
203,
204
],
[
177,
205
],
[
205,
206
],
[
205,
207
],
[
177,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
208,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
213,
216
],
[
216,
217
],
[
216,
218
],
[
212,
219
],
[
219,
220
],
[
219,
221
],
[
177,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
225,
226
],
[
177,
227
],
[
227,
228
],
[
227,
229
],
[
177,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
177,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
240,
243
],
[
239,
244
],
[
244,
245
],
[
177,
246
],
[
246,
247
],
[
247,
248
],
[
246,
249
],
[
177,
250
],
[
250,
251
],
[
175,
252
],
[
252,
253
],
[
656,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
259,
261
],
[
256,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
256,
266
],
[
266,
267
],
[
266,
268
],
[
256,
269
],
[
269,
270
],
[
269,
271
],
[
256,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
279,
283
],
[
276,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
288,
289
],
[
289,
290
],
[
276,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
294,
296
],
[
291,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
300,
302
],
[
291,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
306,
308
],
[
303,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
312,
314
],
[
303,
315
],
[
315,
316
],
[
316,
317
],
[
256,
318
],
[
318,
319
],
[
319,
320
],
[
254,
321
],
[
321,
322
],
[
254,
323
],
[
323,
324
],
[
656,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
327,
329
],
[
329,
330
],
[
329,
331
],
[
325,
332
],
[
332,
333
],
[
325,
334
],
[
334,
335
],
[
325,
336
],
[
336,
337
],
[
325,
338
],
[
338,
339
],
[
325,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
342,
346
],
[
346,
347
],
[
346,
348
],
[
342,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
352,
354
],
[
325,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
357,
361
],
[
361,
362
],
[
361,
363
],
[
357,
365
],
[
365,
366
],
[
365,
367
],
[
367,
368
],
[
367,
369
],
[
355,
370
],
[
370,
371
],
[
325,
372
],
[
372,
373
],
[
372,
374
],
[
374,
375
],
[
375,
376
],
[
375,
377
],
[
374,
379
],
[
379,
380
],
[
379,
381
],
[
374,
382
],
[
382,
383
],
[
374,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
386,
388
],
[
388,
389
],
[
385,
390
],
[
390,
391
],
[
384,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
394,
396
],
[
393,
397
],
[
392,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
398,
403
],
[
374,
404
],
[
404,
405
],
[
325,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
409,
410
],
[
409,
411
],
[
408,
412
],
[
412,
413
],
[
412,
414
],
[
414,
415
],
[
408,
416
],
[
416,
417
],
[
417,
418
],
[
417,
419
],
[
416,
420
],
[
420,
421
],
[
420,
422
],
[
422,
423
],
[
408,
424
],
[
424,
425
],
[
424,
426
],
[
426,
427
],
[
426,
428
],
[
408,
429
],
[
429,
430
],
[
429,
431
],
[
431,
432
],
[
431,
433
],
[
433,
434
],
[
408,
435
],
[
435,
436
],
[
436,
437
],
[
437,
438
],
[
438,
439
],
[
438,
440
],
[
440,
441
],
[
437,
442
],
[
436,
443
],
[
443,
444
],
[
443,
445
],
[
435,
446
],
[
446,
447
],
[
447,
448
],
[
447,
449
],
[
449,
450
],
[
450,
451
],
[
451,
452
],
[
451,
453
],
[
450,
454
],
[
449,
455
],
[
408,
456
],
[
456,
457
],
[
456,
458
],
[
458,
459
],
[
459,
460
],
[
408,
461
],
[
461,
462
],
[
325,
463
],
[
463,
464
],
[
463,
465
],
[
465,
466
],
[
466,
467
],
[
466,
468
],
[
465,
469
],
[
469,
470
],
[
469,
471
],
[
471,
472
],
[
465,
473
],
[
473,
474
],
[
474,
475
],
[
474,
476
],
[
473,
477
],
[
477,
478
],
[
477,
479
],
[
479,
480
],
[
465,
481
],
[
481,
482
],
[
481,
483
],
[
483,
484
],
[
483,
485
],
[
465,
486
],
[
486,
487
],
[
486,
488
],
[
488,
489
],
[
488,
490
],
[
490,
491
],
[
465,
492
],
[
492,
493
],
[
493,
494
],
[
494,
495
],
[
495,
496
],
[
495,
497
],
[
497,
498
],
[
494,
499
],
[
493,
500
],
[
500,
501
],
[
500,
502
],
[
492,
503
],
[
503,
504
],
[
504,
505
],
[
504,
506
],
[
506,
507
],
[
507,
508
],
[
508,
509
],
[
508,
510
],
[
507,
511
],
[
506,
512
],
[
465,
513
],
[
513,
514
],
[
513,
515
],
[
515,
516
],
[
516,
517
],
[
465,
518
],
[
518,
519
],
[
325,
520
],
[
520,
521
],
[
520,
522
],
[
522,
523
],
[
523,
524
],
[
523,
525
],
[
522,
526
],
[
526,
527
],
[
526,
528
],
[
522,
529
],
[
529,
530
],
[
529,
531
],
[
531,
532
],
[
522,
533
],
[
533,
534
],
[
534,
535
],
[
534,
536
],
[
533,
537
],
[
537,
538
],
[
537,
539
],
[
539,
540
],
[
522,
541
],
[
541,
542
],
[
541,
543
],
[
543,
544
],
[
543,
545
],
[
522,
546
],
[
546,
547
],
[
546,
548
],
[
548,
549
],
[
548,
550
],
[
550,
551
],
[
522,
552
],
[
552,
553
],
[
553,
554
],
[
554,
555
],
[
555,
556
],
[
555,
557
],
[
557,
558
],
[
554,
559
],
[
553,
560
],
[
560,
561
],
[
560,
562
],
[
552,
563
],
[
563,
564
],
[
564,
565
],
[
564,
566
],
[
566,
567
],
[
567,
568
],
[
568,
569
],
[
568,
570
],
[
567,
571
],
[
566,
572
],
[
522,
573
],
[
573,
574
],
[
574,
575
],
[
574,
576
],
[
573,
577
],
[
577,
578
],
[
578,
579
],
[
579,
580
],
[
580,
581
],
[
581,
582
],
[
581,
583
],
[
583,
584
],
[
580,
585
],
[
579,
586
],
[
586,
587
],
[
586,
588
],
[
578,
589
],
[
589,
590
],
[
590,
591
],
[
590,
592
],
[
592,
593
],
[
593,
594
],
[
593,
595
],
[
592,
596
],
[
596,
597
],
[
596,
598
],
[
522,
599
],
[
599,
600
],
[
599,
601
],
[
601,
602
],
[
602,
603
],
[
522,
604
],
[
604,
605
],
[
325,
606
],
[
606,
607
],
[
606,
608
],
[
608,
609
],
[
609,
610
],
[
609,
611
],
[
611,
612
],
[
612,
613
],
[
611,
614
],
[
611,
615
],
[
615,
616
],
[
615,
617
],
[
611,
618
],
[
608,
619
],
[
619,
620
],
[
620,
621
],
[
620,
622
],
[
622,
623
],
[
619,
624
],
[
624,
625
],
[
625,
626
],
[
625,
627
],
[
624,
628
],
[
628,
629
],
[
325,
630
],
[
630,
631
],
[
630,
632
],
[
632,
633
],
[
633,
634
],
[
634,
635
],
[
634,
636
],
[
633,
637
],
[
637,
638
],
[
632,
639
],
[
639,
640
],
[
640,
641
],
[
640,
642
],
[
642,
643
],
[
325,
644
],
[
644,
645
],
[
644,
646
],
[
646,
647
],
[
647,
648
],
[
648,
649
],
[
648,
650
],
[
647,
651
],
[
646,
652
],
[
652,
653
],
[
653,
654
],
[
0,
655
],
[
655,
656
],
[
655,
657
]
]
| [
"\nimport java.io.*;\nimport java.util.*;\nimport java.math.*;\n\npublic class Main { \n \n public static void main(String[] args) throws java.lang.Exception { \n Reader pm =new Reader(); \n //Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int t = 1;\n while(t-- > 0){\n int n = pm.nextInt();\n if(n == 1) \n System.out.println(0);\n else\n System.out.println(1);\n }\n //end of tests\n \n }\n //end of main class\n\n static int countInRange(int arr[], int n, int x, int y) { \n // initialize result \n int count = 0; \n count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1; \n return count; \n } \n \n \n static int lowerIndex(int arr[], int n, int x) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n } \n return l; \n } \n \n // function to find last index <= y \n static int upperIndex(int arr[], int n, int y) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n } \n return h; \n }\n \n public static StringBuilder dec_to_bin(long n) {\n // decimal to binary upto 30 binaries\n if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }\n StringBuilder str=new StringBuilder(\"\");\n while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }\n str=str.reverse();\n StringBuilder tmp_str=new StringBuilder(\"\");\n int len=str.length();\n while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }\n tmp_str.append(str);\n return tmp_str;\n }\n \n private static int binarySearchPM(int[] arr, int key){\n int n = arr.length;\n int mid = -1;\n int begin = 0,end=n;\n while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }\n //System.out.println(begin+\" \"+end);\n return -begin; //expected Index\n }\n \n static class Reader { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n }\n} ",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main { \n \n public static void main(String[] args) throws java.lang.Exception { \n Reader pm =new Reader(); \n //Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int t = 1;\n while(t-- > 0){\n int n = pm.nextInt();\n if(n == 1) \n System.out.println(0);\n else\n System.out.println(1);\n }\n //end of tests\n \n }\n //end of main class\n\n static int countInRange(int arr[], int n, int x, int y) { \n // initialize result \n int count = 0; \n count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1; \n return count; \n } \n \n \n static int lowerIndex(int arr[], int n, int x) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n } \n return l; \n } \n \n // function to find last index <= y \n static int upperIndex(int arr[], int n, int y) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n } \n return h; \n }\n \n public static StringBuilder dec_to_bin(long n) {\n // decimal to binary upto 30 binaries\n if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }\n StringBuilder str=new StringBuilder(\"\");\n while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }\n str=str.reverse();\n StringBuilder tmp_str=new StringBuilder(\"\");\n int len=str.length();\n while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }\n tmp_str.append(str);\n return tmp_str;\n }\n \n private static int binarySearchPM(int[] arr, int key){\n int n = arr.length;\n int mid = -1;\n int begin = 0,end=n;\n while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }\n //System.out.println(begin+\" \"+end);\n return -begin; //expected Index\n }\n \n static class Reader { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n }\n}",
"Main",
"public static void main(String[] args) throws java.lang.Exception { \n Reader pm =new Reader(); \n //Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int t = 1;\n while(t-- > 0){\n int n = pm.nextInt();\n if(n == 1) \n System.out.println(0);\n else\n System.out.println(1);\n }\n //end of tests\n \n }",
"main",
"{ \n Reader pm =new Reader(); \n //Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int t = 1;\n while(t-- > 0){\n int n = pm.nextInt();\n if(n == 1) \n System.out.println(0);\n else\n System.out.println(1);\n }\n //end of tests\n \n }",
"Reader pm =new Reader();",
"pm",
"new Reader()",
"int t = 1;",
"t",
"1",
"while(t-- > 0){\n int n = pm.nextInt();\n if(n == 1) \n System.out.println(0);\n else\n System.out.println(1);\n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n int n = pm.nextInt();\n if(n == 1) \n System.out.println(0);\n else\n System.out.println(1);\n }",
"int n = pm.nextInt();",
"n",
"pm.nextInt()",
"pm.nextInt",
"pm",
"if(n == 1) \n System.out.println(0);\n else\n System.out.println(1);",
"n == 1",
"n",
"1",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"String[] args",
"args",
"static int countInRange(int arr[], int n, int x, int y) { \n // initialize result \n int count = 0; \n count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1; \n return count; \n }",
"countInRange",
"{ \n // initialize result \n int count = 0; \n count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1; \n return count; \n }",
"int count = 0;",
"count",
"0",
"count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1",
"count",
"upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1",
"upperIndex(arr, n, y) - \n lowerIndex(arr, n, x)",
"upperIndex(arr, n, y)",
"upperIndex",
"arr",
"n",
"y",
"lowerIndex(arr, n, x)",
"lowerIndex",
"arr",
"n",
"x",
"1",
"return count;",
"count",
"int arr[]",
"arr",
"int n",
"n",
"int x",
"x",
"int y",
"y",
"static int lowerIndex(int arr[], int n, int x) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n } \n return l; \n }",
"lowerIndex",
"{ \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n } \n return l; \n }",
"int l = 0",
"l",
"0",
"h = n - 1;",
"h",
"n - 1",
"n",
"1",
"while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n }",
"l <= h",
"l",
"h",
"{ \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n }",
"int mid = (l + h) / 2;",
"mid",
"(l + h) / 2",
"(l + h)",
"l",
"h",
"2",
"if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1;",
"arr[mid] >= x",
"arr[mid]",
"arr",
"mid",
"x",
"h = mid - 1",
"h",
"mid - 1",
"mid",
"1",
"l = mid + 1",
"l",
"mid + 1",
"mid",
"1",
"return l;",
"l",
"int arr[]",
"arr",
"int n",
"n",
"int x",
"x",
"// function to find last index <= y \n static int upperIndex(int arr[], int n, int y) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n } \n return h; \n }",
"upperIndex",
"{ \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n } \n return h; \n }",
"int l = 0",
"l",
"0",
"h = n - 1;",
"h",
"n - 1",
"n",
"1",
"while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n }",
"l <= h",
"l",
"h",
"{ \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n }",
"int mid = (l + h) / 2;",
"mid",
"(l + h) / 2",
"(l + h)",
"l",
"h",
"2",
"if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1;",
"arr[mid] <= y",
"arr[mid]",
"arr",
"mid",
"y",
"l = mid + 1",
"l",
"mid + 1",
"mid",
"1",
"h = mid - 1",
"h",
"mid - 1",
"mid",
"1",
"return h;",
"h",
"int arr[]",
"arr",
"int n",
"n",
"int y",
"y",
"public static StringBuilder dec_to_bin(long n) {\n // decimal to binary upto 30 binaries\n if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }\n StringBuilder str=new StringBuilder(\"\");\n while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }\n str=str.reverse();\n StringBuilder tmp_str=new StringBuilder(\"\");\n int len=str.length();\n while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }\n tmp_str.append(str);\n return tmp_str;\n }",
"dec_to_bin",
"{\n // decimal to binary upto 30 binaries\n if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }\n StringBuilder str=new StringBuilder(\"\");\n while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }\n str=str.reverse();\n StringBuilder tmp_str=new StringBuilder(\"\");\n int len=str.length();\n while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }\n tmp_str.append(str);\n return tmp_str;\n }",
"if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }",
"n==0",
"n",
"0",
"{\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }",
"StringBuilder str=new StringBuilder(\"\");",
"str",
"new StringBuilder(\"\")",
"for(int i=0;i<30;i++) {\n str.append(\"0\");\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<30",
"i",
"30",
"i++",
"i++",
"i",
"{\n str.append(\"0\");\n }",
"{\n str.append(\"0\");\n }",
"str.append(\"0\")",
"str.append",
"str",
"\"0\"",
"return str;",
"str",
"StringBuilder str=new StringBuilder(\"\");",
"str",
"new StringBuilder(\"\")",
"while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }",
"n!=0",
"n",
"0",
"{\n str.append(n%2L);\n n/=2L;\n }",
"str.append(n%2L)",
"str.append",
"str",
"n%2L",
"n",
"2L",
"n/=2L",
"n",
"2L",
"str=str.reverse()",
"str",
"str.reverse()",
"str.reverse",
"str",
"StringBuilder tmp_str=new StringBuilder(\"\");",
"tmp_str",
"new StringBuilder(\"\")",
"int len=str.length();",
"len",
"str.length()",
"str.length",
"str",
"while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }",
"len!=30",
"len",
"30",
"{\n tmp_str.append(\"0\");\n len++;\n }",
"tmp_str.append(\"0\")",
"tmp_str.append",
"tmp_str",
"\"0\"",
"len++",
"len",
"tmp_str.append(str)",
"tmp_str.append",
"tmp_str",
"str",
"return tmp_str;",
"tmp_str",
"long n",
"n",
"private static int binarySearchPM(int[] arr, int key){\n int n = arr.length;\n int mid = -1;\n int begin = 0,end=n;\n while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }\n //System.out.println(begin+\" \"+end);\n return -begin; //expected Index\n }",
"binarySearchPM",
"{\n int n = arr.length;\n int mid = -1;\n int begin = 0,end=n;\n while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }\n //System.out.println(begin+\" \"+end);\n return -begin; //expected Index\n }",
"int n = arr.length;",
"n",
"arr.length",
"arr",
"arr.length",
"int mid = -1;",
"mid",
"-1",
"1",
"int begin = 0",
"begin",
"0",
"end=n;",
"end",
"n",
"while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }",
"begin <= end",
"begin",
"end",
"{\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }",
"mid = (begin+end) / 2",
"mid",
"(begin+end) / 2",
"(begin+end)",
"begin",
"end",
"2",
"if(mid == n){\n return n;\n }",
"mid == n",
"mid",
"n",
"{\n return n;\n }",
"return n;",
"n",
"if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }",
"key < arr[mid]",
"key",
"arr[mid]",
"arr",
"mid",
"{\n end = mid-1;\n }",
"end = mid-1",
"end",
"mid-1",
"mid",
"1",
"if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }",
"key > arr[mid]",
"key",
"arr[mid]",
"arr",
"mid",
"{\n begin = mid+1;\n }",
"begin = mid+1",
"begin",
"mid+1",
"mid",
"1",
"{\n return mid;\n }",
"return mid;",
"mid",
"return -begin; //expected Index",
"-begin",
"begin",
"int[] arr",
"arr",
"int key",
"key",
"static class Reader { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n }",
"Reader",
"final private int BUFFER_SIZE = 1 << 16;",
"BUFFER_SIZE",
"1 << 16",
"1",
"16",
"private DataInputStream din;",
"din",
"private byte[] buffer;",
"buffer",
"private int bufferPointer",
"bufferPointer",
"bytesRead;",
"bytesRead",
"public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"Reader",
"{ \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"din = new DataInputStream(System.in)",
"din",
"new DataInputStream(System.in)",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"Reader",
"{ \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"din = new DataInputStream(new FileInputStream(file_name))",
"din",
"new DataInputStream(new FileInputStream(file_name))",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"String file_name",
"file_name",
"public String readLine() throws IOException \n { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n }",
"readLine",
"{ \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n }",
"byte[] buf = new byte[64];",
"buf",
"new byte[64]",
"64",
"int cnt = 0",
"cnt",
"0",
"c;",
"c",
"while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n }",
"(c = read()) != -1",
"(c = read())",
"c",
"read()",
"read",
"-1",
"1",
"{ \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n }",
"if (c == '\\n') \n break;",
"c == '\\n'",
"c",
"'\\n'",
"break;",
"buf[cnt++] = (byte) c",
"buf[cnt++]",
"buf",
"cnt++",
"cnt",
"(byte) c",
"return new String(buf, 0, cnt);",
"new String(buf, 0, cnt)",
"public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n }",
"nextInt",
"{ \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n }",
"int ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret = ret * 10 + c - '0'; \n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg) \n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n }",
"nextLong",
"{ \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n }",
"long ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret = ret * 10 + c - '0'; \n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg) \n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n }",
"nextDouble",
"{ \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n }",
"double ret = 0",
"ret",
"0",
"div = 1;",
"div",
"1",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret = ret * 10 + c - '0'; \n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n }",
"c == '.'",
"c",
"'.'",
"{ \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n }",
"while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n }",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret += (c - '0') / (div *= 10); \n }",
"ret += (c - '0') / (div *= 10)",
"ret",
"(c - '0') / (div *= 10)",
"(c - '0')",
"c",
"'0'",
"(div *= 10)",
"div",
"10",
"if (neg) \n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n }",
"fillBuffer",
"{ \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n }",
"bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"bytesRead",
"din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"din.read",
"din",
"buffer",
"bufferPointer = 0",
"bufferPointer",
"0",
"BUFFER_SIZE",
"if (bytesRead == -1) \n buffer[0] = -1;",
"bytesRead == -1",
"bytesRead",
"-1",
"1",
"buffer[0] = -1",
"buffer[0]",
"buffer",
"0",
"-1",
"1",
"private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n }",
"read",
"{ \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n }",
"if (bufferPointer == bytesRead) \n fillBuffer();",
"bufferPointer == bytesRead",
"bufferPointer",
"bytesRead",
"fillBuffer()",
"fillBuffer",
"return buffer[bufferPointer++];",
"buffer[bufferPointer++]",
"buffer",
"bufferPointer++",
"bufferPointer",
"public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n }",
"close",
"{ \n if (din == null) \n return; \n din.close(); \n }",
"if (din == null) \n return;",
"din == null",
"din",
"null",
"return;",
"din.close()",
"din.close",
"din",
"public class Main { \n \n public static void main(String[] args) throws java.lang.Exception { \n Reader pm =new Reader(); \n //Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int t = 1;\n while(t-- > 0){\n int n = pm.nextInt();\n if(n == 1) \n System.out.println(0);\n else\n System.out.println(1);\n }\n //end of tests\n \n }\n //end of main class\n\n static int countInRange(int arr[], int n, int x, int y) { \n // initialize result \n int count = 0; \n count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1; \n return count; \n } \n \n \n static int lowerIndex(int arr[], int n, int x) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n } \n return l; \n } \n \n // function to find last index <= y \n static int upperIndex(int arr[], int n, int y) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n } \n return h; \n }\n \n public static StringBuilder dec_to_bin(long n) {\n // decimal to binary upto 30 binaries\n if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }\n StringBuilder str=new StringBuilder(\"\");\n while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }\n str=str.reverse();\n StringBuilder tmp_str=new StringBuilder(\"\");\n int len=str.length();\n while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }\n tmp_str.append(str);\n return tmp_str;\n }\n \n private static int binarySearchPM(int[] arr, int key){\n int n = arr.length;\n int mid = -1;\n int begin = 0,end=n;\n while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }\n //System.out.println(begin+\" \"+end);\n return -begin; //expected Index\n }\n \n static class Reader { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n }\n}",
"public class Main { \n \n public static void main(String[] args) throws java.lang.Exception { \n Reader pm =new Reader(); \n //Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int t = 1;\n while(t-- > 0){\n int n = pm.nextInt();\n if(n == 1) \n System.out.println(0);\n else\n System.out.println(1);\n }\n //end of tests\n \n }\n //end of main class\n\n static int countInRange(int arr[], int n, int x, int y) { \n // initialize result \n int count = 0; \n count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1; \n return count; \n } \n \n \n static int lowerIndex(int arr[], int n, int x) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n } \n return l; \n } \n \n // function to find last index <= y \n static int upperIndex(int arr[], int n, int y) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n } \n return h; \n }\n \n public static StringBuilder dec_to_bin(long n) {\n // decimal to binary upto 30 binaries\n if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }\n StringBuilder str=new StringBuilder(\"\");\n while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }\n str=str.reverse();\n StringBuilder tmp_str=new StringBuilder(\"\");\n int len=str.length();\n while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }\n tmp_str.append(str);\n return tmp_str;\n }\n \n private static int binarySearchPM(int[] arr, int key){\n int n = arr.length;\n int mid = -1;\n int begin = 0,end=n;\n while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }\n //System.out.println(begin+\" \"+end);\n return -begin; //expected Index\n }\n \n static class Reader { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n }\n}",
"Main"
]
|
import java.io.*;
import java.util.*;
import java.math.*;
public class Main {
public static void main(String[] args) throws java.lang.Exception {
Reader pm =new Reader();
//Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
int t = 1;
while(t-- > 0){
int n = pm.nextInt();
if(n == 1)
System.out.println(0);
else
System.out.println(1);
}
//end of tests
}
//end of main class
static int countInRange(int arr[], int n, int x, int y) {
// initialize result
int count = 0;
count = upperIndex(arr, n, y) -
lowerIndex(arr, n, x) + 1;
return count;
}
static int lowerIndex(int arr[], int n, int x) {
int l = 0, h = n - 1;
while (l <= h)
{
int mid = (l + h) / 2;
if (arr[mid] >= x)
h = mid - 1;
else
l = mid + 1;
}
return l;
}
// function to find last index <= y
static int upperIndex(int arr[], int n, int y) {
int l = 0, h = n - 1;
while (l <= h)
{
int mid = (l + h) / 2;
if (arr[mid] <= y)
l = mid + 1;
else
h = mid - 1;
}
return h;
}
public static StringBuilder dec_to_bin(long n) {
// decimal to binary upto 30 binaries
if(n==0) {
StringBuilder str=new StringBuilder("");
for(int i=0;i<30;i++) {
str.append("0");
}
return str;
}
StringBuilder str=new StringBuilder("");
while(n!=0) {
str.append(n%2L);
n/=2L;
}
str=str.reverse();
StringBuilder tmp_str=new StringBuilder("");
int len=str.length();
while(len!=30) {
tmp_str.append("0");
len++;
}
tmp_str.append(str);
return tmp_str;
}
private static int binarySearchPM(int[] arr, int key){
int n = arr.length;
int mid = -1;
int begin = 0,end=n;
while(begin <= end){
mid = (begin+end) / 2;
if(mid == n){
return n;
}
if(key < arr[mid]){
end = mid-1;
} else if(key > arr[mid]){
begin = mid+1;
} else {
return mid;
}
}
//System.out.println(begin+" "+end);
return -begin; //expected Index
}
static class Reader {
final private int BUFFER_SIZE = 1 << 16;
private DataInputStream din;
private byte[] buffer;
private int bufferPointer, bytesRead;
public Reader()
{
din = new DataInputStream(System.in);
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public Reader(String file_name) throws IOException
{
din = new DataInputStream(new FileInputStream(file_name));
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public String readLine() throws IOException
{
byte[] buf = new byte[64]; // line length
int cnt = 0, c;
while ((c = read()) != -1)
{
if (c == '\n')
break;
buf[cnt++] = (byte) c;
}
return new String(buf, 0, cnt);
}
public int nextInt() throws IOException
{
int ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do
{
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public long nextLong() throws IOException
{
long ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public double nextDouble() throws IOException
{
double ret = 0, div = 1;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (c == '.')
{
while ((c = read()) >= '0' && c <= '9')
{
ret += (c - '0') / (div *= 10);
}
}
if (neg)
return -ret;
return ret;
}
private void fillBuffer() throws IOException
{
bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);
if (bytesRead == -1)
buffer[0] = -1;
}
private byte read() throws IOException
{
if (bufferPointer == bytesRead)
fillBuffer();
return buffer[bufferPointer++];
}
public void close() throws IOException
{
if (din == null)
return;
din.close();
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.