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,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
13,
41,
13,
4,
18,
13,
13,
13,
4,
18,
13,
4,
18,
13,
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
],
[
98,
11
],
[
98,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
12,
23
],
[
23,
24
],
[
98,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
27,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
27,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
27,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
27,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
27,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
27,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
27,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
27,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
73,
77
],
[
27,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
80,
84
],
[
27,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
88,
92
],
[
25,
93
],
[
93,
94
],
[
25,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
]
| [
"\nimport java.io.InputStream;\nimport java.io.PrintStream;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n\n long bc = b*c;\n long bd = b*d;\n long ac = a*c;\n long ad = a*d;\n\n long maxb = Math.max(bc, bd);\n long maxa = Math.max(ac, ad);\n\n\n os.println(Math.max(maxa,maxb));\n }\n}",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n\n long bc = b*c;\n long bd = b*d;\n long ac = a*c;\n long ad = a*d;\n\n long maxb = Math.max(bc, bd);\n long maxa = Math.max(ac, ad);\n\n\n os.println(Math.max(maxa,maxb));\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }",
"main",
"{\n solve(System.in, System.out);\n }",
"solve(System.in, System.out)",
"solve",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n\n long bc = b*c;\n long bd = b*d;\n long ac = a*c;\n long ad = a*d;\n\n long maxb = Math.max(bc, bd);\n long maxa = Math.max(ac, ad);\n\n\n os.println(Math.max(maxa,maxb));\n }",
"solve",
"{\n // Your code here!\n Scanner scan = new Scanner(is);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n\n long bc = b*c;\n long bd = b*d;\n long ac = a*c;\n long ad = a*d;\n\n long maxb = Math.max(bc, bd);\n long maxa = Math.max(ac, ad);\n\n\n os.println(Math.max(maxa,maxb));\n }",
"Scanner scan = new Scanner(is);",
"scan",
"new Scanner(is)",
"long a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"long b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"long c = scan.nextInt();",
"c",
"scan.nextInt()",
"scan.nextInt",
"scan",
"long d = scan.nextInt();",
"d",
"scan.nextInt()",
"scan.nextInt",
"scan",
"long bc = b*c;",
"bc",
"b*c",
"b",
"c",
"long bd = b*d;",
"bd",
"b*d",
"b",
"d",
"long ac = a*c;",
"ac",
"a*c",
"a",
"c",
"long ad = a*d;",
"ad",
"a*d",
"a",
"d",
"long maxb = Math.max(bc, bd);",
"maxb",
"Math.max(bc, bd)",
"Math.max",
"Math",
"bc",
"bd",
"long maxa = Math.max(ac, ad);",
"maxa",
"Math.max(ac, ad)",
"Math.max",
"Math",
"ac",
"ad",
"os.println(Math.max(maxa,maxb))",
"os.println",
"os",
"Math.max(maxa,maxb)",
"Math.max",
"Math",
"maxa",
"maxb",
"InputStream is",
"is",
"PrintStream os",
"os",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n\n long bc = b*c;\n long bd = b*d;\n long ac = a*c;\n long ad = a*d;\n\n long maxb = Math.max(bc, bd);\n long maxa = Math.max(ac, ad);\n\n\n os.println(Math.max(maxa,maxb));\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n\n long bc = b*c;\n long bd = b*d;\n long ac = a*c;\n long ad = a*d;\n\n long maxb = Math.max(bc, bd);\n long maxa = Math.max(ac, ad);\n\n\n os.println(Math.max(maxa,maxb));\n }\n}",
"Main"
]
|
import java.io.InputStream;
import java.io.PrintStream;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
solve(System.in, System.out);
}
static void solve(InputStream is, PrintStream os) {
// Your code here!
Scanner scan = new Scanner(is);
long a = scan.nextInt();
long b = scan.nextInt();
long c = scan.nextInt();
long d = scan.nextInt();
long bc = b*c;
long bd = b*d;
long ac = a*c;
long ad = a*d;
long maxb = Math.max(bc, bd);
long maxa = Math.max(ac, ad);
os.println(Math.max(maxa,maxb));
}
} |
[
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,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
41,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
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
],
[
381,
47
],
[
381,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
381,
53
],
[
53,
54
],
[
53,
55
],
[
381,
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
],
[
381,
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
],
[
381,
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
],
[
381,
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
],
[
381,
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
],
[
381,
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
],
[
381,
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
],
[
381,
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
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
222,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
222,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
244,
245
],
[
222,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
249,
250
],
[
248,
251
],
[
251,
252
],
[
251,
253
],
[
248,
254
],
[
254,
255
],
[
254,
256
],
[
222,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
259,
262
],
[
262,
263
],
[
262,
264
],
[
259,
265
],
[
265,
266
],
[
265,
267
],
[
222,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
268,
273
],
[
273,
274
],
[
274,
275
],
[
273,
276
],
[
273,
277
],
[
220,
278
],
[
278,
279
],
[
381,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
280,
284
],
[
284,
285
],
[
280,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
280,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
296,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
295,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
305,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
294,
316
],
[
316,
317
],
[
317,
318
],
[
318,
319
],
[
280,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
324,
327
],
[
327,
328
],
[
280,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
333,
336
],
[
336,
337
],
[
280,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
343,
344
],
[
342,
345
],
[
345,
346
],
[
280,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
349,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
357,
358
],
[
358,
359
],
[
353,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
363,
364
],
[
364,
365
],
[
349,
366
],
[
366,
367
],
[
280,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
371,
372
],
[
368,
373
],
[
373,
374
],
[
280,
375
],
[
375,
376
],
[
375,
377
],
[
377,
378
],
[
378,
379
],
[
0,
380
],
[
380,
381
],
[
380,
382
]
]
| [
"\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 a = s.nextInt();\n\t\t\t\t\t\t\t\tint b = s.nextInt();\n\t\t\t\t\t\t\t\tint c = s.nextInt();\n\t\t\t\t\t\t\t\tint d = s.nextInt();\n\t\t\t\t\t\t\t\tlong max = Math.max((long)a*c, (long)a*d);\n\t\t\t\t\t\t\t\tlong m2 = Math.max((long)b*c, (long)b*d);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSystem.out.println((long)Math.max(max, m2));\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 a = s.nextInt();\n\t\t\t\t\t\t\t\tint b = s.nextInt();\n\t\t\t\t\t\t\t\tint c = s.nextInt();\n\t\t\t\t\t\t\t\tint d = s.nextInt();\n\t\t\t\t\t\t\t\tlong max = Math.max((long)a*c, (long)a*d);\n\t\t\t\t\t\t\t\tlong m2 = Math.max((long)b*c, (long)b*d);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSystem.out.println((long)Math.max(max, m2));\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 a = s.nextInt();\n\t\t\t\t\t\t\t\tint b = s.nextInt();\n\t\t\t\t\t\t\t\tint c = s.nextInt();\n\t\t\t\t\t\t\t\tint d = s.nextInt();\n\t\t\t\t\t\t\t\tlong max = Math.max((long)a*c, (long)a*d);\n\t\t\t\t\t\t\t\tlong m2 = Math.max((long)b*c, (long)b*d);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSystem.out.println((long)Math.max(max, m2));\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 a = s.nextInt();\n\t\t\t\t\t\t\t\tint b = s.nextInt();\n\t\t\t\t\t\t\t\tint c = s.nextInt();\n\t\t\t\t\t\t\t\tint d = s.nextInt();\n\t\t\t\t\t\t\t\tlong max = Math.max((long)a*c, (long)a*d);\n\t\t\t\t\t\t\t\tlong m2 = Math.max((long)b*c, (long)b*d);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSystem.out.println((long)Math.max(max, m2));\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 a = s.nextInt();",
"a",
"s.nextInt()",
"s.nextInt",
"s",
"int b = s.nextInt();",
"b",
"s.nextInt()",
"s.nextInt",
"s",
"int c = s.nextInt();",
"c",
"s.nextInt()",
"s.nextInt",
"s",
"int d = s.nextInt();",
"d",
"s.nextInt()",
"s.nextInt",
"s",
"long max = Math.max((long)a*c, (long)a*d);",
"max",
"Math.max((long)a*c, (long)a*d)",
"Math.max",
"Math",
"(long)a*c",
"(long)a",
"c",
"(long)a*d",
"(long)a",
"d",
"long m2 = Math.max((long)b*c, (long)b*d);",
"m2",
"Math.max((long)b*c, (long)b*d)",
"Math.max",
"Math",
"(long)b*c",
"(long)b",
"c",
"(long)b*d",
"(long)b",
"d",
"System.out.println((long)Math.max(max, m2))",
"System.out.println",
"System.out",
"System",
"System.out",
"(long)Math.max(max, m2)",
"Math.max",
"Math",
"max",
"m2",
"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 a = s.nextInt();\n\t\t\t\t\t\t\t\tint b = s.nextInt();\n\t\t\t\t\t\t\t\tint c = s.nextInt();\n\t\t\t\t\t\t\t\tint d = s.nextInt();\n\t\t\t\t\t\t\t\tlong max = Math.max((long)a*c, (long)a*d);\n\t\t\t\t\t\t\t\tlong m2 = Math.max((long)b*c, (long)b*d);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSystem.out.println((long)Math.max(max, m2));\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 a = s.nextInt();\n\t\t\t\t\t\t\t\tint b = s.nextInt();\n\t\t\t\t\t\t\t\tint c = s.nextInt();\n\t\t\t\t\t\t\t\tint d = s.nextInt();\n\t\t\t\t\t\t\t\tlong max = Math.max((long)a*c, (long)a*d);\n\t\t\t\t\t\t\t\tlong m2 = Math.max((long)b*c, (long)b*d);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSystem.out.println((long)Math.max(max, m2));\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 a = s.nextInt();
int b = s.nextInt();
int c = s.nextInt();
int d = s.nextInt();
long max = Math.max((long)a*c, (long)a*d);
long m2 = Math.max((long)b*c, (long)b*d);
System.out.println((long)Math.max(max, m2));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
30,
0,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
30,
0,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
30,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
122,
5
],
[
122,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
19,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
8,
56
],
[
56,
57
],
[
56,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
59,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
71,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
77,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
71,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
71,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
101,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
8,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
6,
119
],
[
119,
120
],
[
0,
121
],
[
121,
122
],
[
121,
123
]
]
| [
"import java.util.*;\n\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n\t\tString[] str = line.split(\" \", 0);\n long a = Integer.parseInt(str[0]);\n long b = Integer.parseInt(str[1]);\n long c = Integer.parseInt(str[2]);\n long d = Integer.parseInt(str[3]);\n \n\t\tlong max = 0;\n\n \tfor(int i=0;i<=3;i++){\n \tmax = a * c;\n\t\t\tif(max < a * d){\n \tmax = a * d;\n }\n\t\t\tif(max < b * c){\n \tmax = b * c;\n }\n \t\t\tif(max < b * d){\n \tmax = b * d;\n }\n }\n \n\t\tSystem.out.println(max);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n\t\tString[] str = line.split(\" \", 0);\n long a = Integer.parseInt(str[0]);\n long b = Integer.parseInt(str[1]);\n long c = Integer.parseInt(str[2]);\n long d = Integer.parseInt(str[3]);\n \n\t\tlong max = 0;\n\n \tfor(int i=0;i<=3;i++){\n \tmax = a * c;\n\t\t\tif(max < a * d){\n \tmax = a * d;\n }\n\t\t\tif(max < b * c){\n \tmax = b * c;\n }\n \t\t\tif(max < b * d){\n \tmax = b * d;\n }\n }\n \n\t\tSystem.out.println(max);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n\t\tString[] str = line.split(\" \", 0);\n long a = Integer.parseInt(str[0]);\n long b = Integer.parseInt(str[1]);\n long c = Integer.parseInt(str[2]);\n long d = Integer.parseInt(str[3]);\n \n\t\tlong max = 0;\n\n \tfor(int i=0;i<=3;i++){\n \tmax = a * c;\n\t\t\tif(max < a * d){\n \tmax = a * d;\n }\n\t\t\tif(max < b * c){\n \tmax = b * c;\n }\n \t\t\tif(max < b * d){\n \tmax = b * d;\n }\n }\n \n\t\tSystem.out.println(max);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n\t\tString[] str = line.split(\" \", 0);\n long a = Integer.parseInt(str[0]);\n long b = Integer.parseInt(str[1]);\n long c = Integer.parseInt(str[2]);\n long d = Integer.parseInt(str[3]);\n \n\t\tlong max = 0;\n\n \tfor(int i=0;i<=3;i++){\n \tmax = a * c;\n\t\t\tif(max < a * d){\n \tmax = a * d;\n }\n\t\t\tif(max < b * c){\n \tmax = b * c;\n }\n \t\t\tif(max < b * d){\n \tmax = b * d;\n }\n }\n \n\t\tSystem.out.println(max);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] str = line.split(\" \", 0);",
"str",
"line.split(\" \", 0)",
"line.split",
"line",
"\" \"",
"0",
"long a = Integer.parseInt(str[0]);",
"a",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"long b = Integer.parseInt(str[1]);",
"b",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"long c = Integer.parseInt(str[2]);",
"c",
"Integer.parseInt(str[2])",
"Integer.parseInt",
"Integer",
"str[2]",
"str",
"2",
"long d = Integer.parseInt(str[3]);",
"d",
"Integer.parseInt(str[3])",
"Integer.parseInt",
"Integer",
"str[3]",
"str",
"3",
"long max = 0;",
"max",
"0",
"for(int i=0;i<=3;i++){\n \tmax = a * c;\n\t\t\tif(max < a * d){\n \tmax = a * d;\n }\n\t\t\tif(max < b * c){\n \tmax = b * c;\n }\n \t\t\tif(max < b * d){\n \tmax = b * d;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=3",
"i",
"3",
"i++",
"i++",
"i",
"{\n \tmax = a * c;\n\t\t\tif(max < a * d){\n \tmax = a * d;\n }\n\t\t\tif(max < b * c){\n \tmax = b * c;\n }\n \t\t\tif(max < b * d){\n \tmax = b * d;\n }\n }",
"{\n \tmax = a * c;\n\t\t\tif(max < a * d){\n \tmax = a * d;\n }\n\t\t\tif(max < b * c){\n \tmax = b * c;\n }\n \t\t\tif(max < b * d){\n \tmax = b * d;\n }\n }",
"max = a * c",
"max",
"a * c",
"a",
"c",
"if(max < a * d){\n \tmax = a * d;\n }",
"max < a * d",
"max",
"a * d",
"a",
"d",
"{\n \tmax = a * d;\n }",
"max = a * d",
"max",
"a * d",
"a",
"d",
"if(max < b * c){\n \tmax = b * c;\n }",
"max < b * c",
"max",
"b * c",
"b",
"c",
"{\n \tmax = b * c;\n }",
"max = b * c",
"max",
"b * c",
"b",
"c",
"if(max < b * d){\n \tmax = b * d;\n }",
"max < b * d",
"max",
"b * d",
"b",
"d",
"{\n \tmax = b * d;\n }",
"max = b * d",
"max",
"b * d",
"b",
"d",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n\t\tString[] str = line.split(\" \", 0);\n long a = Integer.parseInt(str[0]);\n long b = Integer.parseInt(str[1]);\n long c = Integer.parseInt(str[2]);\n long d = Integer.parseInt(str[3]);\n \n\t\tlong max = 0;\n\n \tfor(int i=0;i<=3;i++){\n \tmax = a * c;\n\t\t\tif(max < a * d){\n \tmax = a * d;\n }\n\t\t\tif(max < b * c){\n \tmax = b * c;\n }\n \t\t\tif(max < b * d){\n \tmax = b * d;\n }\n }\n \n\t\tSystem.out.println(max);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n\t\tString[] str = line.split(\" \", 0);\n long a = Integer.parseInt(str[0]);\n long b = Integer.parseInt(str[1]);\n long c = Integer.parseInt(str[2]);\n long d = Integer.parseInt(str[3]);\n \n\t\tlong max = 0;\n\n \tfor(int i=0;i<=3;i++){\n \tmax = a * c;\n\t\t\tif(max < a * d){\n \tmax = a * d;\n }\n\t\t\tif(max < b * c){\n \tmax = b * c;\n }\n \t\t\tif(max < b * d){\n \tmax = b * d;\n }\n }\n \n\t\tSystem.out.println(max);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
String[] str = line.split(" ", 0);
long a = Integer.parseInt(str[0]);
long b = Integer.parseInt(str[1]);
long c = Integer.parseInt(str[2]);
long d = Integer.parseInt(str[3]);
long max = 0;
for(int i=0;i<=3;i++){
max = a * c;
if(max < a * d){
max = a * d;
}
if(max < b * c){
max = b * c;
}
if(max < b * d){
max = b * d;
}
}
System.out.println(max);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
2,
18,
13,
13,
18,
13,
13,
4,
18,
13,
13,
23,
13,
23,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
20,
4,
18,
20,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
119,
8
],
[
119,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
11,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
11,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
11,
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
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
11,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
9,
96
],
[
96,
97
],
[
9,
98
],
[
98,
99
],
[
119,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
108,
110
],
[
104,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
111,
115
],
[
100,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
]
| [
"\nimport java.util.*;\nimport java.io.*;\n\n/**\n * Made by egor https://github.com/chermehdi/egor.\n * \n * @author Azuz\n * \n */\npublic class Main {\n\n void solve(Scanner in, PrintWriter out) {\n long[] a = new long[2];\n long[] b = new long[2];\n\n\n a[0] = in.nextInt();\n a[1] = in.nextInt();\n b[0] = in.nextInt();\n b[1] = in.nextInt();\n\n long ans = Long.MIN_VALUE;\n for (int i = 0; i < 2; ++i) {\n for (int j = 0; j < 2; ++j) {\n ans = Math.max(ans, a[i] * b[j]);\n\n }\n }\n\n out.println(ans);\n }\n\n public static void main(String[] args) {\n try(Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out)) {\n new Main().solve(in, out);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n void solve(Scanner in, PrintWriter out) {\n long[] a = new long[2];\n long[] b = new long[2];\n\n\n a[0] = in.nextInt();\n a[1] = in.nextInt();\n b[0] = in.nextInt();\n b[1] = in.nextInt();\n\n long ans = Long.MIN_VALUE;\n for (int i = 0; i < 2; ++i) {\n for (int j = 0; j < 2; ++j) {\n ans = Math.max(ans, a[i] * b[j]);\n\n }\n }\n\n out.println(ans);\n }\n\n public static void main(String[] args) {\n try(Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out)) {\n new Main().solve(in, out);\n }\n }\n}",
"Main",
"void solve(Scanner in, PrintWriter out) {\n long[] a = new long[2];\n long[] b = new long[2];\n\n\n a[0] = in.nextInt();\n a[1] = in.nextInt();\n b[0] = in.nextInt();\n b[1] = in.nextInt();\n\n long ans = Long.MIN_VALUE;\n for (int i = 0; i < 2; ++i) {\n for (int j = 0; j < 2; ++j) {\n ans = Math.max(ans, a[i] * b[j]);\n\n }\n }\n\n out.println(ans);\n }",
"solve",
"{\n long[] a = new long[2];\n long[] b = new long[2];\n\n\n a[0] = in.nextInt();\n a[1] = in.nextInt();\n b[0] = in.nextInt();\n b[1] = in.nextInt();\n\n long ans = Long.MIN_VALUE;\n for (int i = 0; i < 2; ++i) {\n for (int j = 0; j < 2; ++j) {\n ans = Math.max(ans, a[i] * b[j]);\n\n }\n }\n\n out.println(ans);\n }",
"long[] a = new long[2];",
"a",
"new long[2]",
"2",
"long[] b = new long[2];",
"b",
"new long[2]",
"2",
"a[0] = in.nextInt()",
"a[0]",
"a",
"0",
"in.nextInt()",
"in.nextInt",
"in",
"a[1] = in.nextInt()",
"a[1]",
"a",
"1",
"in.nextInt()",
"in.nextInt",
"in",
"b[0] = in.nextInt()",
"b[0]",
"b",
"0",
"in.nextInt()",
"in.nextInt",
"in",
"b[1] = in.nextInt()",
"b[1]",
"b",
"1",
"in.nextInt()",
"in.nextInt",
"in",
"long ans = Long.MIN_VALUE;",
"ans",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"for (int i = 0; i < 2; ++i) {\n for (int j = 0; j < 2; ++j) {\n ans = Math.max(ans, a[i] * b[j]);\n\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 2",
"i",
"2",
"++i",
"++i",
"i",
"{\n for (int j = 0; j < 2; ++j) {\n ans = Math.max(ans, a[i] * b[j]);\n\n }\n }",
"{\n for (int j = 0; j < 2; ++j) {\n ans = Math.max(ans, a[i] * b[j]);\n\n }\n }",
"for (int j = 0; j < 2; ++j) {\n ans = Math.max(ans, a[i] * b[j]);\n\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 2",
"j",
"2",
"++j",
"++j",
"j",
"{\n ans = Math.max(ans, a[i] * b[j]);\n\n }",
"{\n ans = Math.max(ans, a[i] * b[j]);\n\n }",
"ans = Math.max(ans, a[i] * b[j])",
"ans",
"Math.max(ans, a[i] * b[j])",
"Math.max",
"Math",
"ans",
"a[i] * b[j]",
"a[i]",
"a",
"i",
"b[j]",
"b",
"j",
"out.println(ans)",
"out.println",
"out",
"ans",
"Scanner in",
"in",
"PrintWriter out",
"out",
"public static void main(String[] args) {\n try(Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out)) {\n new Main().solve(in, out);\n }\n }",
"main",
"{\n try(Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out)) {\n new Main().solve(in, out);\n }\n }",
"try(Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out)) {\n new Main().solve(in, out);\n }",
"{\n new Main().solve(in, out);\n }",
"Scanner in = new Scanner(System.in)",
"Scanner in = new Scanner(System.in)",
"new Scanner(System.in)",
"PrintWriter out = new PrintWriter(System.out)",
"PrintWriter out = new PrintWriter(System.out)",
"new PrintWriter(System.out)",
"new Main().solve(in, out)",
"new Main().solve",
"new Main()",
"in",
"out",
"String[] args",
"args",
"public class Main {\n\n void solve(Scanner in, PrintWriter out) {\n long[] a = new long[2];\n long[] b = new long[2];\n\n\n a[0] = in.nextInt();\n a[1] = in.nextInt();\n b[0] = in.nextInt();\n b[1] = in.nextInt();\n\n long ans = Long.MIN_VALUE;\n for (int i = 0; i < 2; ++i) {\n for (int j = 0; j < 2; ++j) {\n ans = Math.max(ans, a[i] * b[j]);\n\n }\n }\n\n out.println(ans);\n }\n\n public static void main(String[] args) {\n try(Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out)) {\n new Main().solve(in, out);\n }\n }\n}",
"public class Main {\n\n void solve(Scanner in, PrintWriter out) {\n long[] a = new long[2];\n long[] b = new long[2];\n\n\n a[0] = in.nextInt();\n a[1] = in.nextInt();\n b[0] = in.nextInt();\n b[1] = in.nextInt();\n\n long ans = Long.MIN_VALUE;\n for (int i = 0; i < 2; ++i) {\n for (int j = 0; j < 2; ++j) {\n ans = Math.max(ans, a[i] * b[j]);\n\n }\n }\n\n out.println(ans);\n }\n\n public static void main(String[] args) {\n try(Scanner in = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out)) {\n new Main().solve(in, out);\n }\n }\n}",
"Main"
]
|
import java.util.*;
import java.io.*;
/**
* Made by egor https://github.com/chermehdi/egor.
*
* @author Azuz
*
*/
public class Main {
void solve(Scanner in, PrintWriter out) {
long[] a = new long[2];
long[] b = new long[2];
a[0] = in.nextInt();
a[1] = in.nextInt();
b[0] = in.nextInt();
b[1] = in.nextInt();
long ans = Long.MIN_VALUE;
for (int i = 0; i < 2; ++i) {
for (int j = 0; j < 2; ++j) {
ans = Math.max(ans, a[i] * b[j]);
}
}
out.println(ans);
}
public static void main(String[] args) {
try(Scanner in = new Scanner(System.in);
PrintWriter out = new PrintWriter(System.out)) {
new Main().solve(in, out);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
17,
41,
13,
41,
13,
18,
13,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
2,
17,
18,
13,
13,
18,
13,
13,
0,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
30
],
[
30,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
11,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
59,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
71,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
87,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
83,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
97,
101
],
[
11,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
9,
108
],
[
108,
109
]
]
| [
"import java.io.*;\nimport java.util.*;\n\nclass Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder();\n String s[]=bu.readLine().split(\" \");\n int a[]=new int[4],i; long max=Long.MIN_VALUE;\n for(i=0;i<4;i++)\n a[i]=Integer.parseInt(s[i]);\n for(i=0;i<2;i++)\n for(int j=2;j<4;j++)\n {\n long cur=1l*a[i]*a[j];\n max=Math.max(max,cur);\n }\n System.out.print(max);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder();\n String s[]=bu.readLine().split(\" \");\n int a[]=new int[4],i; long max=Long.MIN_VALUE;\n for(i=0;i<4;i++)\n a[i]=Integer.parseInt(s[i]);\n for(i=0;i<2;i++)\n for(int j=2;j<4;j++)\n {\n long cur=1l*a[i]*a[j];\n max=Math.max(max,cur);\n }\n System.out.print(max);\n }\n}",
"Main",
"public static void main(String args[])throws Exception\n {\n BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder();\n String s[]=bu.readLine().split(\" \");\n int a[]=new int[4],i; long max=Long.MIN_VALUE;\n for(i=0;i<4;i++)\n a[i]=Integer.parseInt(s[i]);\n for(i=0;i<2;i++)\n for(int j=2;j<4;j++)\n {\n long cur=1l*a[i]*a[j];\n max=Math.max(max,cur);\n }\n System.out.print(max);\n }",
"main",
"{\n BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder();\n String s[]=bu.readLine().split(\" \");\n int a[]=new int[4],i; long max=Long.MIN_VALUE;\n for(i=0;i<4;i++)\n a[i]=Integer.parseInt(s[i]);\n for(i=0;i<2;i++)\n for(int j=2;j<4;j++)\n {\n long cur=1l*a[i]*a[j];\n max=Math.max(max,cur);\n }\n System.out.print(max);\n }",
"BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));",
"bu",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb=new StringBuilder();",
"sb",
"new StringBuilder()",
"String s[]=bu.readLine().split(\" \");",
"s",
"bu.readLine().split(\" \")",
"bu.readLine().split",
"bu.readLine()",
"bu.readLine",
"bu",
"\" \"",
"int a[]=new int[4]",
"a",
"new int[4]",
"4",
"i;",
"i",
"long max=Long.MIN_VALUE;",
"max",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"for(i=0;i<4;i++)\n a[i]=Integer.parseInt(s[i]);",
"i=0;",
"i=0",
"i",
"0",
"i<4",
"i",
"4",
"i++",
"i++",
"i",
"a[i]=Integer.parseInt(s[i]);",
"a[i]=Integer.parseInt(s[i])",
"a[i]",
"a",
"i",
"Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"for(i=0;i<2;i++)\n for(int j=2;j<4;j++)\n {\n long cur=1l*a[i]*a[j];\n max=Math.max(max,cur);\n }",
"i=0;",
"i=0",
"i",
"0",
"i<2",
"i",
"2",
"i++",
"i++",
"i",
"for(int j=2;j<4;j++)\n {\n long cur=1l*a[i]*a[j];\n max=Math.max(max,cur);\n }",
"for(int j=2;j<4;j++)\n {\n long cur=1l*a[i]*a[j];\n max=Math.max(max,cur);\n }",
"int j=2;",
"int j=2;",
"j",
"2",
"j<4",
"j",
"4",
"j++",
"j++",
"j",
"{\n long cur=1l*a[i]*a[j];\n max=Math.max(max,cur);\n }",
"{\n long cur=1l*a[i]*a[j];\n max=Math.max(max,cur);\n }",
"long cur=1l*a[i]*a[j];",
"cur",
"1l*a[i]*a[j]",
"1l*a[i]*a[j]",
"1l",
"a[i]",
"a",
"i",
"a[j]",
"a",
"j",
"max=Math.max(max,cur)",
"max",
"Math.max(max,cur)",
"Math.max",
"Math",
"max",
"cur",
"System.out.print(max)",
"System.out.print",
"System.out",
"System",
"System.out",
"max",
"String args[]",
"args"
]
| import java.io.*;
import java.util.*;
class Main
{
public static void main(String args[])throws Exception
{
BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb=new StringBuilder();
String s[]=bu.readLine().split(" ");
int a[]=new int[4],i; long max=Long.MIN_VALUE;
for(i=0;i<4;i++)
a[i]=Integer.parseInt(s[i]);
for(i=0;i<2;i++)
for(int j=2;j<4;j++)
{
long cur=1l*a[i]*a[j];
max=Math.max(max,cur);
}
System.out.print(max);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
4,
18,
13,
17,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
14,
2,
4,
18,
4,
18,
13,
13,
4,
18,
13,
13,
17,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
14,
2,
4,
18,
4,
18,
13,
13,
4,
18,
13,
13,
17,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
14,
2,
4,
18,
13,
13,
17,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
130,
17
],
[
130,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
32,
39
],
[
20,
40
],
[
40,
41
],
[
40,
42
],
[
20,
43
],
[
43,
44
],
[
43,
45
],
[
20,
46
],
[
46,
47
],
[
46,
48
],
[
20,
49
],
[
49,
50
],
[
49,
51
],
[
20,
52
],
[
52,
53
],
[
20,
54
],
[
54,
55
],
[
20,
56
],
[
56,
57
],
[
20,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
59,
70
],
[
58,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
58,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
20,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
85,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
84,
95
],
[
83,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
83,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
20,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
109,
114
],
[
108,
115
],
[
115,
116
],
[
115,
117
],
[
108,
118
],
[
118,
119
],
[
118,
120
],
[
20,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
121,
126
],
[
18,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.lang.*;\nimport java.math.BigInteger;\nimport java.nio.charset.StandardCharsets;\n\npublic class Main {\npublic static void main(String[] args) throws IOException{\n BufferedInputStream bis = new BufferedInputStream(System.in);\n BufferedReader r = new BufferedReader(new InputStreamReader(bis, StandardCharsets.UTF_8));\n PrintStream ps = new PrintStream(System.out);\n String str[]=r.readLine().trim().split(\" \");\n BigInteger a = new BigInteger(str[0]);\n BigInteger b = new BigInteger(str[1]);\n BigInteger c = new BigInteger(str[2]);\n BigInteger d = new BigInteger(str[3]);\n\n BigInteger amax;\n BigInteger bmax;\n BigInteger result;\n\n if (a.multiply(c).compareTo(a.multiply(d)) >= 1)\n amax = a.multiply(c);\n\n else\n amax = a.multiply(d);\n\n if (b.multiply(c).compareTo(b.multiply(d)) >= 1)\n bmax = b.multiply(c);\n\n else\n bmax = b.multiply(d);\n\n if (amax.compareTo(bmax) >= 1) \n result = amax;\n else\n result = bmax;\n\n System.out.println(result);\n \n\n \n}\n}\n ",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.nio.charset.StandardCharsets;",
"StandardCharsets",
"java.nio.charset",
"public class Main {\npublic static void main(String[] args) throws IOException{\n BufferedInputStream bis = new BufferedInputStream(System.in);\n BufferedReader r = new BufferedReader(new InputStreamReader(bis, StandardCharsets.UTF_8));\n PrintStream ps = new PrintStream(System.out);\n String str[]=r.readLine().trim().split(\" \");\n BigInteger a = new BigInteger(str[0]);\n BigInteger b = new BigInteger(str[1]);\n BigInteger c = new BigInteger(str[2]);\n BigInteger d = new BigInteger(str[3]);\n\n BigInteger amax;\n BigInteger bmax;\n BigInteger result;\n\n if (a.multiply(c).compareTo(a.multiply(d)) >= 1)\n amax = a.multiply(c);\n\n else\n amax = a.multiply(d);\n\n if (b.multiply(c).compareTo(b.multiply(d)) >= 1)\n bmax = b.multiply(c);\n\n else\n bmax = b.multiply(d);\n\n if (amax.compareTo(bmax) >= 1) \n result = amax;\n else\n result = bmax;\n\n System.out.println(result);\n \n\n \n}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedInputStream bis = new BufferedInputStream(System.in);\n BufferedReader r = new BufferedReader(new InputStreamReader(bis, StandardCharsets.UTF_8));\n PrintStream ps = new PrintStream(System.out);\n String str[]=r.readLine().trim().split(\" \");\n BigInteger a = new BigInteger(str[0]);\n BigInteger b = new BigInteger(str[1]);\n BigInteger c = new BigInteger(str[2]);\n BigInteger d = new BigInteger(str[3]);\n\n BigInteger amax;\n BigInteger bmax;\n BigInteger result;\n\n if (a.multiply(c).compareTo(a.multiply(d)) >= 1)\n amax = a.multiply(c);\n\n else\n amax = a.multiply(d);\n\n if (b.multiply(c).compareTo(b.multiply(d)) >= 1)\n bmax = b.multiply(c);\n\n else\n bmax = b.multiply(d);\n\n if (amax.compareTo(bmax) >= 1) \n result = amax;\n else\n result = bmax;\n\n System.out.println(result);\n \n\n \n}",
"main",
"{\n BufferedInputStream bis = new BufferedInputStream(System.in);\n BufferedReader r = new BufferedReader(new InputStreamReader(bis, StandardCharsets.UTF_8));\n PrintStream ps = new PrintStream(System.out);\n String str[]=r.readLine().trim().split(\" \");\n BigInteger a = new BigInteger(str[0]);\n BigInteger b = new BigInteger(str[1]);\n BigInteger c = new BigInteger(str[2]);\n BigInteger d = new BigInteger(str[3]);\n\n BigInteger amax;\n BigInteger bmax;\n BigInteger result;\n\n if (a.multiply(c).compareTo(a.multiply(d)) >= 1)\n amax = a.multiply(c);\n\n else\n amax = a.multiply(d);\n\n if (b.multiply(c).compareTo(b.multiply(d)) >= 1)\n bmax = b.multiply(c);\n\n else\n bmax = b.multiply(d);\n\n if (amax.compareTo(bmax) >= 1) \n result = amax;\n else\n result = bmax;\n\n System.out.println(result);\n \n\n \n}",
"BufferedInputStream bis = new BufferedInputStream(System.in);",
"bis",
"new BufferedInputStream(System.in)",
"BufferedReader r = new BufferedReader(new InputStreamReader(bis, StandardCharsets.UTF_8));",
"r",
"new BufferedReader(new InputStreamReader(bis, StandardCharsets.UTF_8))",
"PrintStream ps = new PrintStream(System.out);",
"ps",
"new PrintStream(System.out)",
"String str[]=r.readLine().trim().split(\" \");",
"str",
"r.readLine().trim().split(\" \")",
"r.readLine().trim().split",
"r.readLine().trim()",
"r.readLine().trim",
"r.readLine()",
"r.readLine",
"r",
"\" \"",
"BigInteger a = new BigInteger(str[0]);",
"a",
"new BigInteger(str[0])",
"BigInteger b = new BigInteger(str[1]);",
"b",
"new BigInteger(str[1])",
"BigInteger c = new BigInteger(str[2]);",
"c",
"new BigInteger(str[2])",
"BigInteger d = new BigInteger(str[3]);",
"d",
"new BigInteger(str[3])",
"BigInteger amax;",
"amax",
"BigInteger bmax;",
"bmax",
"BigInteger result;",
"result",
"if (a.multiply(c).compareTo(a.multiply(d)) >= 1)\n amax = a.multiply(c);\n\n else\n amax = a.multiply(d);",
"a.multiply(c).compareTo(a.multiply(d)) >= 1",
"a.multiply(c).compareTo(a.multiply(d))",
"a.multiply(c).compareTo",
"a.multiply(c)",
"a.multiply",
"a",
"c",
"a.multiply(d)",
"a.multiply",
"a",
"d",
"1",
"amax = a.multiply(c)",
"amax",
"a.multiply(c)",
"a.multiply",
"a",
"c",
"amax = a.multiply(d)",
"amax",
"a.multiply(d)",
"a.multiply",
"a",
"d",
"if (b.multiply(c).compareTo(b.multiply(d)) >= 1)\n bmax = b.multiply(c);\n\n else\n bmax = b.multiply(d);",
"b.multiply(c).compareTo(b.multiply(d)) >= 1",
"b.multiply(c).compareTo(b.multiply(d))",
"b.multiply(c).compareTo",
"b.multiply(c)",
"b.multiply",
"b",
"c",
"b.multiply(d)",
"b.multiply",
"b",
"d",
"1",
"bmax = b.multiply(c)",
"bmax",
"b.multiply(c)",
"b.multiply",
"b",
"c",
"bmax = b.multiply(d)",
"bmax",
"b.multiply(d)",
"b.multiply",
"b",
"d",
"if (amax.compareTo(bmax) >= 1) \n result = amax;\n else\n result = bmax;",
"amax.compareTo(bmax) >= 1",
"amax.compareTo(bmax)",
"amax.compareTo",
"amax",
"bmax",
"1",
"result = amax",
"result",
"amax",
"result = bmax",
"result",
"bmax",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\npublic static void main(String[] args) throws IOException{\n BufferedInputStream bis = new BufferedInputStream(System.in);\n BufferedReader r = new BufferedReader(new InputStreamReader(bis, StandardCharsets.UTF_8));\n PrintStream ps = new PrintStream(System.out);\n String str[]=r.readLine().trim().split(\" \");\n BigInteger a = new BigInteger(str[0]);\n BigInteger b = new BigInteger(str[1]);\n BigInteger c = new BigInteger(str[2]);\n BigInteger d = new BigInteger(str[3]);\n\n BigInteger amax;\n BigInteger bmax;\n BigInteger result;\n\n if (a.multiply(c).compareTo(a.multiply(d)) >= 1)\n amax = a.multiply(c);\n\n else\n amax = a.multiply(d);\n\n if (b.multiply(c).compareTo(b.multiply(d)) >= 1)\n bmax = b.multiply(c);\n\n else\n bmax = b.multiply(d);\n\n if (amax.compareTo(bmax) >= 1) \n result = amax;\n else\n result = bmax;\n\n System.out.println(result);\n \n\n \n}\n}",
"public class Main {\npublic static void main(String[] args) throws IOException{\n BufferedInputStream bis = new BufferedInputStream(System.in);\n BufferedReader r = new BufferedReader(new InputStreamReader(bis, StandardCharsets.UTF_8));\n PrintStream ps = new PrintStream(System.out);\n String str[]=r.readLine().trim().split(\" \");\n BigInteger a = new BigInteger(str[0]);\n BigInteger b = new BigInteger(str[1]);\n BigInteger c = new BigInteger(str[2]);\n BigInteger d = new BigInteger(str[3]);\n\n BigInteger amax;\n BigInteger bmax;\n BigInteger result;\n\n if (a.multiply(c).compareTo(a.multiply(d)) >= 1)\n amax = a.multiply(c);\n\n else\n amax = a.multiply(d);\n\n if (b.multiply(c).compareTo(b.multiply(d)) >= 1)\n bmax = b.multiply(c);\n\n else\n bmax = b.multiply(d);\n\n if (amax.compareTo(bmax) >= 1) \n result = amax;\n else\n result = bmax;\n\n System.out.println(result);\n \n\n \n}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.lang.*;
import java.math.BigInteger;
import java.nio.charset.StandardCharsets;
public class Main {
public static void main(String[] args) throws IOException{
BufferedInputStream bis = new BufferedInputStream(System.in);
BufferedReader r = new BufferedReader(new InputStreamReader(bis, StandardCharsets.UTF_8));
PrintStream ps = new PrintStream(System.out);
String str[]=r.readLine().trim().split(" ");
BigInteger a = new BigInteger(str[0]);
BigInteger b = new BigInteger(str[1]);
BigInteger c = new BigInteger(str[2]);
BigInteger d = new BigInteger(str[3]);
BigInteger amax;
BigInteger bmax;
BigInteger result;
if (a.multiply(c).compareTo(a.multiply(d)) >= 1)
amax = a.multiply(c);
else
amax = a.multiply(d);
if (b.multiply(c).compareTo(b.multiply(d)) >= 1)
bmax = b.multiply(c);
else
bmax = b.multiply(d);
if (amax.compareTo(bmax) >= 1)
result = amax;
else
result = bmax;
System.out.println(result);
}
}
|
[
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,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
91,
11
],
[
91,
12
],
[
12,
13
],
[
12,
14
],
[
91,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
17,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
17,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
17,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
17,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
17,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
17,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
15,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
]
| [
"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\tlong a = s.nextLong();\n\tlong b = s.nextLong();\n\tlong c = s.nextLong();\n\tlong d = s.nextLong();\n\t\n\tlong max = Long.MIN_VALUE;\n\tmax = Math.max(max, a*c);\n\tmax = Math.max(max, a*d);\n\tmax = Math.max(max, b*c);\n\tmax = Math.max(max, b*d);\n\n\tSystem.out.println(max);\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\tlong a = s.nextLong();\n\tlong b = s.nextLong();\n\tlong c = s.nextLong();\n\tlong d = s.nextLong();\n\t\n\tlong max = Long.MIN_VALUE;\n\tmax = Math.max(max, a*c);\n\tmax = Math.max(max, a*d);\n\tmax = Math.max(max, b*c);\n\tmax = Math.max(max, b*d);\n\n\tSystem.out.println(max);\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\tlong a = s.nextLong();\n\tlong b = s.nextLong();\n\tlong c = s.nextLong();\n\tlong d = s.nextLong();\n\t\n\tlong max = Long.MIN_VALUE;\n\tmax = Math.max(max, a*c);\n\tmax = Math.max(max, a*d);\n\tmax = Math.max(max, b*c);\n\tmax = Math.max(max, b*d);\n\n\tSystem.out.println(max);\n \n }",
"main",
"{\n\tScanner s = new Scanner(System.in);\n\tlong a = s.nextLong();\n\tlong b = s.nextLong();\n\tlong c = s.nextLong();\n\tlong d = s.nextLong();\n\t\n\tlong max = Long.MIN_VALUE;\n\tmax = Math.max(max, a*c);\n\tmax = Math.max(max, a*d);\n\tmax = Math.max(max, b*c);\n\tmax = Math.max(max, b*d);\n\n\tSystem.out.println(max);\n \n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"long a = s.nextLong();",
"a",
"s.nextLong()",
"s.nextLong",
"s",
"long b = s.nextLong();",
"b",
"s.nextLong()",
"s.nextLong",
"s",
"long c = s.nextLong();",
"c",
"s.nextLong()",
"s.nextLong",
"s",
"long d = s.nextLong();",
"d",
"s.nextLong()",
"s.nextLong",
"s",
"long max = Long.MIN_VALUE;",
"max",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"max = Math.max(max, a*c)",
"max",
"Math.max(max, a*c)",
"Math.max",
"Math",
"max",
"a*c",
"a",
"c",
"max = Math.max(max, a*d)",
"max",
"Math.max(max, a*d)",
"Math.max",
"Math",
"max",
"a*d",
"a",
"d",
"max = Math.max(max, b*c)",
"max",
"Math.max(max, b*c)",
"Math.max",
"Math",
"max",
"b*c",
"b",
"c",
"max = Math.max(max, b*d)",
"max",
"Math.max(max, b*d)",
"Math.max",
"Math",
"max",
"b*d",
"b",
"d",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"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\tlong a = s.nextLong();\n\tlong b = s.nextLong();\n\tlong c = s.nextLong();\n\tlong d = s.nextLong();\n\t\n\tlong max = Long.MIN_VALUE;\n\tmax = Math.max(max, a*c);\n\tmax = Math.max(max, a*d);\n\tmax = Math.max(max, b*c);\n\tmax = Math.max(max, b*d);\n\n\tSystem.out.println(max);\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\tlong a = s.nextLong();\n\tlong b = s.nextLong();\n\tlong c = s.nextLong();\n\tlong d = s.nextLong();\n\t\n\tlong max = Long.MIN_VALUE;\n\tmax = Math.max(max, a*c);\n\tmax = Math.max(max, a*d);\n\tmax = Math.max(max, b*c);\n\tmax = Math.max(max, b*d);\n\n\tSystem.out.println(max);\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);
long a = s.nextLong();
long b = s.nextLong();
long c = s.nextLong();
long d = s.nextLong();
long max = Long.MIN_VALUE;
max = Math.max(max, a*c);
max = Math.max(max, a*d);
max = Math.max(max, b*c);
max = Math.max(max, b*d);
System.out.println(max);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
0,
13,
4,
18,
13,
13,
2,
2,
17,
13,
13,
0,
13,
4,
18,
13,
13,
2,
2,
17,
13,
13,
0,
13,
4,
18,
13,
13,
2,
2,
17,
13,
13,
0,
13,
4,
18,
13,
13,
2,
2,
17,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
0,
13,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
0,
13,
4,
18,
13,
13,
17,
4,
18,
13,
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
],
[
391,
8
],
[
391,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
11,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
11,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
56,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
11,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
67,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
11,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
78,
82
],
[
83,
83
],
[
83,
84
],
[
83,
85
],
[
83,
86
],
[
11,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
97,
101
],
[
11,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
112,
116
],
[
11,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
11,
121
],
[
121,
122
],
[
122,
123
],
[
9,
124
],
[
124,
125
],
[
391,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
126,
130
],
[
130,
131
],
[
126,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
132,
138
],
[
138,
139
],
[
126,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
140,
146
],
[
146,
147
],
[
126,
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
],
[
160,
162
],
[
150,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
126,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
126,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
181,
182
],
[
126,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
190,
191
],
[
126,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
196,
200
],
[
126,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
205,
208
],
[
208,
209
],
[
126,
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
],
[
126,
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
],
[
241,
263
],
[
263,
264
],
[
239,
265
],
[
265,
266
],
[
126,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
269,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
274,
279
],
[
279,
280
],
[
279,
281
],
[
274,
282
],
[
282,
283
],
[
283,
284
],
[
274,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
286,
290
],
[
290,
291
],
[
269,
292
],
[
292,
293
],
[
267,
294
],
[
294,
295
],
[
126,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
298,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
303,
308
],
[
308,
309
],
[
308,
310
],
[
303,
311
],
[
311,
312
],
[
312,
313
],
[
303,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
315,
319
],
[
319,
320
],
[
298,
321
],
[
321,
322
],
[
296,
323
],
[
323,
324
],
[
126,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
330,
332
],
[
327,
333
],
[
333,
334
],
[
333,
335
],
[
327,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
338,
340
],
[
336,
341
],
[
341,
342
],
[
341,
343
],
[
336,
344
],
[
344,
345
],
[
345,
346
],
[
336,
347
],
[
348,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
352,
353
],
[
351,
354
],
[
348,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
357,
359
],
[
348,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
360,
364
],
[
364,
365
],
[
364,
366
],
[
348,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
367,
371
],
[
327,
372
],
[
372,
373
],
[
325,
374
],
[
374,
375
],
[
126,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
126,
383
],
[
383,
384
],
[
383,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
386,
389
],
[
0,
390
],
[
390,
391
],
[
390,
392
]
]
| [
"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\tint a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();\n\t\tlong max = Long.MIN_VALUE;\n\t\tmax = Math.max(max, 1l * a * c);\n\t\tmax = Math.max(max, 1l * a * d);\n\t\tmax = Math.max(max, 1l * b * c);\n\t\tmax = Math.max(max, 1l * b * d);\n\t\tif(a <= 0 && b >= 0)\n\t\t\tmax = Math.max(max, 0);\n\t\tif(c <= 0 && d >= 0)\n\t\t\tmax = Math.max(max, 0);\n\t\tpw.println(max);\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\tint a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();\n\t\tlong max = Long.MIN_VALUE;\n\t\tmax = Math.max(max, 1l * a * c);\n\t\tmax = Math.max(max, 1l * a * d);\n\t\tmax = Math.max(max, 1l * b * c);\n\t\tmax = Math.max(max, 1l * b * d);\n\t\tif(a <= 0 && b >= 0)\n\t\t\tmax = Math.max(max, 0);\n\t\tif(c <= 0 && d >= 0)\n\t\t\tmax = Math.max(max, 0);\n\t\tpw.println(max);\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\tint a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();\n\t\tlong max = Long.MIN_VALUE;\n\t\tmax = Math.max(max, 1l * a * c);\n\t\tmax = Math.max(max, 1l * a * d);\n\t\tmax = Math.max(max, 1l * b * c);\n\t\tmax = Math.max(max, 1l * b * d);\n\t\tif(a <= 0 && b >= 0)\n\t\t\tmax = Math.max(max, 0);\n\t\tif(c <= 0 && d >= 0)\n\t\t\tmax = Math.max(max, 0);\n\t\tpw.println(max);\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\tint a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();\n\t\tlong max = Long.MIN_VALUE;\n\t\tmax = Math.max(max, 1l * a * c);\n\t\tmax = Math.max(max, 1l * a * d);\n\t\tmax = Math.max(max, 1l * b * c);\n\t\tmax = Math.max(max, 1l * b * d);\n\t\tif(a <= 0 && b >= 0)\n\t\t\tmax = Math.max(max, 0);\n\t\tif(c <= 0 && d >= 0)\n\t\t\tmax = Math.max(max, 0);\n\t\tpw.println(max);\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)",
"int a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"c = sc.nextInt()",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long max = Long.MIN_VALUE;",
"max",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"max = Math.max(max, 1l * a * c)",
"max",
"Math.max(max, 1l * a * c)",
"Math.max",
"Math",
"max",
"1l * a * c",
"1l * a * c",
"1l",
"a",
"c",
"max = Math.max(max, 1l * a * d)",
"max",
"Math.max(max, 1l * a * d)",
"Math.max",
"Math",
"max",
"1l * a * d",
"1l * a * d",
"1l",
"a",
"d",
"max = Math.max(max, 1l * b * c)",
"max",
"Math.max(max, 1l * b * c)",
"Math.max",
"Math",
"max",
"1l * b * c",
"1l * b * c",
"1l",
"b",
"c",
"max = Math.max(max, 1l * b * d)",
"max",
"Math.max(max, 1l * b * d)",
"Math.max",
"Math",
"max",
"1l * b * d",
"1l * b * d",
"1l",
"b",
"d",
"if(a <= 0 && b >= 0)\n\t\t\tmax = Math.max(max, 0);",
"a <= 0 && b >= 0",
"a <= 0",
"a",
"0",
"b >= 0",
"b",
"0",
"max = Math.max(max, 0)",
"max",
"Math.max(max, 0)",
"Math.max",
"Math",
"max",
"0",
"if(c <= 0 && d >= 0)\n\t\t\tmax = Math.max(max, 0);",
"c <= 0 && d >= 0",
"c <= 0",
"c",
"0",
"d >= 0",
"d",
"0",
"max = Math.max(max, 0)",
"max",
"Math.max(max, 0)",
"Math.max",
"Math",
"max",
"0",
"pw.println(max)",
"pw.println",
"pw",
"max",
"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\tint a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();\n\t\tlong max = Long.MIN_VALUE;\n\t\tmax = Math.max(max, 1l * a * c);\n\t\tmax = Math.max(max, 1l * a * d);\n\t\tmax = Math.max(max, 1l * b * c);\n\t\tmax = Math.max(max, 1l * b * d);\n\t\tif(a <= 0 && b >= 0)\n\t\t\tmax = Math.max(max, 0);\n\t\tif(c <= 0 && d >= 0)\n\t\t\tmax = Math.max(max, 0);\n\t\tpw.println(max);\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\tint a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();\n\t\tlong max = Long.MIN_VALUE;\n\t\tmax = Math.max(max, 1l * a * c);\n\t\tmax = Math.max(max, 1l * a * d);\n\t\tmax = Math.max(max, 1l * b * c);\n\t\tmax = Math.max(max, 1l * b * d);\n\t\tif(a <= 0 && b >= 0)\n\t\t\tmax = Math.max(max, 0);\n\t\tif(c <= 0 && d >= 0)\n\t\t\tmax = Math.max(max, 0);\n\t\tpw.println(max);\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);
int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();
long max = Long.MIN_VALUE;
max = Math.max(max, 1l * a * c);
max = Math.max(max, 1l * a * d);
max = Math.max(max, 1l * b * c);
max = Math.max(max, 1l * b * d);
if(a <= 0 && b >= 0)
max = Math.max(max, 0);
if(c <= 0 && d >= 0)
max = Math.max(max, 0);
pw.println(max);
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,
6,
13,
12,
13,
30,
41,
13,
39,
13,
13,
13,
13,
41,
13,
2,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
18,
13,
13,
18,
13,
13,
0,
13,
4,
18,
13,
13,
13,
29,
13,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
113,
5
],
[
113,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
11,
14
],
[
11,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
8,
63
],
[
63,
64
],
[
6,
65
],
[
65,
66
],
[
6,
67
],
[
67,
68
],
[
6,
69
],
[
69,
70
],
[
6,
71
],
[
71,
72
],
[
113,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
75,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
75,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
75,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
75,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
104,
107
],
[
104,
108
],
[
104,
109
],
[
73,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tstatic long solve(long a , long b , long c , long d){\n\t\tlong arr[] = {a , b , c , d};\n\t\tlong ret = b * d;\n\t\tfor(int i = 0 ; i < 2 ; ++i){\n\t\t\tfor(int j = 2 ; j < 4 ; ++j){\n\t\t\t\tlong x = arr[i] * arr[j];\n\t\t\t\tret = Math.max(ret, x);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tSystem.out.println(solve(a, b, c, d));\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tstatic long solve(long a , long b , long c , long d){\n\t\tlong arr[] = {a , b , c , d};\n\t\tlong ret = b * d;\n\t\tfor(int i = 0 ; i < 2 ; ++i){\n\t\t\tfor(int j = 2 ; j < 4 ; ++j){\n\t\t\t\tlong x = arr[i] * arr[j];\n\t\t\t\tret = Math.max(ret, x);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tSystem.out.println(solve(a, b, c, d));\n\t}\n}",
"Main",
"static long solve(long a , long b , long c , long d){\n\t\tlong arr[] = {a , b , c , d};\n\t\tlong ret = b * d;\n\t\tfor(int i = 0 ; i < 2 ; ++i){\n\t\t\tfor(int j = 2 ; j < 4 ; ++j){\n\t\t\t\tlong x = arr[i] * arr[j];\n\t\t\t\tret = Math.max(ret, x);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}",
"solve",
"{\n\t\tlong arr[] = {a , b , c , d};\n\t\tlong ret = b * d;\n\t\tfor(int i = 0 ; i < 2 ; ++i){\n\t\t\tfor(int j = 2 ; j < 4 ; ++j){\n\t\t\t\tlong x = arr[i] * arr[j];\n\t\t\t\tret = Math.max(ret, x);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}",
"long arr[] = {a , b , c , d};",
"arr",
"{a , b , c , d}",
"a",
"b",
"c",
"d",
"long ret = b * d;",
"ret",
"b * d",
"b",
"d",
"for(int i = 0 ; i < 2 ; ++i){\n\t\t\tfor(int j = 2 ; j < 4 ; ++j){\n\t\t\t\tlong x = arr[i] * arr[j];\n\t\t\t\tret = Math.max(ret, x);\n\t\t\t}\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 2",
"i",
"2",
"++i",
"++i",
"i",
"{\n\t\t\tfor(int j = 2 ; j < 4 ; ++j){\n\t\t\t\tlong x = arr[i] * arr[j];\n\t\t\t\tret = Math.max(ret, x);\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j = 2 ; j < 4 ; ++j){\n\t\t\t\tlong x = arr[i] * arr[j];\n\t\t\t\tret = Math.max(ret, x);\n\t\t\t}\n\t\t}",
"for(int j = 2 ; j < 4 ; ++j){\n\t\t\t\tlong x = arr[i] * arr[j];\n\t\t\t\tret = Math.max(ret, x);\n\t\t\t}",
"int j = 2 ;",
"int j = 2 ;",
"j",
"2",
"j < 4",
"j",
"4",
"++j",
"++j",
"j",
"{\n\t\t\t\tlong x = arr[i] * arr[j];\n\t\t\t\tret = Math.max(ret, x);\n\t\t\t}",
"{\n\t\t\t\tlong x = arr[i] * arr[j];\n\t\t\t\tret = Math.max(ret, x);\n\t\t\t}",
"long x = arr[i] * arr[j];",
"x",
"arr[i] * arr[j]",
"arr[i]",
"arr",
"i",
"arr[j]",
"arr",
"j",
"ret = Math.max(ret, x)",
"ret",
"Math.max(ret, x)",
"Math.max",
"Math",
"ret",
"x",
"return ret;",
"ret",
"long a",
"a",
"long b",
"b",
"long c",
"c",
"long d",
"d",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tSystem.out.println(solve(a, b, c, d));\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tSystem.out.println(solve(a, b, c, d));\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"System.out.println(solve(a, b, c, d))",
"System.out.println",
"System.out",
"System",
"System.out",
"solve(a, b, c, d)",
"solve",
"a",
"b",
"c",
"d",
"String[] args",
"args",
"public class Main {\n\tstatic long solve(long a , long b , long c , long d){\n\t\tlong arr[] = {a , b , c , d};\n\t\tlong ret = b * d;\n\t\tfor(int i = 0 ; i < 2 ; ++i){\n\t\t\tfor(int j = 2 ; j < 4 ; ++j){\n\t\t\t\tlong x = arr[i] * arr[j];\n\t\t\t\tret = Math.max(ret, x);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tSystem.out.println(solve(a, b, c, d));\n\t}\n}",
"public class Main {\n\tstatic long solve(long a , long b , long c , long d){\n\t\tlong arr[] = {a , b , c , d};\n\t\tlong ret = b * d;\n\t\tfor(int i = 0 ; i < 2 ; ++i){\n\t\t\tfor(int j = 2 ; j < 4 ; ++j){\n\t\t\t\tlong x = arr[i] * arr[j];\n\t\t\t\tret = Math.max(ret, x);\n\t\t\t}\n\t\t}\n\t\treturn ret;\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tSystem.out.println(solve(a, b, c, d));\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
static long solve(long a , long b , long c , long d){
long arr[] = {a , b , c , d};
long ret = b * d;
for(int i = 0 ; i < 2 ; ++i){
for(int j = 2 ; j < 4 ; ++j){
long x = arr[i] * arr[j];
ret = Math.max(ret, x);
}
}
return ret;
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
System.out.println(solve(a, b, c, d));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
2,
13,
13,
17,
2,
2,
13,
13,
17,
30,
14,
2,
2,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
13,
14,
2,
2,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
100,
5
],
[
100,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
32,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
45,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
32,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
71,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
6,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t\n\t\t\n\t\t\n\t\tif(b * d < 0 && a * c < 0) {\n\t\t\tif(a * d > b * c) {\n\t\t\t\tSystem.out.println(a * d);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b * c);\n\t\t\t}\n\t\t}\telse if(b * d >= a * c) {\n\t\t\tSystem.out.println(b * d);\n\t\t} else {\n\t\t\tSystem.out.println(a * c);\n\t\t}\n\t}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t\n\t\t\n\t\t\n\t\tif(b * d < 0 && a * c < 0) {\n\t\t\tif(a * d > b * c) {\n\t\t\t\tSystem.out.println(a * d);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b * c);\n\t\t\t}\n\t\t}\telse if(b * d >= a * c) {\n\t\t\tSystem.out.println(b * d);\n\t\t} else {\n\t\t\tSystem.out.println(a * c);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t\n\t\t\n\t\t\n\t\tif(b * d < 0 && a * c < 0) {\n\t\t\tif(a * d > b * c) {\n\t\t\t\tSystem.out.println(a * d);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b * c);\n\t\t\t}\n\t\t}\telse if(b * d >= a * c) {\n\t\t\tSystem.out.println(b * d);\n\t\t} else {\n\t\t\tSystem.out.println(a * c);\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t\n\t\t\n\t\t\n\t\tif(b * d < 0 && a * c < 0) {\n\t\t\tif(a * d > b * c) {\n\t\t\t\tSystem.out.println(a * d);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b * c);\n\t\t\t}\n\t\t}\telse if(b * d >= a * c) {\n\t\t\tSystem.out.println(b * d);\n\t\t} else {\n\t\t\tSystem.out.println(a * c);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if(b * d < 0 && a * c < 0) {\n\t\t\tif(a * d > b * c) {\n\t\t\t\tSystem.out.println(a * d);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b * c);\n\t\t\t}\n\t\t}\telse if(b * d >= a * c) {\n\t\t\tSystem.out.println(b * d);\n\t\t} else {\n\t\t\tSystem.out.println(a * c);\n\t\t}",
"b * d < 0 && a * c < 0",
"b * d < 0",
"b * d",
"b",
"d",
"0",
"a * c < 0",
"a * c",
"a",
"c",
"0",
"{\n\t\t\tif(a * d > b * c) {\n\t\t\t\tSystem.out.println(a * d);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b * c);\n\t\t\t}\n\t\t}",
"if(a * d > b * c) {\n\t\t\t\tSystem.out.println(a * d);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b * c);\n\t\t\t}",
"a * d > b * c",
"a * d",
"a",
"d",
"b * c",
"b",
"c",
"{\n\t\t\t\tSystem.out.println(a * d);\n\t\t\t}",
"System.out.println(a * d)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * d",
"a",
"d",
"{\n\t\t\t\tSystem.out.println(b * c);\n\t\t\t}",
"System.out.println(b * c)",
"System.out.println",
"System.out",
"System",
"System.out",
"b * c",
"b",
"c",
"if(b * d >= a * c) {\n\t\t\tSystem.out.println(b * d);\n\t\t} else {\n\t\t\tSystem.out.println(a * c);\n\t\t}",
"b * d >= a * c",
"b * d",
"b",
"d",
"a * c",
"a",
"c",
"{\n\t\t\tSystem.out.println(b * d);\n\t\t}",
"System.out.println(b * d)",
"System.out.println",
"System.out",
"System",
"System.out",
"b * d",
"b",
"d",
"{\n\t\t\tSystem.out.println(a * c);\n\t\t}",
"System.out.println(a * c)",
"System.out.println",
"System.out",
"System",
"System.out",
"a * c",
"a",
"c",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t\n\t\t\n\t\t\n\t\tif(b * d < 0 && a * c < 0) {\n\t\t\tif(a * d > b * c) {\n\t\t\t\tSystem.out.println(a * d);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b * c);\n\t\t\t}\n\t\t}\telse if(b * d >= a * c) {\n\t\t\tSystem.out.println(b * d);\n\t\t} else {\n\t\t\tSystem.out.println(a * c);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t\n\t\t\n\t\t\n\t\tif(b * d < 0 && a * c < 0) {\n\t\t\tif(a * d > b * c) {\n\t\t\t\tSystem.out.println(a * d);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b * c);\n\t\t\t}\n\t\t}\telse if(b * d >= a * c) {\n\t\t\tSystem.out.println(b * d);\n\t\t} else {\n\t\t\tSystem.out.println(a * c);\n\t\t}\n\t}\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
if(b * d < 0 && a * c < 0) {
if(a * d > b * c) {
System.out.println(a * d);
} else {
System.out.println(b * c);
}
} else if(b * d >= a * c) {
System.out.println(b * d);
} else {
System.out.println(a * c);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
17,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
82,
8
],
[
82,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
11,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
11,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
9,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
]
| [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main { \n public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n long a=in.nextLong();\n long b=in.nextLong();\n long c=in.nextLong();\n long d=in.nextLong();\n long ar[]=new long[4];\n ar[0]=a*c;\n ar[1]=a*d;\n ar[2]=b*c;\n ar[3]=b*d;\n Arrays.sort(ar);\n \n System.out.println(ar[3]);\n \n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main { \n public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n long a=in.nextLong();\n long b=in.nextLong();\n long c=in.nextLong();\n long d=in.nextLong();\n long ar[]=new long[4];\n ar[0]=a*c;\n ar[1]=a*d;\n ar[2]=b*c;\n ar[3]=b*d;\n Arrays.sort(ar);\n \n System.out.println(ar[3]);\n \n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n long a=in.nextLong();\n long b=in.nextLong();\n long c=in.nextLong();\n long d=in.nextLong();\n long ar[]=new long[4];\n ar[0]=a*c;\n ar[1]=a*d;\n ar[2]=b*c;\n ar[3]=b*d;\n Arrays.sort(ar);\n \n System.out.println(ar[3]);\n \n }",
"main",
"{\n Scanner in=new Scanner(System.in);\n long a=in.nextLong();\n long b=in.nextLong();\n long c=in.nextLong();\n long d=in.nextLong();\n long ar[]=new long[4];\n ar[0]=a*c;\n ar[1]=a*d;\n ar[2]=b*c;\n ar[3]=b*d;\n Arrays.sort(ar);\n \n System.out.println(ar[3]);\n \n }",
"Scanner in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"long a=in.nextLong();",
"a",
"in.nextLong()",
"in.nextLong",
"in",
"long b=in.nextLong();",
"b",
"in.nextLong()",
"in.nextLong",
"in",
"long c=in.nextLong();",
"c",
"in.nextLong()",
"in.nextLong",
"in",
"long d=in.nextLong();",
"d",
"in.nextLong()",
"in.nextLong",
"in",
"long ar[]=new long[4];",
"ar",
"new long[4]",
"4",
"ar[0]=a*c",
"ar[0]",
"ar",
"0",
"a*c",
"a",
"c",
"ar[1]=a*d",
"ar[1]",
"ar",
"1",
"a*d",
"a",
"d",
"ar[2]=b*c",
"ar[2]",
"ar",
"2",
"b*c",
"b",
"c",
"ar[3]=b*d",
"ar[3]",
"ar",
"3",
"b*d",
"b",
"d",
"Arrays.sort(ar)",
"Arrays.sort",
"Arrays",
"ar",
"System.out.println(ar[3])",
"System.out.println",
"System.out",
"System",
"System.out",
"ar[3]",
"ar",
"3",
"String[] args",
"args",
"public class Main { \n public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n long a=in.nextLong();\n long b=in.nextLong();\n long c=in.nextLong();\n long d=in.nextLong();\n long ar[]=new long[4];\n ar[0]=a*c;\n ar[1]=a*d;\n ar[2]=b*c;\n ar[3]=b*d;\n Arrays.sort(ar);\n \n System.out.println(ar[3]);\n \n }\n}",
"public class Main { \n public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n long a=in.nextLong();\n long b=in.nextLong();\n long c=in.nextLong();\n long d=in.nextLong();\n long ar[]=new long[4];\n ar[0]=a*c;\n ar[1]=a*d;\n ar[2]=b*c;\n ar[3]=b*d;\n Arrays.sort(ar);\n \n System.out.println(ar[3]);\n \n }\n}",
"Main"
]
| import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in=new Scanner(System.in);
long a=in.nextLong();
long b=in.nextLong();
long c=in.nextLong();
long d=in.nextLong();
long ar[]=new long[4];
ar[0]=a*c;
ar[1]=a*d;
ar[2]=b*c;
ar[3]=b*d;
Arrays.sort(ar);
System.out.println(ar[3]);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
11,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
11,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
72,
73
],
[
9,
74
],
[
74,
75
]
]
| [
"import java.util.Scanner;\nimport java.util.Vector;\n\nclass Main {\n public static void main(String[] args) {\n Scanner ler = new Scanner(System.in);\n long a = ler.nextLong(), b = ler.nextLong(), c = ler.nextLong(), d = ler.nextLong();\n Vector<Long> v = new Vector<>();\n\n v.add(a*c);\n v.add(a*d);\n v.add(b*c);\n v.add(b*d);\n v.sort(null);\n\n System.out.println(v.lastElement());\n } \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Vector;",
"Vector",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner ler = new Scanner(System.in);\n long a = ler.nextLong(), b = ler.nextLong(), c = ler.nextLong(), d = ler.nextLong();\n Vector<Long> v = new Vector<>();\n\n v.add(a*c);\n v.add(a*d);\n v.add(b*c);\n v.add(b*d);\n v.sort(null);\n\n System.out.println(v.lastElement());\n } \n}",
"Main",
"public static void main(String[] args) {\n Scanner ler = new Scanner(System.in);\n long a = ler.nextLong(), b = ler.nextLong(), c = ler.nextLong(), d = ler.nextLong();\n Vector<Long> v = new Vector<>();\n\n v.add(a*c);\n v.add(a*d);\n v.add(b*c);\n v.add(b*d);\n v.sort(null);\n\n System.out.println(v.lastElement());\n }",
"main",
"{\n Scanner ler = new Scanner(System.in);\n long a = ler.nextLong(), b = ler.nextLong(), c = ler.nextLong(), d = ler.nextLong();\n Vector<Long> v = new Vector<>();\n\n v.add(a*c);\n v.add(a*d);\n v.add(b*c);\n v.add(b*d);\n v.sort(null);\n\n System.out.println(v.lastElement());\n }",
"Scanner ler = new Scanner(System.in);",
"ler",
"new Scanner(System.in)",
"long a = ler.nextLong()",
"a",
"ler.nextLong()",
"ler.nextLong",
"ler",
"b = ler.nextLong()",
"b",
"ler.nextLong()",
"ler.nextLong",
"ler",
"c = ler.nextLong()",
"c",
"ler.nextLong()",
"ler.nextLong",
"ler",
"d = ler.nextLong();",
"d",
"ler.nextLong()",
"ler.nextLong",
"ler",
"Vector<Long> v = new Vector<>();",
"v",
"new Vector<>()",
"v.add(a*c)",
"v.add",
"v",
"a*c",
"a",
"c",
"v.add(a*d)",
"v.add",
"v",
"a*d",
"a",
"d",
"v.add(b*c)",
"v.add",
"v",
"b*c",
"b",
"c",
"v.add(b*d)",
"v.add",
"v",
"b*d",
"b",
"d",
"v.sort(null)",
"v.sort",
"v",
"null",
"System.out.println(v.lastElement())",
"System.out.println",
"System.out",
"System",
"System.out",
"v.lastElement()",
"v.lastElement",
"v",
"String[] args",
"args"
]
| import java.util.Scanner;
import java.util.Vector;
class Main {
public static void main(String[] args) {
Scanner ler = new Scanner(System.in);
long a = ler.nextLong(), b = ler.nextLong(), c = ler.nextLong(), d = ler.nextLong();
Vector<Long> v = new Vector<>();
v.add(a*c);
v.add(a*d);
v.add(b*c);
v.add(b*d);
v.sort(null);
System.out.println(v.lastElement());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
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,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
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,
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
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
291,
23
],
[
291,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
26,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
26,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
26,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
26,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
26,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
26,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
26,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
83,
87
],
[
26,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
24,
94
],
[
94,
95
],
[
291,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
102,
104
],
[
102,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
98,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
98,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
121,
123
],
[
114,
124
],
[
124,
125
],
[
125,
126
],
[
114,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
96,
136
],
[
136,
137
],
[
291,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
144,
146
],
[
144,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
148,
151
],
[
140,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
152,
156
],
[
156,
157
],
[
157,
158
],
[
140,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
159,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
166,
168
],
[
159,
169
],
[
169,
170
],
[
170,
171
],
[
159,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
138,
181
],
[
181,
182
],
[
291,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
185,
187
],
[
183,
188
],
[
188,
189
],
[
188,
190
],
[
183,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
194,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
199,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
193,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
183,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
218,
221
],
[
221,
222
],
[
183,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
230,
235
],
[
235,
236
],
[
235,
237
],
[
230,
238
],
[
238,
239
],
[
239,
240
],
[
230,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
225,
248
],
[
248,
249
],
[
223,
250
],
[
250,
251
],
[
183,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
254,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
259,
264
],
[
264,
265
],
[
264,
266
],
[
259,
267
],
[
267,
268
],
[
268,
269
],
[
259,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
275,
276
],
[
254,
277
],
[
277,
278
],
[
252,
279
],
[
279,
280
],
[
183,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
285,
288
],
[
288,
289
],
[
0,
290
],
[
290,
291
],
[
290,
292
]
]
| [
"import javax.swing.plaf.IconUIResource;\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.nio.charset.IllegalCharsetNameException;\nimport java.util.*;\npublic class Main {\n\n public static void main(String[] args) {\n// Scanner sc = new Scanner(System.in);\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long ans1=a*c;\n long ans2=a*d;\n long ans3=b*c;\n long ans4=b*d;\n long ans=Math.max(ans1,Math.max(ans2,Math.max(ans3,ans4)));\n System.out.println(ans);\n\n\n\n\n\n\n }\n\n static void sort(int[] a) {\n ArrayList<Integer> l=new ArrayList<>();\n for (int i:a) l.add(i);\n Collections.sort(l);\n for (int i=0; i<a.length; i++) a[i]=l.get(i);\n }\n static void sortReverse(long[] a) {\n ArrayList<Long> l=new ArrayList<>();\n for (long i:a) l.add(i);\n// Collections.sort.(l);\n Collections.sort(l,Collections.reverseOrder());\n for (int i=0; i<a.length; i++) a[i]=l.get(i);\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[] readArrayLong(long n) {\n long[] a=new long[(int)n];\n for (int i=0; i<n; i++) a[i]=nextLong();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n\n}",
"import javax.swing.plaf.IconUIResource;",
"IconUIResource",
"javax.swing.plaf",
"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.nio.charset.IllegalCharsetNameException;",
"IllegalCharsetNameException",
"java.nio.charset",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n// Scanner sc = new Scanner(System.in);\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long ans1=a*c;\n long ans2=a*d;\n long ans3=b*c;\n long ans4=b*d;\n long ans=Math.max(ans1,Math.max(ans2,Math.max(ans3,ans4)));\n System.out.println(ans);\n\n\n\n\n\n\n }\n\n static void sort(int[] a) {\n ArrayList<Integer> l=new ArrayList<>();\n for (int i:a) l.add(i);\n Collections.sort(l);\n for (int i=0; i<a.length; i++) a[i]=l.get(i);\n }\n static void sortReverse(long[] a) {\n ArrayList<Long> l=new ArrayList<>();\n for (long i:a) l.add(i);\n// Collections.sort.(l);\n Collections.sort(l,Collections.reverseOrder());\n for (int i=0; i<a.length; i++) a[i]=l.get(i);\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[] readArrayLong(long n) {\n long[] a=new long[(int)n];\n for (int i=0; i<n; i++) a[i]=nextLong();\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// Scanner sc = new Scanner(System.in);\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long ans1=a*c;\n long ans2=a*d;\n long ans3=b*c;\n long ans4=b*d;\n long ans=Math.max(ans1,Math.max(ans2,Math.max(ans3,ans4)));\n System.out.println(ans);\n\n\n\n\n\n\n }",
"main",
"{\n// Scanner sc = new Scanner(System.in);\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long ans1=a*c;\n long ans2=a*d;\n long ans3=b*c;\n long ans4=b*d;\n long ans=Math.max(ans1,Math.max(ans2,Math.max(ans3,ans4)));\n System.out.println(ans);\n\n\n\n\n\n\n }",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"long a=sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b=sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c=sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d=sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long ans1=a*c;",
"ans1",
"a*c",
"a",
"c",
"long ans2=a*d;",
"ans2",
"a*d",
"a",
"d",
"long ans3=b*c;",
"ans3",
"b*c",
"b",
"c",
"long ans4=b*d;",
"ans4",
"b*d",
"b",
"d",
"long ans=Math.max(ans1,Math.max(ans2,Math.max(ans3,ans4)));",
"ans",
"Math.max(ans1,Math.max(ans2,Math.max(ans3,ans4)))",
"Math.max",
"Math",
"ans1",
"Math.max(ans2,Math.max(ans3,ans4))",
"Math.max",
"Math",
"ans2",
"Math.max(ans3,ans4)",
"Math.max",
"Math",
"ans3",
"ans4",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"static void sort(int[] a) {\n ArrayList<Integer> l=new ArrayList<>();\n for (int i:a) l.add(i);\n Collections.sort(l);\n for (int i=0; i<a.length; i++) a[i]=l.get(i);\n }",
"sort",
"{\n ArrayList<Integer> l=new ArrayList<>();\n for (int i:a) l.add(i);\n Collections.sort(l);\n for (int i=0; i<a.length; i++) a[i]=l.get(i);\n }",
"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 void sortReverse(long[] a) {\n ArrayList<Long> l=new ArrayList<>();\n for (long i:a) l.add(i);\n// Collections.sort.(l);\n Collections.sort(l,Collections.reverseOrder());\n for (int i=0; i<a.length; i++) a[i]=l.get(i);\n }",
"sortReverse",
"{\n ArrayList<Long> l=new ArrayList<>();\n for (long i:a) l.add(i);\n// Collections.sort.(l);\n Collections.sort(l,Collections.reverseOrder());\n for (int i=0; i<a.length; i++) a[i]=l.get(i);\n }",
"ArrayList<Long> l=new ArrayList<>();",
"l",
"new ArrayList<>()",
"for (long i:a) l.add(i);",
"long i",
"a",
"l.add(i);",
"l.add(i)",
"l.add",
"l",
"i",
"Collections.sort(l,Collections.reverseOrder())",
"Collections.sort",
"Collections",
"l",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"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",
"long[] a",
"a",
"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[] readArrayLong(long n) {\n long[] a=new long[(int)n];\n for (int i=0; i<n; i++) a[i]=nextLong();\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[] readArrayLong(long n) {\n long[] a=new long[(int)n];\n for (int i=0; i<n; i++) a[i]=nextLong();\n return a;\n }",
"readArrayLong",
"{\n long[] a=new long[(int)n];\n for (int i=0; i<n; i++) a[i]=nextLong();\n return a;\n }",
"long[] a=new long[(int)n];",
"a",
"new long[(int)n]",
"(int)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",
"long 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\n public static void main(String[] args) {\n// Scanner sc = new Scanner(System.in);\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long ans1=a*c;\n long ans2=a*d;\n long ans3=b*c;\n long ans4=b*d;\n long ans=Math.max(ans1,Math.max(ans2,Math.max(ans3,ans4)));\n System.out.println(ans);\n\n\n\n\n\n\n }\n\n static void sort(int[] a) {\n ArrayList<Integer> l=new ArrayList<>();\n for (int i:a) l.add(i);\n Collections.sort(l);\n for (int i=0; i<a.length; i++) a[i]=l.get(i);\n }\n static void sortReverse(long[] a) {\n ArrayList<Long> l=new ArrayList<>();\n for (long i:a) l.add(i);\n// Collections.sort.(l);\n Collections.sort(l,Collections.reverseOrder());\n for (int i=0; i<a.length; i++) a[i]=l.get(i);\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[] readArrayLong(long n) {\n long[] a=new long[(int)n];\n for (int i=0; i<n; i++) a[i]=nextLong();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n// Scanner sc = new Scanner(System.in);\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long ans1=a*c;\n long ans2=a*d;\n long ans3=b*c;\n long ans4=b*d;\n long ans=Math.max(ans1,Math.max(ans2,Math.max(ans3,ans4)));\n System.out.println(ans);\n\n\n\n\n\n\n }\n\n static void sort(int[] a) {\n ArrayList<Integer> l=new ArrayList<>();\n for (int i:a) l.add(i);\n Collections.sort(l);\n for (int i=0; i<a.length; i++) a[i]=l.get(i);\n }\n static void sortReverse(long[] a) {\n ArrayList<Long> l=new ArrayList<>();\n for (long i:a) l.add(i);\n// Collections.sort.(l);\n Collections.sort(l,Collections.reverseOrder());\n for (int i=0; i<a.length; i++) a[i]=l.get(i);\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[] readArrayLong(long n) {\n long[] a=new long[(int)n];\n for (int i=0; i<n; i++) a[i]=nextLong();\n return a;\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n\n\n}",
"Main"
]
| import javax.swing.plaf.IconUIResource;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.nio.charset.IllegalCharsetNameException;
import java.util.*;
public class Main {
public static void main(String[] args) {
// Scanner sc = new Scanner(System.in);
FastScanner sc = new FastScanner();
PrintWriter out = new PrintWriter(System.out);
long a=sc.nextLong();
long b=sc.nextLong();
long c=sc.nextLong();
long d=sc.nextLong();
long ans1=a*c;
long ans2=a*d;
long ans3=b*c;
long ans4=b*d;
long ans=Math.max(ans1,Math.max(ans2,Math.max(ans3,ans4)));
System.out.println(ans);
}
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 void sortReverse(long[] a) {
ArrayList<Long> l=new ArrayList<>();
for (long i:a) l.add(i);
// Collections.sort.(l);
Collections.sort(l,Collections.reverseOrder());
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[] readArrayLong(long n) {
long[] a=new long[(int)n];
for (int i=0; i<n; i++) a[i]=nextLong();
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,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
39,
2,
13,
13,
2,
13,
13,
2,
13,
13,
2,
13,
13,
41,
13,
18,
13,
13,
28,
13,
13,
30,
30,
0,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
102,
8
],
[
102,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
50,
52
],
[
11,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
11,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
65,
69
],
[
11,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
11,
76
],
[
76,
77
],
[
77,
78
],
[
102,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
79,
91
],
[
91,
92
],
[
102,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
93,
99
],
[
99,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
]
| [
"\nimport java.io.PrintWriter;\nimport java.util.*;\n\npublic class Main {\n void run() {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long[] arr = {a * c, a * d,b * c, b *d};\n\n long max = Long.MIN_VALUE;\n for (long l : arr) {\n max = Math.max(max, l);\n }\n\n System.out.println(max);\n\n // out.println(\"Hello World\");\n out.flush(); }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n}",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n void run() {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long[] arr = {a * c, a * d,b * c, b *d};\n\n long max = Long.MIN_VALUE;\n for (long l : arr) {\n max = Math.max(max, l);\n }\n\n System.out.println(max);\n\n // out.println(\"Hello World\");\n out.flush(); }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n}",
"Main",
"void run() {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long[] arr = {a * c, a * d,b * c, b *d};\n\n long max = Long.MIN_VALUE;\n for (long l : arr) {\n max = Math.max(max, l);\n }\n\n System.out.println(max);\n\n // out.println(\"Hello World\");\n out.flush(); }",
"run",
"{\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long[] arr = {a * c, a * d,b * c, b *d};\n\n long max = Long.MIN_VALUE;\n for (long l : arr) {\n max = Math.max(max, l);\n }\n\n System.out.println(max);\n\n // out.println(\"Hello World\");\n out.flush(); }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long[] arr = {a * c, a * d,b * c, b *d};",
"arr",
"{a * c, a * d,b * c, b *d}",
"a * c",
"a",
"c",
"a * d",
"a",
"d",
"b * c",
"b",
"c",
"b *d",
"b",
"d",
"long max = Long.MIN_VALUE;",
"max",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"for (long l : arr) {\n max = Math.max(max, l);\n }",
"long l",
"arr",
"{\n max = Math.max(max, l);\n }",
"{\n max = Math.max(max, l);\n }",
"max = Math.max(max, l)",
"max",
"Math.max(max, l)",
"Math.max",
"Math",
"max",
"l",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"out.flush()",
"out.flush",
"out",
"void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }",
"debug",
"{\n System.err.println(Arrays.deepToString(os));\n }",
"System.err.println(Arrays.deepToString(os))",
"System.err.println",
"System.err",
"System",
"System.err",
"Arrays.deepToString(os)",
"Arrays.deepToString",
"Arrays",
"os",
"Object... os",
"os",
"public static void main(String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n void run() {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long[] arr = {a * c, a * d,b * c, b *d};\n\n long max = Long.MIN_VALUE;\n for (long l : arr) {\n max = Math.max(max, l);\n }\n\n System.out.println(max);\n\n // out.println(\"Hello World\");\n out.flush(); }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n}",
"public class Main {\n void run() {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long[] arr = {a * c, a * d,b * c, b *d};\n\n long max = Long.MIN_VALUE;\n for (long l : arr) {\n max = Math.max(max, l);\n }\n\n System.out.println(max);\n\n // out.println(\"Hello World\");\n out.flush(); }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n}",
"Main"
]
|
import java.io.PrintWriter;
import java.util.*;
public class Main {
void run() {
Scanner sc = new Scanner(System.in);
PrintWriter out = new PrintWriter(System.out);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
long[] arr = {a * c, a * d,b * c, b *d};
long max = Long.MIN_VALUE;
for (long l : arr) {
max = Math.max(max, l);
}
System.out.println(max);
// out.println("Hello World");
out.flush(); }
void debug(Object... os) {
System.err.println(Arrays.deepToString(os));
}
public static void main(String[] args) {
new Main().run();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
17,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
17,
18,
13,
13,
30,
0,
18,
13,
17,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
104,
5
],
[
104,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
6,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \t\n \tlong result[] = new long[4];\n \tresult[0] = a*c;\n \tresult[1] = a*d;\n \tresult[2] = b*c;\n \tresult[3] = b*d;\n \n \tfor(int i = 1;i < 4;i++){\n if(result[0] < result[i]){\n \tresult[0] = result[i];\n }\n }\n \n \tSystem.out.print(result[0]);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \t\n \tlong result[] = new long[4];\n \tresult[0] = a*c;\n \tresult[1] = a*d;\n \tresult[2] = b*c;\n \tresult[3] = b*d;\n \n \tfor(int i = 1;i < 4;i++){\n if(result[0] < result[i]){\n \tresult[0] = result[i];\n }\n }\n \n \tSystem.out.print(result[0]);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \t\n \tlong result[] = new long[4];\n \tresult[0] = a*c;\n \tresult[1] = a*d;\n \tresult[2] = b*c;\n \tresult[3] = b*d;\n \n \tfor(int i = 1;i < 4;i++){\n if(result[0] < result[i]){\n \tresult[0] = result[i];\n }\n }\n \n \tSystem.out.print(result[0]);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \t\n \tlong result[] = new long[4];\n \tresult[0] = a*c;\n \tresult[1] = a*d;\n \tresult[2] = b*c;\n \tresult[3] = b*d;\n \n \tfor(int i = 1;i < 4;i++){\n if(result[0] < result[i]){\n \tresult[0] = result[i];\n }\n }\n \n \tSystem.out.print(result[0]);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long result[] = new long[4];",
"result",
"new long[4]",
"4",
"result[0] = a*c",
"result[0]",
"result",
"0",
"a*c",
"a",
"c",
"result[1] = a*d",
"result[1]",
"result",
"1",
"a*d",
"a",
"d",
"result[2] = b*c",
"result[2]",
"result",
"2",
"b*c",
"b",
"c",
"result[3] = b*d",
"result[3]",
"result",
"3",
"b*d",
"b",
"d",
"for(int i = 1;i < 4;i++){\n if(result[0] < result[i]){\n \tresult[0] = result[i];\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 4",
"i",
"4",
"i++",
"i++",
"i",
"{\n if(result[0] < result[i]){\n \tresult[0] = result[i];\n }\n }",
"{\n if(result[0] < result[i]){\n \tresult[0] = result[i];\n }\n }",
"if(result[0] < result[i]){\n \tresult[0] = result[i];\n }",
"result[0] < result[i]",
"result[0]",
"result",
"0",
"result[i]",
"result",
"i",
"{\n \tresult[0] = result[i];\n }",
"result[0] = result[i]",
"result[0]",
"result",
"0",
"result[i]",
"result",
"i",
"System.out.print(result[0])",
"System.out.print",
"System.out",
"System",
"System.out",
"result[0]",
"result",
"0",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \t\n \tlong result[] = new long[4];\n \tresult[0] = a*c;\n \tresult[1] = a*d;\n \tresult[2] = b*c;\n \tresult[3] = b*d;\n \n \tfor(int i = 1;i < 4;i++){\n if(result[0] < result[i]){\n \tresult[0] = result[i];\n }\n }\n \n \tSystem.out.print(result[0]);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \t\n \tlong result[] = new long[4];\n \tresult[0] = a*c;\n \tresult[1] = a*d;\n \tresult[2] = b*c;\n \tresult[3] = b*d;\n \n \tfor(int i = 1;i < 4;i++){\n if(result[0] < result[i]){\n \tresult[0] = result[i];\n }\n }\n \n \tSystem.out.print(result[0]);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextInt();
long b = sc.nextInt();
long c = sc.nextInt();
long d = sc.nextInt();
long result[] = new long[4];
result[0] = a*c;
result[1] = a*d;
result[2] = b*c;
result[3] = b*d;
for(int i = 1;i < 4;i++){
if(result[0] < result[i]){
result[0] = result[i];
}
}
System.out.print(result[0]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
2,
13,
13,
13,
30,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
13,
30,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
13,
30,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
82,
5
],
[
82,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
8,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
]
| [
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n //最大値を格納する変数ans\n long ans = a * c;\n if(a * d > ans){\n ans = a * d;\n }\n if(b * c > ans){\n ans = b * c;\n }\n if(b * d > ans){\n ans = b * d;\n }\n //ansを出力する\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n //最大値を格納する変数ans\n long ans = a * c;\n if(a * d > ans){\n ans = a * d;\n }\n if(b * c > ans){\n ans = b * c;\n }\n if(b * d > ans){\n ans = b * d;\n }\n //ansを出力する\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n //最大値を格納する変数ans\n long ans = a * c;\n if(a * d > ans){\n ans = a * d;\n }\n if(b * c > ans){\n ans = b * c;\n }\n if(b * d > ans){\n ans = b * d;\n }\n //ansを出力する\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n //最大値を格納する変数ans\n long ans = a * c;\n if(a * d > ans){\n ans = a * d;\n }\n if(b * c > ans){\n ans = b * c;\n }\n if(b * d > ans){\n ans = b * d;\n }\n //ansを出力する\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long ans = a * c;",
"ans",
"a * c",
"a",
"c",
"if(a * d > ans){\n ans = a * d;\n }",
"a * d > ans",
"a * d",
"a",
"d",
"ans",
"{\n ans = a * d;\n }",
"ans = a * d",
"ans",
"a * d",
"a",
"d",
"if(b * c > ans){\n ans = b * c;\n }",
"b * c > ans",
"b * c",
"b",
"c",
"ans",
"{\n ans = b * c;\n }",
"ans = b * c",
"ans",
"b * c",
"b",
"c",
"if(b * d > ans){\n ans = b * d;\n }",
"b * d > ans",
"b * d",
"b",
"d",
"ans",
"{\n ans = b * d;\n }",
"ans = b * d",
"ans",
"b * d",
"b",
"d",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n //最大値を格納する変数ans\n long ans = a * c;\n if(a * d > ans){\n ans = a * d;\n }\n if(b * c > ans){\n ans = b * c;\n }\n if(b * d > ans){\n ans = b * d;\n }\n //ansを出力する\n System.out.println(ans);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n //最大値を格納する変数ans\n long ans = a * c;\n if(a * d > ans){\n ans = a * d;\n }\n if(b * c > ans){\n ans = b * c;\n }\n if(b * d > ans){\n ans = b * d;\n }\n //ansを出力する\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long a = sc.nextInt();
long b = sc.nextInt();
long c = sc.nextInt();
long d = sc.nextInt();
//最大値を格納する変数ans
long ans = a * c;
if(a * d > ans){
ans = a * d;
}
if(b * c > ans){
ans = b * c;
}
if(b * d > ans){
ans = b * d;
}
//ansを出力する
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
14,
2,
2,
13,
13,
13,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
13,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
13,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
13,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
96,
11
],
[
96,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
14,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
14,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
65,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
14,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
76,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
14,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
12,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
]
| [
"/* package whatever; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\npublic class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong a = scanner.nextLong();\n\t\tlong b = scanner.nextLong();\n\t\tlong c = scanner.nextLong();\n\t\tlong d = scanner.nextLong();\n\t\t\n\t\tlong max = Long.MIN_VALUE;\n\t\t\n\t\tif(a*c > max)\n\t\t\tmax = a*c;\n\t\t\t\n\t\tif(a*d > max)\n\t\t\tmax = a*d;\n\t\t\t\n\t\tif(b*c > max)\n\t\t\tmax = b*c;\n\t\t\n\t\tif(b*d > max)\n\t\t\tmax = b*d;\n\t\t\t\n\t\tSystem.out.println(max);\n\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong a = scanner.nextLong();\n\t\tlong b = scanner.nextLong();\n\t\tlong c = scanner.nextLong();\n\t\tlong d = scanner.nextLong();\n\t\t\n\t\tlong max = Long.MIN_VALUE;\n\t\t\n\t\tif(a*c > max)\n\t\t\tmax = a*c;\n\t\t\t\n\t\tif(a*d > max)\n\t\t\tmax = a*d;\n\t\t\t\n\t\tif(b*c > max)\n\t\t\tmax = b*c;\n\t\t\n\t\tif(b*d > max)\n\t\t\tmax = b*d;\n\t\t\t\n\t\tSystem.out.println(max);\n\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong a = scanner.nextLong();\n\t\tlong b = scanner.nextLong();\n\t\tlong c = scanner.nextLong();\n\t\tlong d = scanner.nextLong();\n\t\t\n\t\tlong max = Long.MIN_VALUE;\n\t\t\n\t\tif(a*c > max)\n\t\t\tmax = a*c;\n\t\t\t\n\t\tif(a*d > max)\n\t\t\tmax = a*d;\n\t\t\t\n\t\tif(b*c > max)\n\t\t\tmax = b*c;\n\t\t\n\t\tif(b*d > max)\n\t\t\tmax = b*d;\n\t\t\t\n\t\tSystem.out.println(max);\n\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong a = scanner.nextLong();\n\t\tlong b = scanner.nextLong();\n\t\tlong c = scanner.nextLong();\n\t\tlong d = scanner.nextLong();\n\t\t\n\t\tlong max = Long.MIN_VALUE;\n\t\t\n\t\tif(a*c > max)\n\t\t\tmax = a*c;\n\t\t\t\n\t\tif(a*d > max)\n\t\t\tmax = a*d;\n\t\t\t\n\t\tif(b*c > max)\n\t\t\tmax = b*c;\n\t\t\n\t\tif(b*d > max)\n\t\t\tmax = b*d;\n\t\t\t\n\t\tSystem.out.println(max);\n\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long a = scanner.nextLong();",
"a",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long b = scanner.nextLong();",
"b",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long c = scanner.nextLong();",
"c",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long d = scanner.nextLong();",
"d",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long max = Long.MIN_VALUE;",
"max",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"if(a*c > max)\n\t\t\tmax = a*c;",
"a*c > max",
"a*c",
"a",
"c",
"max",
"max = a*c",
"max",
"a*c",
"a",
"c",
"if(a*d > max)\n\t\t\tmax = a*d;",
"a*d > max",
"a*d",
"a",
"d",
"max",
"max = a*d",
"max",
"a*d",
"a",
"d",
"if(b*c > max)\n\t\t\tmax = b*c;",
"b*c > max",
"b*c",
"b",
"c",
"max",
"max = b*c",
"max",
"b*c",
"b",
"c",
"if(b*d > max)\n\t\t\tmax = b*d;",
"b*d > max",
"b*d",
"b",
"d",
"max",
"max = b*d",
"max",
"b*d",
"b",
"d",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong a = scanner.nextLong();\n\t\tlong b = scanner.nextLong();\n\t\tlong c = scanner.nextLong();\n\t\tlong d = scanner.nextLong();\n\t\t\n\t\tlong max = Long.MIN_VALUE;\n\t\t\n\t\tif(a*c > max)\n\t\t\tmax = a*c;\n\t\t\t\n\t\tif(a*d > max)\n\t\t\tmax = a*d;\n\t\t\t\n\t\tif(b*c > max)\n\t\t\tmax = b*c;\n\t\t\n\t\tif(b*d > max)\n\t\t\tmax = b*d;\n\t\t\t\n\t\tSystem.out.println(max);\n\n\t}\n}",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong a = scanner.nextLong();\n\t\tlong b = scanner.nextLong();\n\t\tlong c = scanner.nextLong();\n\t\tlong d = scanner.nextLong();\n\t\t\n\t\tlong max = Long.MIN_VALUE;\n\t\t\n\t\tif(a*c > max)\n\t\t\tmax = a*c;\n\t\t\t\n\t\tif(a*d > max)\n\t\t\tmax = a*d;\n\t\t\t\n\t\tif(b*c > max)\n\t\t\tmax = b*c;\n\t\t\n\t\tif(b*d > max)\n\t\t\tmax = b*d;\n\t\t\t\n\t\tSystem.out.println(max);\n\n\t}\n}",
"Main"
]
| /* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner scanner = new Scanner(System.in);
long a = scanner.nextLong();
long b = scanner.nextLong();
long c = scanner.nextLong();
long d = scanner.nextLong();
long max = Long.MIN_VALUE;
if(a*c > max)
max = a*c;
if(a*d > max)
max = a*d;
if(b*c > max)
max = b*c;
if(b*d > max)
max = b*d;
System.out.println(max);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
14,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
14,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
14,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
14,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
71,
75
],
[
14,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
12,
82
],
[
82,
83
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long product=0;\n long product1=a*c;\n long product2=a*d;\n long product3=b*c;\n long product4=b*d;\n product=Math.max(product1,(Math.max(product2,Math.max(product3,product4))));\n System.out.println(product);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long product=0;\n long product1=a*c;\n long product2=a*d;\n long product3=b*c;\n long product4=b*d;\n product=Math.max(product1,(Math.max(product2,Math.max(product3,product4))));\n System.out.println(product);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long product=0;\n long product1=a*c;\n long product2=a*d;\n long product3=b*c;\n long product4=b*d;\n product=Math.max(product1,(Math.max(product2,Math.max(product3,product4))));\n System.out.println(product);\n\t}",
"main",
"{\n\t Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long product=0;\n long product1=a*c;\n long product2=a*d;\n long product3=b*c;\n long product4=b*d;\n product=Math.max(product1,(Math.max(product2,Math.max(product3,product4))));\n System.out.println(product);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a=sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b=sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c=sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d=sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long product=0;",
"product",
"0",
"long product1=a*c;",
"product1",
"a*c",
"a",
"c",
"long product2=a*d;",
"product2",
"a*d",
"a",
"d",
"long product3=b*c;",
"product3",
"b*c",
"b",
"c",
"long product4=b*d;",
"product4",
"b*d",
"b",
"d",
"product=Math.max(product1,(Math.max(product2,Math.max(product3,product4))))",
"product",
"Math.max(product1,(Math.max(product2,Math.max(product3,product4))))",
"Math.max",
"Math",
"product1",
"(Math.max(product2,Math.max(product3,product4)))",
"Math.max",
"Math",
"product2",
"Math.max(product3,product4)",
"Math.max",
"Math",
"product3",
"product4",
"System.out.println(product)",
"System.out.println",
"System.out",
"System",
"System.out",
"product",
"String[] args",
"args"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
long a=sc.nextLong();
long b=sc.nextLong();
long c=sc.nextLong();
long d=sc.nextLong();
long product=0;
long product1=a*c;
long product2=a*d;
long product3=b*c;
long product4=b*d;
product=Math.max(product1,(Math.max(product2,Math.max(product3,product4))));
System.out.println(product);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
39,
2,
13,
13,
2,
13,
13,
2,
13,
13,
2,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
91,
5
],
[
91,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
37,
44
],
[
44,
45
],
[
44,
46
],
[
37,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
8,
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
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n sc.close();\n long ansList[] = {a*c, a*d, b*c, b*d};\n long max = ansList[0];\n for(int i=0; i<ansList.length; i++) {\n if (max<ansList[i]) {\n max=ansList[i];\n }\n }\n System.out.println(max);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n sc.close();\n long ansList[] = {a*c, a*d, b*c, b*d};\n long max = ansList[0];\n for(int i=0; i<ansList.length; i++) {\n if (max<ansList[i]) {\n max=ansList[i];\n }\n }\n System.out.println(max);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n sc.close();\n long ansList[] = {a*c, a*d, b*c, b*d};\n long max = ansList[0];\n for(int i=0; i<ansList.length; i++) {\n if (max<ansList[i]) {\n max=ansList[i];\n }\n }\n System.out.println(max);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n sc.close();\n long ansList[] = {a*c, a*d, b*c, b*d};\n long max = ansList[0];\n for(int i=0; i<ansList.length; i++) {\n if (max<ansList[i]) {\n max=ansList[i];\n }\n }\n System.out.println(max);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"long ansList[] = {a*c, a*d, b*c, b*d};",
"ansList",
"{a*c, a*d, b*c, b*d}",
"a*c",
"a",
"c",
"a*d",
"a",
"d",
"b*c",
"b",
"c",
"b*d",
"b",
"d",
"long max = ansList[0];",
"max",
"ansList[0]",
"ansList",
"0",
"for(int i=0; i<ansList.length; i++) {\n if (max<ansList[i]) {\n max=ansList[i];\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ansList.length",
"i",
"ansList.length",
"ansList",
"ansList.length",
"i++",
"i++",
"i",
"{\n if (max<ansList[i]) {\n max=ansList[i];\n }\n }",
"{\n if (max<ansList[i]) {\n max=ansList[i];\n }\n }",
"if (max<ansList[i]) {\n max=ansList[i];\n }",
"max<ansList[i]",
"max",
"ansList[i]",
"ansList",
"i",
"{\n max=ansList[i];\n }",
"max=ansList[i]",
"max",
"ansList[i]",
"ansList",
"i",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n sc.close();\n long ansList[] = {a*c, a*d, b*c, b*d};\n long max = ansList[0];\n for(int i=0; i<ansList.length; i++) {\n if (max<ansList[i]) {\n max=ansList[i];\n }\n }\n System.out.println(max);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n sc.close();\n long ansList[] = {a*c, a*d, b*c, b*d};\n long max = ansList[0];\n for(int i=0; i<ansList.length; i++) {\n if (max<ansList[i]) {\n max=ansList[i];\n }\n }\n System.out.println(max);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextInt();
long b = sc.nextInt();
long c = sc.nextInt();
long d = sc.nextInt();
sc.close();
long ansList[] = {a*c, a*d, b*c, b*d};
long max = ansList[0];
for(int i=0; i<ansList.length; i++) {
if (max<ansList[i]) {
max=ansList[i];
}
}
System.out.println(max);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
13,
30,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
13,
30,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
13,
30,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long max = 0;\n\n max = a * c;\n\n if (a*d >= max) {\n max = a*d;\n }\n if (b*c>=max) {\n max = b*c;\n }\n if (b*d>=max) {\n max = b*d;\n }\n \n System.out.println(max);\n sc.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long max = 0;\n\n max = a * c;\n\n if (a*d >= max) {\n max = a*d;\n }\n if (b*c>=max) {\n max = b*c;\n }\n if (b*d>=max) {\n max = b*d;\n }\n \n System.out.println(max);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long max = 0;\n\n max = a * c;\n\n if (a*d >= max) {\n max = a*d;\n }\n if (b*c>=max) {\n max = b*c;\n }\n if (b*d>=max) {\n max = b*d;\n }\n \n System.out.println(max);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long max = 0;\n\n max = a * c;\n\n if (a*d >= max) {\n max = a*d;\n }\n if (b*c>=max) {\n max = b*c;\n }\n if (b*d>=max) {\n max = b*d;\n }\n \n System.out.println(max);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long max = 0;",
"max",
"0",
"max = a * c",
"max",
"a * c",
"a",
"c",
"if (a*d >= max) {\n max = a*d;\n }",
"a*d >= max",
"a*d",
"a",
"d",
"max",
"{\n max = a*d;\n }",
"max = a*d",
"max",
"a*d",
"a",
"d",
"if (b*c>=max) {\n max = b*c;\n }",
"b*c>=max",
"b*c",
"b",
"c",
"max",
"{\n max = b*c;\n }",
"max = b*c",
"max",
"b*c",
"b",
"c",
"if (b*d>=max) {\n max = b*d;\n }",
"b*d>=max",
"b*d",
"b",
"d",
"max",
"{\n max = b*d;\n }",
"max = b*d",
"max",
"b*d",
"b",
"d",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long max = 0;\n\n max = a * c;\n\n if (a*d >= max) {\n max = a*d;\n }\n if (b*c>=max) {\n max = b*c;\n }\n if (b*d>=max) {\n max = b*d;\n }\n \n System.out.println(max);\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long max = 0;\n\n max = a * c;\n\n if (a*d >= max) {\n max = a*d;\n }\n if (b*c>=max) {\n max = b*c;\n }\n if (b*d>=max) {\n max = b*d;\n }\n \n System.out.println(max);\n sc.close();\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextInt();
long b = sc.nextInt();
long c = sc.nextInt();
long d = sc.nextInt();
long max = 0;
max = a * c;
if (a*d >= max) {
max = a*d;
}
if (b*c>=max) {
max = b*c;
}
if (b*d>=max) {
max = b*d;
}
System.out.println(max);
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
2,
4,
18,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
14,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
14,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
14,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
14,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
77,
81
],
[
12,
82
],
[
82,
83
]
]
| [
"import java.util.Scanner;\nimport java.util.ArrayList;\nimport java.util.Collections;\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tlong b=sc.nextLong();\n\t\tlong c=sc.nextLong();\n\t\tlong d=sc.nextLong();\n\t\tArrayList<Long> al=new ArrayList<>();\n\t\tal.add(a*c);\n\t\tal.add(a*d);\n\t\tal.add(b*c);\n\t\tal.add(b*d);\n\t\tCollections.sort(al);\n\t\tSystem.out.println(al.get(al.size()-1));\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tlong b=sc.nextLong();\n\t\tlong c=sc.nextLong();\n\t\tlong d=sc.nextLong();\n\t\tArrayList<Long> al=new ArrayList<>();\n\t\tal.add(a*c);\n\t\tal.add(a*d);\n\t\tal.add(b*c);\n\t\tal.add(b*d);\n\t\tCollections.sort(al);\n\t\tSystem.out.println(al.get(al.size()-1));\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tlong b=sc.nextLong();\n\t\tlong c=sc.nextLong();\n\t\tlong d=sc.nextLong();\n\t\tArrayList<Long> al=new ArrayList<>();\n\t\tal.add(a*c);\n\t\tal.add(a*d);\n\t\tal.add(b*c);\n\t\tal.add(b*d);\n\t\tCollections.sort(al);\n\t\tSystem.out.println(al.get(al.size()-1));\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tlong b=sc.nextLong();\n\t\tlong c=sc.nextLong();\n\t\tlong d=sc.nextLong();\n\t\tArrayList<Long> al=new ArrayList<>();\n\t\tal.add(a*c);\n\t\tal.add(a*d);\n\t\tal.add(b*c);\n\t\tal.add(b*d);\n\t\tCollections.sort(al);\n\t\tSystem.out.println(al.get(al.size()-1));\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a=sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b=sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c=sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d=sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"ArrayList<Long> al=new ArrayList<>();",
"al",
"new ArrayList<>()",
"al.add(a*c)",
"al.add",
"al",
"a*c",
"a",
"c",
"al.add(a*d)",
"al.add",
"al",
"a*d",
"a",
"d",
"al.add(b*c)",
"al.add",
"al",
"b*c",
"b",
"c",
"al.add(b*d)",
"al.add",
"al",
"b*d",
"b",
"d",
"Collections.sort(al)",
"Collections.sort",
"Collections",
"al",
"System.out.println(al.get(al.size()-1))",
"System.out.println",
"System.out",
"System",
"System.out",
"al.get(al.size()-1)",
"al.get",
"al",
"al.size()-1",
"al.size()",
"al.size",
"al",
"1",
"String[] args",
"args"
]
| import java.util.Scanner;
import java.util.ArrayList;
import java.util.Collections;
class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
long a=sc.nextLong();
long b=sc.nextLong();
long c=sc.nextLong();
long d=sc.nextLong();
ArrayList<Long> al=new ArrayList<>();
al.add(a*c);
al.add(a*d);
al.add(b*c);
al.add(b*d);
Collections.sort(al);
System.out.println(al.get(al.size()-1));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
65,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\t// 2-100\n\tpublic static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong a = in.nextLong();\n\t\tlong b = in.nextLong();\n\t\tlong c = in.nextLong();\n\t\tlong d = in.nextLong();\n\t\tlong firstA = a*c;\n\t\tlong firstB = a*d;\n\t\tlong SecondA = b*c;\n\t\tlong SecondB = b*d;\n\t\tSystem.out.println(Math.max(Math.max(firstA, firstB),Math.max(SecondA, SecondB)));\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t// 2-100\n\tpublic static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong a = in.nextLong();\n\t\tlong b = in.nextLong();\n\t\tlong c = in.nextLong();\n\t\tlong d = in.nextLong();\n\t\tlong firstA = a*c;\n\t\tlong firstB = a*d;\n\t\tlong SecondA = b*c;\n\t\tlong SecondB = b*d;\n\t\tSystem.out.println(Math.max(Math.max(firstA, firstB),Math.max(SecondA, SecondB)));\n\t}\n\n}",
"Main",
"// 2-100\n\tpublic static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong a = in.nextLong();\n\t\tlong b = in.nextLong();\n\t\tlong c = in.nextLong();\n\t\tlong d = in.nextLong();\n\t\tlong firstA = a*c;\n\t\tlong firstB = a*d;\n\t\tlong SecondA = b*c;\n\t\tlong SecondB = b*d;\n\t\tSystem.out.println(Math.max(Math.max(firstA, firstB),Math.max(SecondA, SecondB)));\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tlong a = in.nextLong();\n\t\tlong b = in.nextLong();\n\t\tlong c = in.nextLong();\n\t\tlong d = in.nextLong();\n\t\tlong firstA = a*c;\n\t\tlong firstB = a*d;\n\t\tlong SecondA = b*c;\n\t\tlong SecondB = b*d;\n\t\tSystem.out.println(Math.max(Math.max(firstA, firstB),Math.max(SecondA, SecondB)));\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"long a = in.nextLong();",
"a",
"in.nextLong()",
"in.nextLong",
"in",
"long b = in.nextLong();",
"b",
"in.nextLong()",
"in.nextLong",
"in",
"long c = in.nextLong();",
"c",
"in.nextLong()",
"in.nextLong",
"in",
"long d = in.nextLong();",
"d",
"in.nextLong()",
"in.nextLong",
"in",
"long firstA = a*c;",
"firstA",
"a*c",
"a",
"c",
"long firstB = a*d;",
"firstB",
"a*d",
"a",
"d",
"long SecondA = b*c;",
"SecondA",
"b*c",
"b",
"c",
"long SecondB = b*d;",
"SecondB",
"b*d",
"b",
"d",
"System.out.println(Math.max(Math.max(firstA, firstB),Math.max(SecondA, SecondB)))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.max(Math.max(firstA, firstB),Math.max(SecondA, SecondB))",
"Math.max",
"Math",
"Math.max(firstA, firstB)",
"Math.max",
"Math",
"firstA",
"firstB",
"Math.max(SecondA, SecondB)",
"Math.max",
"Math",
"SecondA",
"SecondB",
"String args[]",
"args",
"public class Main {\n\t// 2-100\n\tpublic static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong a = in.nextLong();\n\t\tlong b = in.nextLong();\n\t\tlong c = in.nextLong();\n\t\tlong d = in.nextLong();\n\t\tlong firstA = a*c;\n\t\tlong firstB = a*d;\n\t\tlong SecondA = b*c;\n\t\tlong SecondB = b*d;\n\t\tSystem.out.println(Math.max(Math.max(firstA, firstB),Math.max(SecondA, SecondB)));\n\t}\n\n}",
"public class Main {\n\t// 2-100\n\tpublic static void main(String args[]) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong a = in.nextLong();\n\t\tlong b = in.nextLong();\n\t\tlong c = in.nextLong();\n\t\tlong d = in.nextLong();\n\t\tlong firstA = a*c;\n\t\tlong firstB = a*d;\n\t\tlong SecondA = b*c;\n\t\tlong SecondB = b*d;\n\t\tSystem.out.println(Math.max(Math.max(firstA, firstB),Math.max(SecondA, SecondB)));\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
// 2-100
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
long a = in.nextLong();
long b = in.nextLong();
long c = in.nextLong();
long d = in.nextLong();
long firstA = a*c;
long firstB = a*d;
long SecondA = b*c;
long SecondB = b*d;
System.out.println(Math.max(Math.max(firstA, firstB),Math.max(SecondA, SecondB)));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
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
],
[
360,
8
],
[
360,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
44,
50
],
[
50,
51
],
[
50,
52
],
[
41,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
53,
59
],
[
59,
60
],
[
59,
61
],
[
11,
62
],
[
62,
63
],
[
63,
64
],
[
9,
65
],
[
65,
66
],
[
360,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
75,
76
],
[
75,
77
],
[
69,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
86,
87
],
[
87,
88
],
[
78,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
91,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
69,
104
],
[
104,
105
],
[
67,
106
],
[
106,
107
],
[
67,
108
],
[
108,
109
],
[
360,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
118,
121
],
[
110,
122
],
[
122,
123
],
[
110,
124
],
[
124,
125
],
[
360,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
129,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
136,
139
],
[
139,
140
],
[
139,
141
],
[
126,
142
],
[
142,
143
],
[
126,
144
],
[
144,
145
],
[
360,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
146,
155
],
[
155,
156
],
[
146,
157
],
[
157,
158
],
[
360,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
161,
163
],
[
159,
164
],
[
164,
165
],
[
164,
166
],
[
159,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
170,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
175,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
169,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
159,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
194,
197
],
[
197,
198
],
[
159,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
203,
206
],
[
206,
207
],
[
159,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
215,
220
],
[
220,
221
],
[
220,
222
],
[
215,
223
],
[
223,
224
],
[
224,
225
],
[
215,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
231,
232
],
[
210,
233
],
[
233,
234
],
[
208,
235
],
[
235,
236
],
[
159,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
244,
249
],
[
249,
250
],
[
249,
251
],
[
244,
252
],
[
252,
253
],
[
253,
254
],
[
244,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
260,
261
],
[
239,
262
],
[
262,
263
],
[
237,
264
],
[
264,
265
],
[
159,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
268,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
275,
277
],
[
273,
278
],
[
278,
279
],
[
278,
280
],
[
273,
281
],
[
281,
282
],
[
282,
283
],
[
273,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
285,
289
],
[
289,
290
],
[
268,
291
],
[
291,
292
],
[
266,
293
],
[
293,
294
],
[
266,
295
],
[
295,
296
],
[
360,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
297,
301
],
[
301,
302
],
[
297,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
305,
309
],
[
309,
310
],
[
309,
311
],
[
303,
312
],
[
312,
313
],
[
303,
314
],
[
314,
315
],
[
297,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
319,
320
],
[
297,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
324,
325
],
[
297,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
333,
334
],
[
331,
335
],
[
335,
336
],
[
336,
337
],
[
330,
338
],
[
329,
339
],
[
339,
340
],
[
340,
341
],
[
329,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
344,
348
],
[
348,
349
],
[
349,
350
],
[
343,
351
],
[
342,
352
],
[
352,
353
],
[
342,
354
],
[
354,
355
],
[
326,
356
],
[
356,
357
],
[
297,
358
],
[
0,
359
],
[
359,
360
],
[
359,
361
]
]
| [
"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 long a = in.nextInt() , b = in.nextInt() , c = in.nextInt() , d = in.nextInt();\n out.println(Math.max(Math.max(a*c, a*d), Math.max(b*c, b*d)));\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 long a = in.nextInt() , b = in.nextInt() , c = in.nextInt() , d = in.nextInt();\n out.println(Math.max(Math.max(a*c, a*d), Math.max(b*c, b*d)));\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 long a = in.nextInt() , b = in.nextInt() , c = in.nextInt() , d = in.nextInt();\n out.println(Math.max(Math.max(a*c, a*d), Math.max(b*c, b*d)));\n out.flush();\n\t}",
"main",
"{\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n long a = in.nextInt() , b = in.nextInt() , c = in.nextInt() , d = in.nextInt();\n out.println(Math.max(Math.max(a*c, a*d), Math.max(b*c, b*d)));\n out.flush();\n\t}",
"FastScanner in = new FastScanner();",
"in",
"new FastScanner()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"long a = in.nextInt()",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"b = in.nextInt()",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"c = in.nextInt()",
"c",
"in.nextInt()",
"in.nextInt",
"in",
"d = in.nextInt();",
"d",
"in.nextInt()",
"in.nextInt",
"in",
"out.println(Math.max(Math.max(a*c, a*d), Math.max(b*c, b*d)))",
"out.println",
"out",
"Math.max(Math.max(a*c, a*d), Math.max(b*c, b*d))",
"Math.max",
"Math",
"Math.max(a*c, a*d)",
"Math.max",
"Math",
"a*c",
"a",
"c",
"a*d",
"a",
"d",
"Math.max(b*c, b*d)",
"Math.max",
"Math",
"b*c",
"b",
"c",
"b*d",
"b",
"d",
"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 long a = in.nextInt() , b = in.nextInt() , c = in.nextInt() , d = in.nextInt();\n out.println(Math.max(Math.max(a*c, a*d), Math.max(b*c, b*d)));\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 long a = in.nextInt() , b = in.nextInt() , c = in.nextInt() , d = in.nextInt();\n out.println(Math.max(Math.max(a*c, a*d), Math.max(b*c, b*d)));\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);
long a = in.nextInt() , b = in.nextInt() , c = in.nextInt() , d = in.nextInt();
out.println(Math.max(Math.max(a*c, a*d), Math.max(b*c, b*d)));
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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
39,
2,
13,
13,
2,
13,
13,
2,
13,
13,
2,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
52,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
67,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
8,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
]
]
| [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long[] array = {a * c, a * d, b * c, b * d};\n long max = array[0];\n for(int i = 1; i < array.length; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n }\n System.out.println(max);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long[] array = {a * c, a * d, b * c, b * d};\n long max = array[0];\n for(int i = 1; i < array.length; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n }\n System.out.println(max);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long[] array = {a * c, a * d, b * c, b * d};\n long max = array[0];\n for(int i = 1; i < array.length; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n }\n System.out.println(max);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long[] array = {a * c, a * d, b * c, b * d};\n long max = array[0];\n for(int i = 1; i < array.length; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n }\n System.out.println(max);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long[] array = {a * c, a * d, b * c, b * d};",
"array",
"{a * c, a * d, b * c, b * d}",
"a * c",
"a",
"c",
"a * d",
"a",
"d",
"b * c",
"b",
"c",
"b * d",
"b",
"d",
"long max = array[0];",
"max",
"array[0]",
"array",
"0",
"for(int i = 1; i < array.length; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n if (max < array[i]) {\n max = array[i];\n }\n }",
"{\n if (max < array[i]) {\n max = array[i];\n }\n }",
"if (max < array[i]) {\n max = array[i];\n }",
"max < array[i]",
"max",
"array[i]",
"array",
"i",
"{\n max = array[i];\n }",
"max = array[i]",
"max",
"array[i]",
"array",
"i",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
long[] array = {a * c, a * d, b * c, b * d};
long max = array[0];
for(int i = 1; i < array.length; i++) {
if (max < array[i]) {
max = array[i];
}
}
System.out.println(max);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
13,
30,
41,
13,
20,
17,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
4,
18,
13,
13,
14,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
18,
13,
17,
30,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
157,
8
],
[
157,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
11,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
35,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
52,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
69,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
69,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
69,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
69,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
69,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
106,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
106,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
128,
130
],
[
123,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
135,
137
],
[
122,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
139,
144
],
[
122,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
146,
151
],
[
151,
152
],
[
151,
153
],
[
9,
154
],
[
154,
155
],
[
0,
156
],
[
156,
157
],
[
156,
158
]
]
| [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tif (a>=0&&c>=0) {\n\t\t\tSystem.out.println(b*d);\n\t\t} else if (b<=0&&d<=0) {\n\t\t\tSystem.out.println(a*c);\n\t\t} else {\n\t\t\tlong t[] = new long[4];\n\t\t\tt[0] = a*c;\n\t\t\tt[1] = a*d;\n\t\t\tt[2]= b*c;\n\t\t\tt[3] = b*d;\n\t\t\tArrays.sort(t);\n\t\t\tif (t[3]>=0) {\n\t\t\t\tSystem.out.println(t[3]);\n\t\t\t} else {\n\t\t\t\tif ((b>0&&a<0)||(d>0&&c<0)) {\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\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 sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tif (a>=0&&c>=0) {\n\t\t\tSystem.out.println(b*d);\n\t\t} else if (b<=0&&d<=0) {\n\t\t\tSystem.out.println(a*c);\n\t\t} else {\n\t\t\tlong t[] = new long[4];\n\t\t\tt[0] = a*c;\n\t\t\tt[1] = a*d;\n\t\t\tt[2]= b*c;\n\t\t\tt[3] = b*d;\n\t\t\tArrays.sort(t);\n\t\t\tif (t[3]>=0) {\n\t\t\t\tSystem.out.println(t[3]);\n\t\t\t} else {\n\t\t\t\tif ((b>0&&a<0)||(d>0&&c<0)) {\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tif (a>=0&&c>=0) {\n\t\t\tSystem.out.println(b*d);\n\t\t} else if (b<=0&&d<=0) {\n\t\t\tSystem.out.println(a*c);\n\t\t} else {\n\t\t\tlong t[] = new long[4];\n\t\t\tt[0] = a*c;\n\t\t\tt[1] = a*d;\n\t\t\tt[2]= b*c;\n\t\t\tt[3] = b*d;\n\t\t\tArrays.sort(t);\n\t\t\tif (t[3]>=0) {\n\t\t\t\tSystem.out.println(t[3]);\n\t\t\t} else {\n\t\t\t\tif ((b>0&&a<0)||(d>0&&c<0)) {\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tif (a>=0&&c>=0) {\n\t\t\tSystem.out.println(b*d);\n\t\t} else if (b<=0&&d<=0) {\n\t\t\tSystem.out.println(a*c);\n\t\t} else {\n\t\t\tlong t[] = new long[4];\n\t\t\tt[0] = a*c;\n\t\t\tt[1] = a*d;\n\t\t\tt[2]= b*c;\n\t\t\tt[3] = b*d;\n\t\t\tArrays.sort(t);\n\t\t\tif (t[3]>=0) {\n\t\t\t\tSystem.out.println(t[3]);\n\t\t\t} else {\n\t\t\t\tif ((b>0&&a<0)||(d>0&&c<0)) {\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (a>=0&&c>=0) {\n\t\t\tSystem.out.println(b*d);\n\t\t} else if (b<=0&&d<=0) {\n\t\t\tSystem.out.println(a*c);\n\t\t} else {\n\t\t\tlong t[] = new long[4];\n\t\t\tt[0] = a*c;\n\t\t\tt[1] = a*d;\n\t\t\tt[2]= b*c;\n\t\t\tt[3] = b*d;\n\t\t\tArrays.sort(t);\n\t\t\tif (t[3]>=0) {\n\t\t\t\tSystem.out.println(t[3]);\n\t\t\t} else {\n\t\t\t\tif ((b>0&&a<0)||(d>0&&c<0)) {\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"a>=0&&c>=0",
"a>=0",
"a",
"0",
"c>=0",
"c",
"0",
"{\n\t\t\tSystem.out.println(b*d);\n\t\t}",
"System.out.println(b*d)",
"System.out.println",
"System.out",
"System",
"System.out",
"b*d",
"b",
"d",
"if (b<=0&&d<=0) {\n\t\t\tSystem.out.println(a*c);\n\t\t} else {\n\t\t\tlong t[] = new long[4];\n\t\t\tt[0] = a*c;\n\t\t\tt[1] = a*d;\n\t\t\tt[2]= b*c;\n\t\t\tt[3] = b*d;\n\t\t\tArrays.sort(t);\n\t\t\tif (t[3]>=0) {\n\t\t\t\tSystem.out.println(t[3]);\n\t\t\t} else {\n\t\t\t\tif ((b>0&&a<0)||(d>0&&c<0)) {\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"b<=0&&d<=0",
"b<=0",
"b",
"0",
"d<=0",
"d",
"0",
"{\n\t\t\tSystem.out.println(a*c);\n\t\t}",
"System.out.println(a*c)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*c",
"a",
"c",
"{\n\t\t\tlong t[] = new long[4];\n\t\t\tt[0] = a*c;\n\t\t\tt[1] = a*d;\n\t\t\tt[2]= b*c;\n\t\t\tt[3] = b*d;\n\t\t\tArrays.sort(t);\n\t\t\tif (t[3]>=0) {\n\t\t\t\tSystem.out.println(t[3]);\n\t\t\t} else {\n\t\t\t\tif ((b>0&&a<0)||(d>0&&c<0)) {\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"long t[] = new long[4];",
"t",
"new long[4]",
"4",
"t[0] = a*c",
"t[0]",
"t",
"0",
"a*c",
"a",
"c",
"t[1] = a*d",
"t[1]",
"t",
"1",
"a*d",
"a",
"d",
"t[2]= b*c",
"t[2]",
"t",
"2",
"b*c",
"b",
"c",
"t[3] = b*d",
"t[3]",
"t",
"3",
"b*d",
"b",
"d",
"Arrays.sort(t)",
"Arrays.sort",
"Arrays",
"t",
"if (t[3]>=0) {\n\t\t\t\tSystem.out.println(t[3]);\n\t\t\t} else {\n\t\t\t\tif ((b>0&&a<0)||(d>0&&c<0)) {\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}\n\t\t\t}",
"t[3]>=0",
"t[3]",
"t",
"3",
"0",
"{\n\t\t\t\tSystem.out.println(t[3]);\n\t\t\t}",
"System.out.println(t[3])",
"System.out.println",
"System.out",
"System",
"System.out",
"t[3]",
"t",
"3",
"{\n\t\t\t\tif ((b>0&&a<0)||(d>0&&c<0)) {\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}\n\t\t\t}",
"if ((b>0&&a<0)||(d>0&&c<0)) {\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}",
"(b>0&&a<0)||(d>0&&c<0)",
"(b>0&&a<0)",
"b>0",
"b",
"0",
"a<0",
"a",
"0",
"(d>0&&c<0)",
"d>0",
"d",
"0",
"c<0",
"c",
"0",
"{\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t}",
"System.out.println(0)",
"System.out.println",
"System.out",
"System",
"System.out",
"0",
"{\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}",
"System.out.println(t[3])",
"System.out.println",
"System.out",
"System",
"System.out",
"t[3]",
"t",
"3",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tif (a>=0&&c>=0) {\n\t\t\tSystem.out.println(b*d);\n\t\t} else if (b<=0&&d<=0) {\n\t\t\tSystem.out.println(a*c);\n\t\t} else {\n\t\t\tlong t[] = new long[4];\n\t\t\tt[0] = a*c;\n\t\t\tt[1] = a*d;\n\t\t\tt[2]= b*c;\n\t\t\tt[3] = b*d;\n\t\t\tArrays.sort(t);\n\t\t\tif (t[3]>=0) {\n\t\t\t\tSystem.out.println(t[3]);\n\t\t\t} else {\n\t\t\t\tif ((b>0&&a<0)||(d>0&&c<0)) {\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tif (a>=0&&c>=0) {\n\t\t\tSystem.out.println(b*d);\n\t\t} else if (b<=0&&d<=0) {\n\t\t\tSystem.out.println(a*c);\n\t\t} else {\n\t\t\tlong t[] = new long[4];\n\t\t\tt[0] = a*c;\n\t\t\tt[1] = a*d;\n\t\t\tt[2]= b*c;\n\t\t\tt[3] = b*d;\n\t\t\tArrays.sort(t);\n\t\t\tif (t[3]>=0) {\n\t\t\t\tSystem.out.println(t[3]);\n\t\t\t} else {\n\t\t\t\tif ((b>0&&a<0)||(d>0&&c<0)) {\n\t\t\t\t\tSystem.out.println(0);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(t[3]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextInt();
long b = sc.nextInt();
long c = sc.nextInt();
long d = sc.nextInt();
if (a>=0&&c>=0) {
System.out.println(b*d);
} else if (b<=0&&d<=0) {
System.out.println(a*c);
} else {
long t[] = new long[4];
t[0] = a*c;
t[1] = a*d;
t[2]= b*c;
t[3] = b*d;
Arrays.sort(t);
if (t[3]>=0) {
System.out.println(t[3]);
} else {
if ((b>0&&a<0)||(d>0&&c<0)) {
System.out.println(0);
} else {
System.out.println(t[3]);
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
79,
5
],
[
79,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
8,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
8,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
65,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\t\tscan.close();\n\n\n\n\t\tlong max1 =a*c;\n\t\tlong max2 =a*d;\n\n\t\tlong max3 =b*c;\n\t\tlong max4 =b*d;\n\n\t\tlong max = Math.max(Math.max(max1,max2),Math.max(max3, max4));\n\n\t\tSystem.out.println(max);\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\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\t\tscan.close();\n\n\n\n\t\tlong max1 =a*c;\n\t\tlong max2 =a*d;\n\n\t\tlong max3 =b*c;\n\t\tlong max4 =b*d;\n\n\t\tlong max = Math.max(Math.max(max1,max2),Math.max(max3, max4));\n\n\t\tSystem.out.println(max);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\t\tscan.close();\n\n\n\n\t\tlong max1 =a*c;\n\t\tlong max2 =a*d;\n\n\t\tlong max3 =b*c;\n\t\tlong max4 =b*d;\n\n\t\tlong max = Math.max(Math.max(max1,max2),Math.max(max3, max4));\n\n\t\tSystem.out.println(max);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\t\tscan.close();\n\n\n\n\t\tlong max1 =a*c;\n\t\tlong max2 =a*d;\n\n\t\tlong max3 =b*c;\n\t\tlong max4 =b*d;\n\n\t\tlong max = Math.max(Math.max(max1,max2),Math.max(max3, max4));\n\n\t\tSystem.out.println(max);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long a = scan.nextLong();",
"a",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long b = scan.nextLong();",
"b",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long c = scan.nextLong();",
"c",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long d = scan.nextLong();",
"d",
"scan.nextLong()",
"scan.nextLong",
"scan",
"scan.close()",
"scan.close",
"scan",
"long max1 =a*c;",
"max1",
"a*c",
"a",
"c",
"long max2 =a*d;",
"max2",
"a*d",
"a",
"d",
"long max3 =b*c;",
"max3",
"b*c",
"b",
"c",
"long max4 =b*d;",
"max4",
"b*d",
"b",
"d",
"long max = Math.max(Math.max(max1,max2),Math.max(max3, max4));",
"max",
"Math.max(Math.max(max1,max2),Math.max(max3, max4))",
"Math.max",
"Math",
"Math.max(max1,max2)",
"Math.max",
"Math",
"max1",
"max2",
"Math.max(max3, max4)",
"Math.max",
"Math",
"max3",
"max4",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\t\tscan.close();\n\n\n\n\t\tlong max1 =a*c;\n\t\tlong max2 =a*d;\n\n\t\tlong max3 =b*c;\n\t\tlong max4 =b*d;\n\n\t\tlong max = Math.max(Math.max(max1,max2),Math.max(max3, max4));\n\n\t\tSystem.out.println(max);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\t\tscan.close();\n\n\n\n\t\tlong max1 =a*c;\n\t\tlong max2 =a*d;\n\n\t\tlong max3 =b*c;\n\t\tlong max4 =b*d;\n\n\t\tlong max = Math.max(Math.max(max1,max2),Math.max(max3, max4));\n\n\t\tSystem.out.println(max);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long a = scan.nextLong();
long b = scan.nextLong();
long c = scan.nextLong();
long d = scan.nextLong();
scan.close();
long max1 =a*c;
long max2 =a*d;
long max3 =b*c;
long max4 =b*d;
long max = Math.max(Math.max(max1,max2),Math.max(max3, max4));
System.out.println(max);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
18,
13,
13,
14,
2,
2,
13,
13,
17,
30,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
2,
13,
13,
17,
30,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
136,
5
],
[
136,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
8,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
93,
97
],
[
97,
98
],
[
97,
99
],
[
8,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
102,
106
],
[
106,
107
],
[
106,
108
],
[
8,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
111,
115
],
[
115,
116
],
[
115,
117
],
[
8,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
120,
124
],
[
124,
125
],
[
124,
126
],
[
8,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
6,
133
],
[
133,
134
],
[
0,
135
],
[
135,
136
],
[
135,
137
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n long max = Long.MIN_VALUE;\n if(a - b != 0){\n if(a == 0) a += 1;\n if(b == 0) b -= 1;\n }\n if(c - d != 0){\n if(c == 0) c += 1;\n if(d == 0) d -= 1;\n }\n max = Math.max(max, a * c);\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n System.out.println(max);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n long max = Long.MIN_VALUE;\n if(a - b != 0){\n if(a == 0) a += 1;\n if(b == 0) b -= 1;\n }\n if(c - d != 0){\n if(c == 0) c += 1;\n if(d == 0) d -= 1;\n }\n max = Math.max(max, a * c);\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n System.out.println(max);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n long max = Long.MIN_VALUE;\n if(a - b != 0){\n if(a == 0) a += 1;\n if(b == 0) b -= 1;\n }\n if(c - d != 0){\n if(c == 0) c += 1;\n if(d == 0) d -= 1;\n }\n max = Math.max(max, a * c);\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n System.out.println(max);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n long max = Long.MIN_VALUE;\n if(a - b != 0){\n if(a == 0) a += 1;\n if(b == 0) b -= 1;\n }\n if(c - d != 0){\n if(c == 0) c += 1;\n if(d == 0) d -= 1;\n }\n max = Math.max(max, a * c);\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n System.out.println(max);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = Long.parseLong(sc.next());",
"a",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"long b = Long.parseLong(sc.next());",
"b",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"long c = Long.parseLong(sc.next());",
"c",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"long d = Long.parseLong(sc.next());",
"d",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"long max = Long.MIN_VALUE;",
"max",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"if(a - b != 0){\n if(a == 0) a += 1;\n if(b == 0) b -= 1;\n }",
"a - b != 0",
"a - b",
"a",
"b",
"0",
"{\n if(a == 0) a += 1;\n if(b == 0) b -= 1;\n }",
"if(a == 0) a += 1;",
"a == 0",
"a",
"0",
"a += 1",
"a",
"1",
"if(b == 0) b -= 1;",
"b == 0",
"b",
"0",
"b -= 1",
"b",
"1",
"if(c - d != 0){\n if(c == 0) c += 1;\n if(d == 0) d -= 1;\n }",
"c - d != 0",
"c - d",
"c",
"d",
"0",
"{\n if(c == 0) c += 1;\n if(d == 0) d -= 1;\n }",
"if(c == 0) c += 1;",
"c == 0",
"c",
"0",
"c += 1",
"c",
"1",
"if(d == 0) d -= 1;",
"d == 0",
"d",
"0",
"d -= 1",
"d",
"1",
"max = Math.max(max, a * c)",
"max",
"Math.max(max, a * c)",
"Math.max",
"Math",
"max",
"a * c",
"a",
"c",
"max = Math.max(max, a * d)",
"max",
"Math.max(max, a * d)",
"Math.max",
"Math",
"max",
"a * d",
"a",
"d",
"max = Math.max(max, b * c)",
"max",
"Math.max(max, b * c)",
"Math.max",
"Math",
"max",
"b * c",
"b",
"c",
"max = Math.max(max, b * d)",
"max",
"Math.max(max, b * d)",
"Math.max",
"Math",
"max",
"b * d",
"b",
"d",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n long max = Long.MIN_VALUE;\n if(a - b != 0){\n if(a == 0) a += 1;\n if(b == 0) b -= 1;\n }\n if(c - d != 0){\n if(c == 0) c += 1;\n if(d == 0) d -= 1;\n }\n max = Math.max(max, a * c);\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n System.out.println(max);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n long max = Long.MIN_VALUE;\n if(a - b != 0){\n if(a == 0) a += 1;\n if(b == 0) b -= 1;\n }\n if(c - d != 0){\n if(c == 0) c += 1;\n if(d == 0) d -= 1;\n }\n max = Math.max(max, a * c);\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n System.out.println(max);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = Long.parseLong(sc.next());
long b = Long.parseLong(sc.next());
long c = Long.parseLong(sc.next());
long d = Long.parseLong(sc.next());
long max = Long.MIN_VALUE;
if(a - b != 0){
if(a == 0) a += 1;
if(b == 0) b -= 1;
}
if(c - d != 0){
if(c == 0) c += 1;
if(d == 0) d -= 1;
}
max = Math.max(max, a * c);
max = Math.max(max, a * d);
max = Math.max(max, b * c);
max = Math.max(max, b * d);
System.out.println(max);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
87,
14
],
[
87,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
17,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
17,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
17,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
17,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
17,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
17,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
17,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
15,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
]
| [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n List<Long>str = new ArrayList<>();\n str.add(a*c);\n str.add(a*d);\n str.add(b*c);\n str.add(b*d);\n Collections.sort(str,Collections.reverseOrder());\n System.out.println(str.get(0));\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n List<Long>str = new ArrayList<>();\n str.add(a*c);\n str.add(a*d);\n str.add(b*c);\n str.add(b*d);\n Collections.sort(str,Collections.reverseOrder());\n System.out.println(str.get(0));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n List<Long>str = new ArrayList<>();\n str.add(a*c);\n str.add(a*d);\n str.add(b*c);\n str.add(b*d);\n Collections.sort(str,Collections.reverseOrder());\n System.out.println(str.get(0));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n List<Long>str = new ArrayList<>();\n str.add(a*c);\n str.add(a*d);\n str.add(b*c);\n str.add(b*d);\n Collections.sort(str,Collections.reverseOrder());\n System.out.println(str.get(0));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"List<Long>str = new ArrayList<>();",
"str",
"new ArrayList<>()",
"str.add(a*c)",
"str.add",
"str",
"a*c",
"a",
"c",
"str.add(a*d)",
"str.add",
"str",
"a*d",
"a",
"d",
"str.add(b*c)",
"str.add",
"str",
"b*c",
"b",
"c",
"str.add(b*d)",
"str.add",
"str",
"b*d",
"b",
"d",
"Collections.sort(str,Collections.reverseOrder())",
"Collections.sort",
"Collections",
"str",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"System.out.println(str.get(0))",
"System.out.println",
"System.out",
"System",
"System.out",
"str.get(0)",
"str.get",
"str",
"0",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n List<Long>str = new ArrayList<>();\n str.add(a*c);\n str.add(a*d);\n str.add(b*c);\n str.add(b*d);\n Collections.sort(str,Collections.reverseOrder());\n System.out.println(str.get(0));\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n List<Long>str = new ArrayList<>();\n str.add(a*c);\n str.add(a*d);\n str.add(b*c);\n str.add(b*d);\n Collections.sort(str,Collections.reverseOrder());\n System.out.println(str.get(0));\n }\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextInt();
long b = sc.nextInt();
long c = sc.nextInt();
long d = sc.nextInt();
List<Long>str = new ArrayList<>();
str.add(a*c);
str.add(a*d);
str.add(b*c);
str.add(b*d);
Collections.sort(str,Collections.reverseOrder());
System.out.println(str.get(0));
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
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
],
[
77,
11
],
[
77,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
14,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
14,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
14,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
12,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n ArrayList<Long> list = new ArrayList<>();\n list.add(a * c);\n list.add(a * d);\n list.add(b * c);\n list.add(b * d);\n System.out.println(Collections.max(list));\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n ArrayList<Long> list = new ArrayList<>();\n list.add(a * c);\n list.add(a * d);\n list.add(b * c);\n list.add(b * d);\n System.out.println(Collections.max(list));\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n ArrayList<Long> list = new ArrayList<>();\n list.add(a * c);\n list.add(a * d);\n list.add(b * c);\n list.add(b * d);\n System.out.println(Collections.max(list));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n ArrayList<Long> list = new ArrayList<>();\n list.add(a * c);\n list.add(a * d);\n list.add(b * c);\n list.add(b * d);\n System.out.println(Collections.max(list));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"ArrayList<Long> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"list.add(a * c)",
"list.add",
"list",
"a * c",
"a",
"c",
"list.add(a * d)",
"list.add",
"list",
"a * d",
"a",
"d",
"list.add(b * c)",
"list.add",
"list",
"b * c",
"b",
"c",
"list.add(b * d)",
"list.add",
"list",
"b * d",
"b",
"d",
"System.out.println(Collections.max(list))",
"System.out.println",
"System.out",
"System",
"System.out",
"Collections.max(list)",
"Collections.max",
"Collections",
"list",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n ArrayList<Long> list = new ArrayList<>();\n list.add(a * c);\n list.add(a * d);\n list.add(b * c);\n list.add(b * d);\n System.out.println(Collections.max(list));\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n ArrayList<Long> list = new ArrayList<>();\n list.add(a * c);\n list.add(a * d);\n list.add(b * c);\n list.add(b * d);\n System.out.println(Collections.max(list));\n }\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
ArrayList<Long> list = new ArrayList<>();
list.add(a * c);
list.add(a * d);
list.add(b * c);
list.add(b * d);
System.out.println(Collections.max(list));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
2,
13,
13,
2,
13,
13,
2,
13,
13,
2,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
73,
8
],
[
73,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
13,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
13,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
13,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
13,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
50,
52
],
[
42,
53
],
[
53,
54
],
[
53,
55
],
[
9,
56
],
[
56,
57
],
[
73,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
58,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.util.Arrays;\nimport 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\tlong a = scanner.nextLong(), b = scanner.nextLong(), c = scanner.nextLong(), d = scanner.nextLong();\n\t\t\tSystem.out.println(max(a * c, a * d, b * c, b * d));\n\t\t}\n\t}\n\n\t/**\n\t * 配列の最大値を計算する\n\t * \n\t * @param a 配列\n\t * @return 配列の最大値\n\t */\n\tprivate static long max(long... a) {\n\t\treturn Arrays.stream(a).max().getAsLong();\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\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tlong a = scanner.nextLong(), b = scanner.nextLong(), c = scanner.nextLong(), d = scanner.nextLong();\n\t\t\tSystem.out.println(max(a * c, a * d, b * c, b * d));\n\t\t}\n\t}\n\n\t/**\n\t * 配列の最大値を計算する\n\t * \n\t * @param a 配列\n\t * @return 配列の最大値\n\t */\n\tprivate static long max(long... a) {\n\t\treturn Arrays.stream(a).max().getAsLong();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tlong a = scanner.nextLong(), b = scanner.nextLong(), c = scanner.nextLong(), d = scanner.nextLong();\n\t\t\tSystem.out.println(max(a * c, a * d, b * c, b * d));\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tlong a = scanner.nextLong(), b = scanner.nextLong(), c = scanner.nextLong(), d = scanner.nextLong();\n\t\t\tSystem.out.println(max(a * c, a * d, b * c, b * d));\n\t\t}\n\t}",
"try (Scanner scanner = new Scanner(System.in)) {\n\t\t\tlong a = scanner.nextLong(), b = scanner.nextLong(), c = scanner.nextLong(), d = scanner.nextLong();\n\t\t\tSystem.out.println(max(a * c, a * d, b * c, b * d));\n\t\t}",
"{\n\t\t\tlong a = scanner.nextLong(), b = scanner.nextLong(), c = scanner.nextLong(), d = scanner.nextLong();\n\t\t\tSystem.out.println(max(a * c, a * d, b * c, b * d));\n\t\t}",
"Scanner scanner = new Scanner(System.in)",
"Scanner scanner = new Scanner(System.in)",
"new Scanner(System.in)",
"long a = scanner.nextLong()",
"a",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"b = scanner.nextLong()",
"b",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"c = scanner.nextLong()",
"c",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"d = scanner.nextLong();",
"d",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"System.out.println(max(a * c, a * d, b * c, b * d))",
"System.out.println",
"System.out",
"System",
"System.out",
"max(a * c, a * d, b * c, b * d)",
"max",
"a * c",
"a",
"c",
"a * d",
"a",
"d",
"b * c",
"b",
"c",
"b * d",
"b",
"d",
"String[] args",
"args",
"/**\n\t * 配列の最大値を計算する\n\t * \n\t * @param a 配列\n\t * @return 配列の最大値\n\t */\n\tprivate static long max(long... a) {\n\t\treturn Arrays.stream(a).max().getAsLong();\n\t}",
"max",
"{\n\t\treturn Arrays.stream(a).max().getAsLong();\n\t}",
"return Arrays.stream(a).max().getAsLong();",
"Arrays.stream(a).max().getAsLong()",
"Arrays.stream(a).max().getAsLong",
"Arrays.stream(a).max()",
"Arrays.stream(a).max",
"Arrays.stream(a)",
"Arrays.stream",
"Arrays",
"a",
"long... a",
"a",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tlong a = scanner.nextLong(), b = scanner.nextLong(), c = scanner.nextLong(), d = scanner.nextLong();\n\t\t\tSystem.out.println(max(a * c, a * d, b * c, b * d));\n\t\t}\n\t}\n\n\t/**\n\t * 配列の最大値を計算する\n\t * \n\t * @param a 配列\n\t * @return 配列の最大値\n\t */\n\tprivate static long max(long... a) {\n\t\treturn Arrays.stream(a).max().getAsLong();\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\tlong a = scanner.nextLong(), b = scanner.nextLong(), c = scanner.nextLong(), d = scanner.nextLong();\n\t\t\tSystem.out.println(max(a * c, a * d, b * c, b * d));\n\t\t}\n\t}\n\n\t/**\n\t * 配列の最大値を計算する\n\t * \n\t * @param a 配列\n\t * @return 配列の最大値\n\t */\n\tprivate static long max(long... a) {\n\t\treturn Arrays.stream(a).max().getAsLong();\n\t}\n}",
"Main"
]
| import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner scanner = new Scanner(System.in)) {
long a = scanner.nextLong(), b = scanner.nextLong(), c = scanner.nextLong(), d = scanner.nextLong();
System.out.println(max(a * c, a * d, b * c, b * d));
}
}
/**
* 配列の最大値を計算する
*
* @param a 配列
* @return 配列の最大値
*/
private static long max(long... a) {
return Arrays.stream(a).max().getAsLong();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
13,
41,
13,
2,
13,
13,
14,
2,
13,
13,
0,
13,
13,
41,
13,
2,
13,
13,
14,
2,
13,
13,
0,
13,
13,
41,
13,
2,
13,
13,
14,
2,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
91,
11
],
[
91,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
14,
43
],
[
43,
44
],
[
43,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
14,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
14,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
14,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
14,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
14,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
12,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\npublic class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong a1 = a*c;\n\t\tlong res =a1;\n\t\tlong a2 = a*d;\n\t\tif(a2>res)\n\t\t\tres=a2;\n\t\tlong a3 = b*c;\n\t\tif(a3>res)\n\t\t\tres=a3;\n\t\tlong a4 = b*d;\n\t\tif(a4>res)\n\t\t\tres=a4;\n\t\tSystem.out.println(res);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong a1 = a*c;\n\t\tlong res =a1;\n\t\tlong a2 = a*d;\n\t\tif(a2>res)\n\t\t\tres=a2;\n\t\tlong a3 = b*c;\n\t\tif(a3>res)\n\t\t\tres=a3;\n\t\tlong a4 = b*d;\n\t\tif(a4>res)\n\t\t\tres=a4;\n\t\tSystem.out.println(res);\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong a1 = a*c;\n\t\tlong res =a1;\n\t\tlong a2 = a*d;\n\t\tif(a2>res)\n\t\t\tres=a2;\n\t\tlong a3 = b*c;\n\t\tif(a3>res)\n\t\t\tres=a3;\n\t\tlong a4 = b*d;\n\t\tif(a4>res)\n\t\t\tres=a4;\n\t\tSystem.out.println(res);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong a1 = a*c;\n\t\tlong res =a1;\n\t\tlong a2 = a*d;\n\t\tif(a2>res)\n\t\t\tres=a2;\n\t\tlong a3 = b*c;\n\t\tif(a3>res)\n\t\t\tres=a3;\n\t\tlong a4 = b*d;\n\t\tif(a4>res)\n\t\t\tres=a4;\n\t\tSystem.out.println(res);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long a1 = a*c;",
"a1",
"a*c",
"a",
"c",
"long res =a1;",
"res",
"a1",
"long a2 = a*d;",
"a2",
"a*d",
"a",
"d",
"if(a2>res)\n\t\t\tres=a2;",
"a2>res",
"a2",
"res",
"res=a2",
"res",
"a2",
"long a3 = b*c;",
"a3",
"b*c",
"b",
"c",
"if(a3>res)\n\t\t\tres=a3;",
"a3>res",
"a3",
"res",
"res=a3",
"res",
"a3",
"long a4 = b*d;",
"a4",
"b*d",
"b",
"d",
"if(a4>res)\n\t\t\tres=a4;",
"a4>res",
"a4",
"res",
"res=a4",
"res",
"a4",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong a1 = a*c;\n\t\tlong res =a1;\n\t\tlong a2 = a*d;\n\t\tif(a2>res)\n\t\t\tres=a2;\n\t\tlong a3 = b*c;\n\t\tif(a3>res)\n\t\t\tres=a3;\n\t\tlong a4 = b*d;\n\t\tif(a4>res)\n\t\t\tres=a4;\n\t\tSystem.out.println(res);\n\t}\n}",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong a1 = a*c;\n\t\tlong res =a1;\n\t\tlong a2 = a*d;\n\t\tif(a2>res)\n\t\t\tres=a2;\n\t\tlong a3 = b*c;\n\t\tif(a3>res)\n\t\t\tres=a3;\n\t\tlong a4 = b*d;\n\t\tif(a4>res)\n\t\t\tres=a4;\n\t\tSystem.out.println(res);\n\t}\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
long a1 = a*c;
long res =a1;
long a2 = a*d;
if(a2>res)
res=a2;
long a3 = b*c;
if(a3>res)
res=a3;
long a4 = b*d;
if(a4>res)
res=a4;
System.out.println(res);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
41,
13,
4,
18,
13,
17,
28,
13,
13,
30,
30,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
8,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
8,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
]
| [
"import java.util.*;\n \npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n ArrayList<Long> array = new ArrayList<Long>();\n array.add(a * c);\n array.add(a * d);\n array.add(b * c);\n array.add(b * d);\n long max = array.get(0);\n for(Long i : array){\n if(max < i){\n max = i;\n }\n }\n \n System.out.println(max);\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n ArrayList<Long> array = new ArrayList<Long>();\n array.add(a * c);\n array.add(a * d);\n array.add(b * c);\n array.add(b * d);\n long max = array.get(0);\n for(Long i : array){\n if(max < i){\n max = i;\n }\n }\n \n System.out.println(max);\n \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n ArrayList<Long> array = new ArrayList<Long>();\n array.add(a * c);\n array.add(a * d);\n array.add(b * c);\n array.add(b * d);\n long max = array.get(0);\n for(Long i : array){\n if(max < i){\n max = i;\n }\n }\n \n System.out.println(max);\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n ArrayList<Long> array = new ArrayList<Long>();\n array.add(a * c);\n array.add(a * d);\n array.add(b * c);\n array.add(b * d);\n long max = array.get(0);\n for(Long i : array){\n if(max < i){\n max = i;\n }\n }\n \n System.out.println(max);\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"ArrayList<Long> array = new ArrayList<Long>();",
"array",
"new ArrayList<Long>()",
"array.add(a * c)",
"array.add",
"array",
"a * c",
"a",
"c",
"array.add(a * d)",
"array.add",
"array",
"a * d",
"a",
"d",
"array.add(b * c)",
"array.add",
"array",
"b * c",
"b",
"c",
"array.add(b * d)",
"array.add",
"array",
"b * d",
"b",
"d",
"long max = array.get(0);",
"max",
"array.get(0)",
"array.get",
"array",
"0",
"for(Long i : array){\n if(max < i){\n max = i;\n }\n }",
"Long i",
"array",
"{\n if(max < i){\n max = i;\n }\n }",
"{\n if(max < i){\n max = i;\n }\n }",
"if(max < i){\n max = i;\n }",
"max < i",
"max",
"i",
"{\n max = i;\n }",
"max = i",
"max",
"i",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n ArrayList<Long> array = new ArrayList<Long>();\n array.add(a * c);\n array.add(a * d);\n array.add(b * c);\n array.add(b * d);\n long max = array.get(0);\n for(Long i : array){\n if(max < i){\n max = i;\n }\n }\n \n System.out.println(max);\n \n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n ArrayList<Long> array = new ArrayList<Long>();\n array.add(a * c);\n array.add(a * d);\n array.add(b * c);\n array.add(b * d);\n long max = array.get(0);\n for(Long i : array){\n if(max < i){\n max = i;\n }\n }\n \n System.out.println(max);\n \n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
ArrayList<Long> array = new ArrayList<Long>();
array.add(a * c);
array.add(a * d);
array.add(b * c);
array.add(b * d);
long max = array.get(0);
for(Long i : array){
if(max < i){
max = i;
}
}
System.out.println(max);
}
} |
[
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,
20,
41,
13,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
28,
13,
13,
30,
30,
28,
13,
13,
30,
30,
0,
13,
4,
18,
13,
13,
2,
13,
13,
4,
18,
13,
13,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
478,
20
],
[
478,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
23,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
23,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
23,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
23,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
23,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
23,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
23,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
23,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
23,
95
],
[
95,
96
],
[
95,
97
],
[
95,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
100,
103
],
[
104,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
107,
111
],
[
111,
112
],
[
111,
113
],
[
23,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
21,
118
],
[
118,
119
],
[
21,
120
],
[
120,
121
],
[
478,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
128,
130
],
[
124,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
131,
135
],
[
124,
136
],
[
136,
137
],
[
137,
138
],
[
124,
139
],
[
139,
140
],
[
140,
141
],
[
124,
142
],
[
142,
143
],
[
143,
144
],
[
122,
145
],
[
145,
146
],
[
478,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
151,
153
],
[
147,
154
],
[
154,
155
],
[
147,
156
],
[
156,
157
],
[
147,
158
],
[
158,
159
],
[
147,
160
],
[
160,
161
],
[
147,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
168,
170
],
[
164,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
174,
176
],
[
147,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
183,
184
],
[
183,
185
],
[
179,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
189,
191
],
[
177,
192
],
[
192,
193
],
[
147,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
201
],
[
201,
202
],
[
201,
203
],
[
196,
204
],
[
204,
205
],
[
196,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
207,
212
],
[
212,
213
],
[
206,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
215,
219
],
[
214,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
220,
225
],
[
196,
226
],
[
226,
227
],
[
147,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
230,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
230,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
230,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
248,
250
],
[
230,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
230,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
259,
264
],
[
258,
265
],
[
265,
266
],
[
265,
267
],
[
257,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
276
],
[
271,
277
],
[
230,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
281,
282
],
[
230,
283
],
[
283,
284
],
[
147,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
287,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
287,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
295,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
287,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
305,
307
],
[
287,
308
],
[
308,
309
],
[
308,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
287,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
316,
321
],
[
315,
322
],
[
322,
323
],
[
322,
324
],
[
314,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
329,
333
],
[
328,
334
],
[
287,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
338,
339
],
[
287,
340
],
[
340,
341
],
[
147,
342
],
[
342,
343
],
[
342,
344
],
[
344,
345
],
[
345,
346
],
[
345,
347
],
[
344,
348
],
[
348,
349
],
[
348,
350
],
[
344,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
344,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
355,
359
],
[
359,
360
],
[
359,
361
],
[
361,
362
],
[
344,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
365,
367
],
[
344,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
344,
374
],
[
374,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
376,
381
],
[
375,
382
],
[
382,
383
],
[
382,
384
],
[
374,
385
],
[
385,
386
],
[
386,
387
],
[
386,
388
],
[
388,
389
],
[
389,
390
],
[
390,
391
],
[
390,
392
],
[
389,
393
],
[
388,
394
],
[
344,
395
],
[
395,
396
],
[
396,
397
],
[
396,
398
],
[
395,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
403,
404
],
[
403,
405
],
[
405,
406
],
[
402,
407
],
[
401,
408
],
[
408,
409
],
[
408,
410
],
[
400,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
414,
415
],
[
415,
416
],
[
415,
417
],
[
414,
418
],
[
418,
419
],
[
418,
420
],
[
344,
421
],
[
421,
422
],
[
421,
423
],
[
423,
424
],
[
424,
425
],
[
344,
426
],
[
426,
427
],
[
147,
428
],
[
428,
429
],
[
428,
430
],
[
430,
431
],
[
431,
432
],
[
431,
433
],
[
433,
434
],
[
434,
435
],
[
433,
436
],
[
433,
437
],
[
437,
438
],
[
437,
439
],
[
433,
440
],
[
430,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
444,
445
],
[
441,
446
],
[
446,
447
],
[
447,
448
],
[
447,
449
],
[
446,
450
],
[
450,
451
],
[
147,
452
],
[
452,
453
],
[
452,
454
],
[
454,
455
],
[
455,
456
],
[
456,
457
],
[
456,
458
],
[
455,
459
],
[
459,
460
],
[
454,
461
],
[
461,
462
],
[
462,
463
],
[
462,
464
],
[
464,
465
],
[
147,
466
],
[
466,
467
],
[
466,
468
],
[
468,
469
],
[
469,
470
],
[
470,
471
],
[
470,
472
],
[
469,
473
],
[
468,
474
],
[
474,
475
],
[
475,
476
],
[
0,
477
],
[
477,
478
],
[
477,
479
]
]
| [
"import java.io.DataInputStream;\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.io.PrintWriter;\nimport java.util.ArrayList;\nimport java.util.List;\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 List<Integer> first = new ArrayList<>();\n List<Integer> second = new ArrayList<>();\n long result = Long.MIN_VALUE;\n int a = sc.nextInt();\n int b = sc.nextInt();\n first.add(a);\n first.add(b);\n if (a <= 0 && b >= 0) {\n result = 0;\n }\n int c = sc.nextInt();\n int d = sc.nextInt();\n second.add(c);\n second.add(d);\n if (c <= 0 && d >= 0) {\n result = 0;\n }\n\n for (int p : first) {\n for (int q : second) {\n result = Math.max(result, (long)p * (long)q);\n }\n }\n pw.println(result);\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",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"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 List<Integer> first = new ArrayList<>();\n List<Integer> second = new ArrayList<>();\n long result = Long.MIN_VALUE;\n int a = sc.nextInt();\n int b = sc.nextInt();\n first.add(a);\n first.add(b);\n if (a <= 0 && b >= 0) {\n result = 0;\n }\n int c = sc.nextInt();\n int d = sc.nextInt();\n second.add(c);\n second.add(d);\n if (c <= 0 && d >= 0) {\n result = 0;\n }\n\n for (int p : first) {\n for (int q : second) {\n result = Math.max(result, (long)p * (long)q);\n }\n }\n pw.println(result);\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 List<Integer> first = new ArrayList<>();\n List<Integer> second = new ArrayList<>();\n long result = Long.MIN_VALUE;\n int a = sc.nextInt();\n int b = sc.nextInt();\n first.add(a);\n first.add(b);\n if (a <= 0 && b >= 0) {\n result = 0;\n }\n int c = sc.nextInt();\n int d = sc.nextInt();\n second.add(c);\n second.add(d);\n if (c <= 0 && d >= 0) {\n result = 0;\n }\n\n for (int p : first) {\n for (int q : second) {\n result = Math.max(result, (long)p * (long)q);\n }\n }\n pw.println(result);\n }",
"solve",
"{\n List<Integer> first = new ArrayList<>();\n List<Integer> second = new ArrayList<>();\n long result = Long.MIN_VALUE;\n int a = sc.nextInt();\n int b = sc.nextInt();\n first.add(a);\n first.add(b);\n if (a <= 0 && b >= 0) {\n result = 0;\n }\n int c = sc.nextInt();\n int d = sc.nextInt();\n second.add(c);\n second.add(d);\n if (c <= 0 && d >= 0) {\n result = 0;\n }\n\n for (int p : first) {\n for (int q : second) {\n result = Math.max(result, (long)p * (long)q);\n }\n }\n pw.println(result);\n }",
"List<Integer> first = new ArrayList<>();",
"first",
"new ArrayList<>()",
"List<Integer> second = new ArrayList<>();",
"second",
"new ArrayList<>()",
"long result = Long.MIN_VALUE;",
"result",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"first.add(a)",
"first.add",
"first",
"a",
"first.add(b)",
"first.add",
"first",
"b",
"if (a <= 0 && b >= 0) {\n result = 0;\n }",
"a <= 0 && b >= 0",
"a <= 0",
"a",
"0",
"b >= 0",
"b",
"0",
"{\n result = 0;\n }",
"result = 0",
"result",
"0",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"second.add(c)",
"second.add",
"second",
"c",
"second.add(d)",
"second.add",
"second",
"d",
"if (c <= 0 && d >= 0) {\n result = 0;\n }",
"c <= 0 && d >= 0",
"c <= 0",
"c",
"0",
"d >= 0",
"d",
"0",
"{\n result = 0;\n }",
"result = 0",
"result",
"0",
"for (int p : first) {\n for (int q : second) {\n result = Math.max(result, (long)p * (long)q);\n }\n }",
"int p",
"first",
"{\n for (int q : second) {\n result = Math.max(result, (long)p * (long)q);\n }\n }",
"{\n for (int q : second) {\n result = Math.max(result, (long)p * (long)q);\n }\n }",
"for (int q : second) {\n result = Math.max(result, (long)p * (long)q);\n }",
"int q",
"second",
"{\n result = Math.max(result, (long)p * (long)q);\n }",
"{\n result = Math.max(result, (long)p * (long)q);\n }",
"result = Math.max(result, (long)p * (long)q)",
"result",
"Math.max(result, (long)p * (long)q)",
"Math.max",
"Math",
"result",
"(long)p * (long)q",
"(long)p",
"(long)q",
"pw.println(result)",
"pw.println",
"pw",
"result",
"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 List<Integer> first = new ArrayList<>();\n List<Integer> second = new ArrayList<>();\n long result = Long.MIN_VALUE;\n int a = sc.nextInt();\n int b = sc.nextInt();\n first.add(a);\n first.add(b);\n if (a <= 0 && b >= 0) {\n result = 0;\n }\n int c = sc.nextInt();\n int d = sc.nextInt();\n second.add(c);\n second.add(d);\n if (c <= 0 && d >= 0) {\n result = 0;\n }\n\n for (int p : first) {\n for (int q : second) {\n result = Math.max(result, (long)p * (long)q);\n }\n }\n pw.println(result);\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 List<Integer> first = new ArrayList<>();\n List<Integer> second = new ArrayList<>();\n long result = Long.MIN_VALUE;\n int a = sc.nextInt();\n int b = sc.nextInt();\n first.add(a);\n first.add(b);\n if (a <= 0 && b >= 0) {\n result = 0;\n }\n int c = sc.nextInt();\n int d = sc.nextInt();\n second.add(c);\n second.add(d);\n if (c <= 0 && d >= 0) {\n result = 0;\n }\n\n for (int p : first) {\n for (int q : second) {\n result = Math.max(result, (long)p * (long)q);\n }\n }\n pw.println(result);\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;
import java.util.ArrayList;
import java.util.List;
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 {
List<Integer> first = new ArrayList<>();
List<Integer> second = new ArrayList<>();
long result = Long.MIN_VALUE;
int a = sc.nextInt();
int b = sc.nextInt();
first.add(a);
first.add(b);
if (a <= 0 && b >= 0) {
result = 0;
}
int c = sc.nextInt();
int d = sc.nextInt();
second.add(c);
second.add(d);
if (c <= 0 && d >= 0) {
result = 0;
}
for (int p : first) {
for (int q : second) {
result = Math.max(result, (long)p * (long)q);
}
}
pw.println(result);
}
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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
65,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tlong b=sc.nextLong();\n\t\tlong c=sc.nextLong();\n\t\tlong d=sc.nextLong();\n\t\tlong ac=a*c;\n\t\tlong ad=a*d;\n\t\tlong bc=b*c;\n\t\tlong bd=b*d;\n\t\tSystem.out.println(Math.max(Math.max(ac, bd),Math.max(ad, bc)));\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tlong b=sc.nextLong();\n\t\tlong c=sc.nextLong();\n\t\tlong d=sc.nextLong();\n\t\tlong ac=a*c;\n\t\tlong ad=a*d;\n\t\tlong bc=b*c;\n\t\tlong bd=b*d;\n\t\tSystem.out.println(Math.max(Math.max(ac, bd),Math.max(ad, bc)));\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tlong b=sc.nextLong();\n\t\tlong c=sc.nextLong();\n\t\tlong d=sc.nextLong();\n\t\tlong ac=a*c;\n\t\tlong ad=a*d;\n\t\tlong bc=b*c;\n\t\tlong bd=b*d;\n\t\tSystem.out.println(Math.max(Math.max(ac, bd),Math.max(ad, bc)));\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tlong b=sc.nextLong();\n\t\tlong c=sc.nextLong();\n\t\tlong d=sc.nextLong();\n\t\tlong ac=a*c;\n\t\tlong ad=a*d;\n\t\tlong bc=b*c;\n\t\tlong bd=b*d;\n\t\tSystem.out.println(Math.max(Math.max(ac, bd),Math.max(ad, bc)));\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a=sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b=sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c=sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d=sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long ac=a*c;",
"ac",
"a*c",
"a",
"c",
"long ad=a*d;",
"ad",
"a*d",
"a",
"d",
"long bc=b*c;",
"bc",
"b*c",
"b",
"c",
"long bd=b*d;",
"bd",
"b*d",
"b",
"d",
"System.out.println(Math.max(Math.max(ac, bd),Math.max(ad, bc)))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.max(Math.max(ac, bd),Math.max(ad, bc))",
"Math.max",
"Math",
"Math.max(ac, bd)",
"Math.max",
"Math",
"ac",
"bd",
"Math.max(ad, bc)",
"Math.max",
"Math",
"ad",
"bc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tlong b=sc.nextLong();\n\t\tlong c=sc.nextLong();\n\t\tlong d=sc.nextLong();\n\t\tlong ac=a*c;\n\t\tlong ad=a*d;\n\t\tlong bc=b*c;\n\t\tlong bd=b*d;\n\t\tSystem.out.println(Math.max(Math.max(ac, bd),Math.max(ad, bc)));\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong a=sc.nextLong();\n\t\tlong b=sc.nextLong();\n\t\tlong c=sc.nextLong();\n\t\tlong d=sc.nextLong();\n\t\tlong ac=a*c;\n\t\tlong ad=a*d;\n\t\tlong bc=b*c;\n\t\tlong bd=b*d;\n\t\tSystem.out.println(Math.max(Math.max(ac, bd),Math.max(ad, bc)));\n\t}\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
long a=sc.nextLong();
long b=sc.nextLong();
long c=sc.nextLong();
long d=sc.nextLong();
long ac=a*c;
long ad=a*d;
long bc=b*c;
long bd=b*d;
System.out.println(Math.max(Math.max(ac, bd),Math.max(ad, bc)));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
17,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
0,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
8,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
8,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
69,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
82,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
6,
99
],
[
99,
100
]
]
| [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n \n long[] ans = new long[4];\n \n ans[0] = a * c;\n ans[1] = a * d;\n ans[2] = b * c;\n ans[3] = b * d;\n long max = ans[0];\n \n for (int i = 1;i < 4;i ++) {\n if (max < ans[i])\n max = ans[i];\n }\n System.out.println(max);\n }\n}\n ",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n \n long[] ans = new long[4];\n \n ans[0] = a * c;\n ans[1] = a * d;\n ans[2] = b * c;\n ans[3] = b * d;\n long max = ans[0];\n \n for (int i = 1;i < 4;i ++) {\n if (max < ans[i])\n max = ans[i];\n }\n System.out.println(max);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n \n long[] ans = new long[4];\n \n ans[0] = a * c;\n ans[1] = a * d;\n ans[2] = b * c;\n ans[3] = b * d;\n long max = ans[0];\n \n for (int i = 1;i < 4;i ++) {\n if (max < ans[i])\n max = ans[i];\n }\n System.out.println(max);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n \n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n \n long[] ans = new long[4];\n \n ans[0] = a * c;\n ans[1] = a * d;\n ans[2] = b * c;\n ans[3] = b * d;\n long max = ans[0];\n \n for (int i = 1;i < 4;i ++) {\n if (max < ans[i])\n max = ans[i];\n }\n System.out.println(max);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long a = scan.nextLong();",
"a",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long b = scan.nextLong();",
"b",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long c = scan.nextLong();",
"c",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long d = scan.nextLong();",
"d",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long[] ans = new long[4];",
"ans",
"new long[4]",
"4",
"ans[0] = a * c",
"ans[0]",
"ans",
"0",
"a * c",
"a",
"c",
"ans[1] = a * d",
"ans[1]",
"ans",
"1",
"a * d",
"a",
"d",
"ans[2] = b * c",
"ans[2]",
"ans",
"2",
"b * c",
"b",
"c",
"ans[3] = b * d",
"ans[3]",
"ans",
"3",
"b * d",
"b",
"d",
"long max = ans[0];",
"max",
"ans[0]",
"ans",
"0",
"for (int i = 1;i < 4;i ++) {\n if (max < ans[i])\n max = ans[i];\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 4",
"i",
"4",
"i ++",
"i ++",
"i",
"{\n if (max < ans[i])\n max = ans[i];\n }",
"{\n if (max < ans[i])\n max = ans[i];\n }",
"if (max < ans[i])\n max = ans[i];",
"max < ans[i]",
"max",
"ans[i]",
"ans",
"i",
"max = ans[i]",
"max",
"ans[i]",
"ans",
"i",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long a = scan.nextLong();
long b = scan.nextLong();
long c = scan.nextLong();
long d = scan.nextLong();
long[] ans = new long[4];
ans[0] = a * c;
ans[1] = a * d;
ans[2] = b * c;
ans[3] = b * d;
long max = ans[0];
for (int i = 1;i < 4;i ++) {
if (max < ans[i])
max = ans[i];
}
System.out.println(max);
}
}
|
[
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,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
30,
0,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
30,
0,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
30,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
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
],
[
118,
29
],
[
118,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
32,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
32,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
58,
59
],
[
32,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
32,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
32,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
32,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
85,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
32,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
32,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
30,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
]
]
| [
"\nimport java.util.Map.Entry;\nimport java.lang.reflect.Method;\nimport java.util.*;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayDeque;\nimport java.util.Arrays;\nimport java.util.Deque;\nimport java.util.ArrayList;\n\n//import org.w3c.dom.css.Counter;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n //String S = sc.next();\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n long ans = a*c;\n if(ans <b*c){\n ans =b*c;\n }\n if(ans <b*d){\n ans =b*d;\n }\n if(ans <a*d){\n ans =a*d;\n }\n System.out.println(ans);\n\n }\n}",
"import java.util.Map.Entry;",
"Entry",
"java.util.Map",
"import java.lang.reflect.Method;",
"Method",
"java.lang.reflect",
"import java.util.*;",
"util.*",
"java",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Deque;",
"Deque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n //String S = sc.next();\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n long ans = a*c;\n if(ans <b*c){\n ans =b*c;\n }\n if(ans <b*d){\n ans =b*d;\n }\n if(ans <a*d){\n ans =a*d;\n }\n System.out.println(ans);\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n //String S = sc.next();\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n long ans = a*c;\n if(ans <b*c){\n ans =b*c;\n }\n if(ans <b*d){\n ans =b*d;\n }\n if(ans <a*d){\n ans =a*d;\n }\n System.out.println(ans);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n //String S = sc.next();\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n long ans = a*c;\n if(ans <b*c){\n ans =b*c;\n }\n if(ans <b*d){\n ans =b*d;\n }\n if(ans <a*d){\n ans =a*d;\n }\n System.out.println(ans);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = Integer.parseInt(sc.next());",
"a",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"long b = Integer.parseInt(sc.next());",
"b",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"long c = Integer.parseInt(sc.next());",
"c",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"long d = Integer.parseInt(sc.next());",
"d",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"long ans = a*c;",
"ans",
"a*c",
"a",
"c",
"if(ans <b*c){\n ans =b*c;\n }",
"ans <b*c",
"ans",
"b*c",
"b",
"c",
"{\n ans =b*c;\n }",
"ans =b*c",
"ans",
"b*c",
"b",
"c",
"if(ans <b*d){\n ans =b*d;\n }",
"ans <b*d",
"ans",
"b*d",
"b",
"d",
"{\n ans =b*d;\n }",
"ans =b*d",
"ans",
"b*d",
"b",
"d",
"if(ans <a*d){\n ans =a*d;\n }",
"ans <a*d",
"ans",
"a*d",
"a",
"d",
"{\n ans =a*d;\n }",
"ans =a*d",
"ans",
"a*d",
"a",
"d",
"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 //String S = sc.next();\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n long ans = a*c;\n if(ans <b*c){\n ans =b*c;\n }\n if(ans <b*d){\n ans =b*d;\n }\n if(ans <a*d){\n ans =a*d;\n }\n System.out.println(ans);\n\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n //String S = sc.next();\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n long ans = a*c;\n if(ans <b*c){\n ans =b*c;\n }\n if(ans <b*d){\n ans =b*d;\n }\n if(ans <a*d){\n ans =a*d;\n }\n System.out.println(ans);\n\n }\n}",
"Main"
]
|
import java.util.Map.Entry;
import java.lang.reflect.Method;
import java.util.*;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayDeque;
import java.util.Arrays;
import java.util.Deque;
import java.util.ArrayList;
//import org.w3c.dom.css.Counter;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
//String S = sc.next();
long a = Integer.parseInt(sc.next());
long b = Integer.parseInt(sc.next());
long c = Integer.parseInt(sc.next());
long d = Integer.parseInt(sc.next());
long ans = a*c;
if(ans <b*c){
ans =b*c;
}
if(ans <b*d){
ans =b*d;
}
if(ans <a*d){
ans =a*d;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
8,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
2,
13,
13,
0,
13,
8,
2,
2,
13,
13,
13,
2,
13,
13,
13,
0,
13,
8,
2,
2,
13,
13,
13,
2,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
42,
44
],
[
34,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
50,
56
],
[
56,
57
],
[
56,
58
],
[
50,
59
],
[
8,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
62,
68
],
[
68,
69
],
[
68,
70
],
[
62,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n long ans = a * c > a * d ? a * c : a * d;\n ans = b * c > ans ? b * c : ans;\n ans = b * d > ans ? b * d : ans;\n \n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n long ans = a * c > a * d ? a * c : a * d;\n ans = b * c > ans ? b * c : ans;\n ans = b * d > ans ? b * d : ans;\n \n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n long ans = a * c > a * d ? a * c : a * d;\n ans = b * c > ans ? b * c : ans;\n ans = b * d > ans ? b * d : ans;\n \n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n long ans = a * c > a * d ? a * c : a * d;\n ans = b * c > ans ? b * c : ans;\n ans = b * d > ans ? b * d : ans;\n \n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long ans = a * c > a * d ? a * c : a * d;",
"ans",
"a * c > a * d ? a * c : a * d",
"a * c > a * d",
"a * c",
"a",
"c",
"a * d",
"a",
"d",
"a * c",
"a",
"c",
"a * d",
"a",
"d",
"ans = b * c > ans ? b * c : ans",
"ans",
"b * c > ans ? b * c : ans",
"b * c > ans",
"b * c",
"b",
"c",
"ans",
"b * c",
"b",
"c",
"ans",
"ans = b * d > ans ? b * d : ans",
"ans",
"b * d > ans ? b * d : ans",
"b * d > ans",
"b * d",
"b",
"d",
"ans",
"b * d",
"b",
"d",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n long ans = a * c > a * d ? a * c : a * d;\n ans = b * c > ans ? b * c : ans;\n ans = b * d > ans ? b * d : ans;\n \n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n long ans = a * c > a * d ? a * c : a * d;\n ans = b * c > ans ? b * c : ans;\n ans = b * d > ans ? b * d : ans;\n \n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
long ans = a * c > a * d ? a * c : a * d;
ans = b * c > ans ? b * c : ans;
ans = b * d > ans ? b * d : ans;
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
39,
2,
13,
13,
2,
13,
13,
2,
13,
13,
2,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
13,
30,
0,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
9,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
16,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
16,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
16,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
42,
52
],
[
52,
53
],
[
52,
54
],
[
16,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
16,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
60,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
75,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
16,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
6,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in);) {\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n long[] ary = {a * c, a * d, b * c, b * d};\n long max = ary[0];\n\n for (int i = 1; i < ary.length; i++) {\n if (ary[i] > max) {\n max = ary[i];\n }\n }\n \n System.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in);) {\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n long[] ary = {a * c, a * d, b * c, b * d};\n long max = ary[0];\n\n for (int i = 1; i < ary.length; i++) {\n if (ary[i] > max) {\n max = ary[i];\n }\n }\n \n System.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in);) {\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n long[] ary = {a * c, a * d, b * c, b * d};\n long max = ary[0];\n\n for (int i = 1; i < ary.length; i++) {\n if (ary[i] > max) {\n max = ary[i];\n }\n }\n \n System.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"main",
"{\n try (Scanner scanner = new Scanner(System.in);) {\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n long[] ary = {a * c, a * d, b * c, b * d};\n long max = ary[0];\n\n for (int i = 1; i < ary.length; i++) {\n if (ary[i] > max) {\n max = ary[i];\n }\n }\n \n System.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"try (Scanner scanner = new Scanner(System.in);) {\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n long[] ary = {a * c, a * d, b * c, b * d};\n long max = ary[0];\n\n for (int i = 1; i < ary.length; i++) {\n if (ary[i] > max) {\n max = ary[i];\n }\n }\n \n System.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n long[] ary = {a * c, a * d, b * c, b * d};\n long max = ary[0];\n\n for (int i = 1; i < ary.length; i++) {\n if (ary[i] > max) {\n max = ary[i];\n }\n }\n \n System.out.println(max);\n }",
"Scanner scanner = new Scanner(System.in)",
"Scanner scanner = new Scanner(System.in)",
"new Scanner(System.in)",
"long a = scanner.nextLong();",
"a",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long b = scanner.nextLong();",
"b",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long c = scanner.nextLong();",
"c",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long d = scanner.nextLong();",
"d",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long[] ary = {a * c, a * d, b * c, b * d};",
"ary",
"{a * c, a * d, b * c, b * d}",
"a * c",
"a",
"c",
"a * d",
"a",
"d",
"b * c",
"b",
"c",
"b * d",
"b",
"d",
"long max = ary[0];",
"max",
"ary[0]",
"ary",
"0",
"for (int i = 1; i < ary.length; i++) {\n if (ary[i] > max) {\n max = ary[i];\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < ary.length",
"i",
"ary.length",
"ary",
"ary.length",
"i++",
"i++",
"i",
"{\n if (ary[i] > max) {\n max = ary[i];\n }\n }",
"{\n if (ary[i] > max) {\n max = ary[i];\n }\n }",
"if (ary[i] > max) {\n max = ary[i];\n }",
"ary[i] > max",
"ary[i]",
"ary",
"i",
"max",
"{\n max = ary[i];\n }",
"max = ary[i]",
"max",
"ary[i]",
"ary",
"i",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in);) {\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n long[] ary = {a * c, a * d, b * c, b * d};\n long max = ary[0];\n\n for (int i = 1; i < ary.length; i++) {\n if (ary[i] > max) {\n max = ary[i];\n }\n }\n \n System.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in);) {\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n long[] ary = {a * c, a * d, b * c, b * d};\n long max = ary[0];\n\n for (int i = 1; i < ary.length; i++) {\n if (ary[i] > max) {\n max = ary[i];\n }\n }\n \n System.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner scanner = new Scanner(System.in);) {
long a = scanner.nextLong();
long b = scanner.nextLong();
long c = scanner.nextLong();
long d = scanner.nextLong();
long[] ary = {a * c, a * d, b * c, b * d};
long max = ary[0];
for (int i = 1; i < ary.length; i++) {
if (ary[i] > max) {
max = ary[i];
}
}
System.out.println(max);
} catch (Exception e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
18,
13,
13,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
13,
30,
0,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
13,
17,
30,
29,
13,
30,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
127,
5
],
[
127,
6
],
[
6,
7
],
[
6,
8
],
[
127,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
74,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
89,
93
],
[
11,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
9,
100
],
[
100,
101
],
[
127,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
105,
111
],
[
111,
112
],
[
112,
113
],
[
105,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
116,
119
],
[
119,
120
],
[
119,
121
],
[
102,
122
],
[
122,
123
],
[
102,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tstatic Scanner scan = new Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tlong num[] = new long[4];\n\t\tlong ans = 0;\n\t\t\n\t\tfor(int i=0;i<4;i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<2;i++) {\n\t\t\tfor(int j=2;j<4;j++) {\n\t\t\t\tlong kari = num[i]*num[j];\n\t\t\t\tif(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\n\t\t\n\t}\n\t\n\t\n\tpublic static int gcd(int x,int y) {\n\t\tif(x%y == 0) {\n\t\t\treturn y;\n\t\t}else {\n\t\t\treturn gcd(y,x%y);\n\t\t}\n\t}\n\t\n}\n \n\n\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tstatic Scanner scan = new Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tlong num[] = new long[4];\n\t\tlong ans = 0;\n\t\t\n\t\tfor(int i=0;i<4;i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<2;i++) {\n\t\t\tfor(int j=2;j<4;j++) {\n\t\t\t\tlong kari = num[i]*num[j];\n\t\t\t\tif(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\n\t\t\n\t}\n\t\n\t\n\tpublic static int gcd(int x,int y) {\n\t\tif(x%y == 0) {\n\t\t\treturn y;\n\t\t}else {\n\t\t\treturn gcd(y,x%y);\n\t\t}\n\t}\n\t\n}",
"Main",
"static Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\t\t\n\t\tlong num[] = new long[4];\n\t\tlong ans = 0;\n\t\t\n\t\tfor(int i=0;i<4;i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<2;i++) {\n\t\t\tfor(int j=2;j<4;j++) {\n\t\t\t\tlong kari = num[i]*num[j];\n\t\t\t\tif(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tlong num[] = new long[4];\n\t\tlong ans = 0;\n\t\t\n\t\tfor(int i=0;i<4;i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<2;i++) {\n\t\t\tfor(int j=2;j<4;j++) {\n\t\t\t\tlong kari = num[i]*num[j];\n\t\t\t\tif(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\n\t\t\n\t}",
"long num[] = new long[4];",
"num",
"new long[4]",
"4",
"long ans = 0;",
"ans",
"0",
"for(int i=0;i<4;i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<4",
"i",
"4",
"i++",
"i++",
"i",
"{\n\t\t\tnum[i] = scan.nextLong();\n\t\t}",
"{\n\t\t\tnum[i] = scan.nextLong();\n\t\t}",
"num[i] = scan.nextLong()",
"num[i]",
"num",
"i",
"scan.nextLong()",
"scan.nextLong",
"scan",
"for(int i=0;i<2;i++) {\n\t\t\tfor(int j=2;j<4;j++) {\n\t\t\t\tlong kari = num[i]*num[j];\n\t\t\t\tif(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<2",
"i",
"2",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j=2;j<4;j++) {\n\t\t\t\tlong kari = num[i]*num[j];\n\t\t\t\tif(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j=2;j<4;j++) {\n\t\t\t\tlong kari = num[i]*num[j];\n\t\t\t\tif(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for(int j=2;j<4;j++) {\n\t\t\t\tlong kari = num[i]*num[j];\n\t\t\t\tif(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}\n\t\t\t}",
"int j=2;",
"int j=2;",
"j",
"2",
"j<4",
"j",
"4",
"j++",
"j++",
"j",
"{\n\t\t\t\tlong kari = num[i]*num[j];\n\t\t\t\tif(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tlong kari = num[i]*num[j];\n\t\t\t\tif(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}\n\t\t\t}",
"long kari = num[i]*num[j];",
"kari",
"num[i]*num[j]",
"num[i]",
"num",
"i",
"num[j]",
"num",
"j",
"if(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}",
"i==0 && j==2",
"i==0",
"i",
"0",
"j==2",
"j",
"2",
"{\n\t\t\t\t\tans = kari;\n\t\t\t\t}",
"ans = kari",
"ans",
"kari",
"{\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}",
"ans = Math.max(kari, ans)",
"ans",
"Math.max(kari, ans)",
"Math.max",
"Math",
"kari",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public static int gcd(int x,int y) {\n\t\tif(x%y == 0) {\n\t\t\treturn y;\n\t\t}else {\n\t\t\treturn gcd(y,x%y);\n\t\t}\n\t}",
"gcd",
"{\n\t\tif(x%y == 0) {\n\t\t\treturn y;\n\t\t}else {\n\t\t\treturn gcd(y,x%y);\n\t\t}\n\t}",
"if(x%y == 0) {\n\t\t\treturn y;\n\t\t}else {\n\t\t\treturn gcd(y,x%y);\n\t\t}",
"x%y == 0",
"x%y",
"x",
"y",
"0",
"{\n\t\t\treturn y;\n\t\t}",
"return y;",
"y",
"{\n\t\t\treturn gcd(y,x%y);\n\t\t}",
"return gcd(y,x%y);",
"gcd(y,x%y)",
"gcd",
"y",
"x%y",
"x",
"y",
"int x",
"x",
"int y",
"y",
"public class Main {\n\tstatic Scanner scan = new Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tlong num[] = new long[4];\n\t\tlong ans = 0;\n\t\t\n\t\tfor(int i=0;i<4;i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<2;i++) {\n\t\t\tfor(int j=2;j<4;j++) {\n\t\t\t\tlong kari = num[i]*num[j];\n\t\t\t\tif(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\n\t\t\n\t}\n\t\n\t\n\tpublic static int gcd(int x,int y) {\n\t\tif(x%y == 0) {\n\t\t\treturn y;\n\t\t}else {\n\t\t\treturn gcd(y,x%y);\n\t\t}\n\t}\n\t\n}",
"public class Main {\n\tstatic Scanner scan = new Scanner(System.in);\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tlong num[] = new long[4];\n\t\tlong ans = 0;\n\t\t\n\t\tfor(int i=0;i<4;i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<2;i++) {\n\t\t\tfor(int j=2;j<4;j++) {\n\t\t\t\tlong kari = num[i]*num[j];\n\t\t\t\tif(i==0 && j==2) {\n\t\t\t\t\tans = kari;\n\t\t\t\t}else {\n\t\t\t\t\tans = Math.max(kari, ans);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\n\t\t\n\t}\n\t\n\t\n\tpublic static int gcd(int x,int y) {\n\t\tif(x%y == 0) {\n\t\t\treturn y;\n\t\t}else {\n\t\t\treturn gcd(y,x%y);\n\t\t}\n\t}\n\t\n}",
"Main"
]
| import java.util.*;
public class Main {
static Scanner scan = new Scanner(System.in);
public static void main(String[] args) {
long num[] = new long[4];
long ans = 0;
for(int i=0;i<4;i++) {
num[i] = scan.nextLong();
}
for(int i=0;i<2;i++) {
for(int j=2;j<4;j++) {
long kari = num[i]*num[j];
if(i==0 && j==2) {
ans = kari;
}else {
ans = Math.max(kari, ans);
}
}
}
System.out.println(ans);
}
public static int gcd(int x,int y) {
if(x%y == 0) {
return y;
}else {
return gcd(y,x%y);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
2,
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
],
[
80,
11
],
[
80,
12
],
[
12,
13
],
[
12,
14
],
[
80,
15
],
[
15,
16
],
[
15,
17
],
[
80,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
20,
27
],
[
27,
28
],
[
28,
29
],
[
18,
30
],
[
30,
31
],
[
80,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
34,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
34,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
34,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
67,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
73,
75
],
[
70,
76
],
[
76,
77
],
[
76,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
]
| [
"//No sorceries shall prevail.\nimport java.util.*;\nimport java.io.*;\nimport java.lang.reflect.Array;\npublic class Main {\n\n\tstatic Scanner inp= new Scanner(System.in);\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \t\n\t\tMain g=new Main();\n\t\tg.main();\n\t\tout.close();\n\t\t\n\t}\n\t\n\t\n\t\n\tvoid main() {\n\t\t\n\t\tlong a=inp.nextLong();\n\t\tlong b=inp.nextLong();\n\t\tlong c=inp.nextLong();\n\t\tlong d=inp.nextLong();\n\t\tout.println(Math.max(a*c, Math.max(a*d, Math.max(b*d, b*c))));\n\t\t\n\t}\n\t\n\t\n\t\n\t\n\t/*********************************************************************************************************************************************************************************************************\n\t * ti;. .:,:i: :,;;itt;. fDDEDDEEEEEEKEEEEEKEEEEEEEEEEEEEEEEE###WKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWW#WWWWWKKKKKEE :,:. f::::. .,ijLGDDDDDDDEEEEEEE*\n\t *ti;. .:,:i: .:,;itt;: GLDEEGEEEEEEEEEEEEEEEEEEDEEEEEEEEEEE#W#WEKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWKKKKKKG. .::. f:,...,ijLGDDDDDDDDEEEEEE *\n\t *ti;. .:,:i: :,;;iti, :fDDEEEEEEEEEEEEEEEKEEEEDEEEEEEEEEEEW##WEEEKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWWKKKKKKEG .::. .f,::,ijLGDDDDDDDDEEEEEE *\n\t *ti;. .:,:i: .,,;iti;. LDDEEEEEEEEEEKEEEEWEEEDDEEEEEEEEEEE#WWWEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWKKKKKEDj .::. .:L;;ijfGDDDDDDDDDEEEEE *\n\t *ti;. .:,:i: .:,;;iii:LLDEEEEEEEEEEEKEEEEEEEEDEEEEEEEEEEEW#WWEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKWWKWWWWWWWWWWWWWWKKKKKKKEL .::. .:;LijLGGDDDDDDDDEEEEE *\n\t *ti;. .:,:;: :,;;ittfDEEEEEEEEEEEEEEEEKEEEGEEEEEEEEEEEKWWWEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWKKKKKKKELj .::. :,;jffGGDDDDDDDDDEEEE *\n\t *ti;. .:,:i: .,;;tGGDEEEEEEEEEEEKEEEKEEEDEEEEEEEEEEEEWWWEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWKWWWWWWKKKKKKKEEL .::. .:;itDGGDDDDDDDDDEEEE *\n\t *ti;. .:::;: :;ifDEEEEEEEEEEEEKEEEKEEEEEEEEEEEEEEEWWWEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WWWKKKKKKKKEEf .::. :,itfGEDDDDDDDDDDDEE *\n\t *ti;. .:::;: :GGEEEEEEEEEEEKEKEEKEEEEEEEEEEEEEEEEWWEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKKKKEEDG .::. .,;jfLGKDLDDDDDDEEDD *\n\t *ti;. .:::;: fDEEEEEEKKKKKKKKKEKEEEEEEEEEEEEEEE#WEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#KKKKKKKKKKEEf .:::. .,;tfLGDEDDDDDDDDEEE *\n\t *ti;. :::;: fDEEEEEEKKKKKKKKKKWKEEEEEEEEEEEEEEEWKEEEEEEEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKW##KKKKKKKKKEEft :::. .,;tfLGDDDKDDDDDDDDD *\n\t *ti;. .::;: fDEEEEEEKKKKKKKWKKKKKEEEEEEEEEEEEE#WEEWEEEEEDEEDEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKKKEEGG :,:. .,;tfLGGDDDKDDDDDDDD *\n\t *ti;. .:.;: tGDEEEEKKKKKKKKKKKKKKKKKEEEEEEEEEEEWEEKWEEEEEEEDEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWKKKKKKKEEDf :::. .,;tfLGGDDDDEDDDDDDD *\n\t *ti;. .::;: fDEEEEEKKKKKKKKKKKWKKKKKKKKEEEEEEEWWEEWEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKW##KKKKKKKEEEft.::. .,;tfLGGDDDDDDEDDDDD *\n\t *ti;. .:.;: tGDEEEKKKKKKKKKKKKKKKKKKKKKKEKEEEEE#EEWWEEEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKEEEGD:::. .,;tfLGGDDDDDDDEDDDD *\n\t *ti;. .:.,. LDEEEEKKKKKKKKKKWKWKKKKKKKKKKKKEEEKWEKW#EEEEEEEEEEEEEEEEKEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKW##KKKKKKEEEEf,,:. .,;tfLGGDDDDDDDDEDDD *\n\t *ti;. ..:.,. LGDEEEEKKKKKKKKKKWKKKKKKKKKKKKKKKKKWEEW#WEEEEEEEEEEEEEEEKEEEEEEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKK##KKKKKEEEEEfi;,. .,;tfLGGDDDDDDDDDKDD *\n\t *tt;. .:.,: jDEEEEKKKKKKKKKKWWKKKKKKKKKKKKKKKKKWKE#WWEEEEEEEEEEEEEEWEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKWWKKKKEEEEDfG;,: .,;tfLGGDDDDDDDDDDKD *\n\t *tii,. .:.,. tGDEEEEKKKKKKKKKKWWWKKKKKKKKKKKKKKKWKKWWWKEEEEEEEEEEEEEKEEEEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKW#KKKKEEEEDGGi;,. .,;tfLGGDDDDDDDDDDDE *\n\t *ti;;,:. .:.,: fDEEEEKKKKKKKKKKKWKKKKKKKKKKKKKKKKKWEK#WWKEEEEEEEEEEEEDEEEEEEEEEEEEEEGEEEEEEEEEEEEEEEEEEEKKKKKKKWWKKEEEEEEDDf;;;,. .,;tfLGGDDDDDDDDDDDD *\n\t *tii;,,:.. ...,. ;LEEEEEKKKKKKWKKKKWKKKKKKKKKKKKKKKKKEKKW#WEEEEEEEEEEEEEjEEEEEEEEEKEEEEGEEEEEEEEEKEEEEEEEEEEEEEEEEE#WKEEEEEEDDf;;;;,: .,itfLGGDDDDDDDDDDDD *\n\t *ti;,,,,,:. ...,. LDEEEEKKKKKKKKKKKWWWKKKKKKKKKKKKKKKWKK#W#WEEEEEEEEEEEDDLEEEEEEEEEWEEEEDEEEEEEEEEKEEEEEEEEEEEEEEEEEWWEEEEEEEDDfj,,,,,:. .,itfGGGDDDDDDDDDDDD *\n\t *tii,,,,::::. ...,: .fDEEEEKKKKKKWKKKKWWWKKKKKKKKKKKKKKKEKKW#WWEEEEEEEEEEEKiKEEKEEEEEEWEEEEDEEEEEEEEEEEEEEEEEEEEEEEEEEEWWEEEEEEEDDLD:::,,,:. .,ijfGGGDDDDDDDDDDDD *\n\t *ti;:::::::::.. .:.,: LDEEEEKKKKKKKWKKKKWWKKKKKKKKKKKKKKKKtKKWWWWKEEEEEEEEEDiiDEEEEEEEEWWEEEEEEDEEEEEEEEEEEEEEEEEEEEEEEEEEWKEEEEEDDDGL:. .:,,,: .,ijLGGGDDDDDDDDDDDD *\n\t *tt;. .::::::::.. ...,: :fDEEEKKKKKKKKKKKKWW#KKKKKKKKKKKKKKKKfKKWWWWKEEEEEEEEDti,DEKEEEEEEWWEEEDEEEEEEEEEKEEEEEEEEEEEEEDEEEEE#WEEEEEGGDGf:. .:,;,:. .,ijLGGDDDDDDDDDDDDD *\n\t *tt;. .:::::::.. ...,: GDEEEKKKKKKKKWKKKKWWWKKKWKKKKKKKWWWKDEKLWWWWKKEEEEEEDEi,LDEEEEEEEEWWEEEEEEEEEEEEEEEEEEEEEEEEEDEDEEEEEW#EEEEDDDDGf,. :,,,:...,ijLGGGDDDDDDDDDDDD *\n\t *tt;. .....::::.. ...,: fDEEEKKKKKKKKWKKKKWWWWKKKWKKKKKKKKKKfWKiWWW#KKEEEEEEEi;.EDfEEEDEEiWWEEEEEEEEEEEEDGKEEEEEEEEEEDEEEEEEEWWEEEEDDDGGLi. .,;,:::,ijLGGGDDDDDDDDDDDD *\n\t *tt;. ....:::::. ...,. iDEEEEKKKKKKKKWKKWKWWWWWKKWWWKKKKKKKKtWKt#WWWKKEEEEEDji..DDKDDEDEGiWKEEEEEEEEEEDDEjEEEEEEEEEEEDEEEEEEEKWKEEDDDDGGff. .:,;,,;ijLGGGDDDDDDDDDDDD *\n\t *tt;. ....::::.. .:.,: .LDEEEKKKKKKKKKKKKWWWWKWWWWWWWWWWKKKKWtKKiDWWWKKKEEEEKi:..DEDDDDDDiiWKEEEEEEEEEEDDEijDEEEEEKEEEEEEEEEEEEWWEEGDDDGGLG. .:,;;iijLGGGDDDDDDDDDDDD *\n\t *tt;. .....:::.. ...,. .fEEEEKKKKKKKKWKKKKWWWWWWWWWWWWWWKWKKKiKDiLWWWWKEEEEEi,..fD:DDDDDti;WEEEEEEEEEEKDDi:iDDEEEEWEEEEEEEEEEEE#WEEGDDDDGGG. :,iitjLGGGDDDDDDDDDDDD *\n\t *tti. .....:::.. ...,. GDEEEKKKKKKKKKWKKKWWW#WWWWWWWWWWWKWKKjiEjitWWWKKWEEEDi...DDLDDDDji;;WEEEEEEEEEEEDEj.iDDEEEEWEEEEEEEEEEEEWWEEDDDDDDGf. .,;tjfLGGDDDDDDDDDDDD *\n\t *tti. ....::::.. ...,. fEEEKKKKKKKKKKKKKKKW#WWWWWWWWWWWWWWWWtiEiiiWWWKKEWKEi....D.EDDDEi;.fWEEEEEEEEEEDDfL.;EDDEEEWEEEEEEEEEEEEWWEEEDDDDDGf. :;ijfLGGDDDDDDDDDDDD *\n\t *tti. ....::::.. ...,. LDEEEKKKKKKKKKKKKKKWWWWWWWWWWWWWWWW####WKiiiWWWKKKEEK,...:E:DDDEii..GWEEEEEEEEDWDDiL.,KDDEEEWEEEEEEEEEEEEWWKEEDDDDDGf: .,itfLGGDDDDDDDDDDDD *\n\t *tti. .....:::.. ...,. fDEEEKKKKKKKKKWKKKKWWWWWWWWWWWWW########WLiiWWWKKKEEjD...G,DDDDi;...EWEEEEEEEEDKDEii..LDDEEEWEEEEEEEEEEEEWWWEEDDDDDGfi .,;tfLGGGDDDDDDDDDDD *\n\t *tti. .....:::.. ...,. iGEEEKKKKKKKKKKWKKKKWWWWWWWWWWWW###########KiWWWKKEEE,.D..D.DDDii:...KKEEEEEEEEEDDj:...tEDEEEWEEEEEEEEEEEEWWWEEEDDDDDLL .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ....::::......:. LEEEKKKKKKKKKKWWKKKWWW#KWWWWWWWW#####W####W##KWWKKEEL..:D.jjDDi;,....KKEEEEEEEDfDDi...:iKDEEEWKEEEEEEEEEEEWWWEEEEDDDDLG .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ...::::::..,. :GEEEKKKKKKKKKKKKWWWWW##WWWWWWWWW##WKWK#W#W####WWKEEK.....G.DDti,.....KKEEEEEEDWGDf.,...iKDEEEWWEEEEEEEEEEEW#WEEEEEDDDGL .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ....::::::,. GDEEKKKKKKKKKKKKKWWWW###WWWWWWWWWW#WWWK###W#####WKEKK.....jDDL;;......KKEEEEEEEEEDi.f...;KDEEEWWEEEEEEEEEEEWWWWEEEEEDDGf .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ....:::,,. .LEEEKKKKKWKKKKKWWWWWW###WWWWWWWWWW#WWKW#WW##W#WWWKEKD:....:DD:;......;KEEEEEEEKiDD..f...,KKEEEWWEEEEEEEEEEEWWWWEEEEEDDDf .:;tjLLGGGDDDDDDDDDD *\n\t *tti. ...::,,,:. GDEEKKKKKKKKKKKKWWWWWWW#WWWWWWWWWWW#KjKWWWWWWWWWWWWEK.j,..;fD.;.......fKEEEEEDKG:Di..,....DKEEEWWEEEEEEKEKKKWWWWEEEEEEDDf .:;tjLLGGDDDDDDDDDDD *\n\t *jti. ...::,,,,:. .fEEEKKKKKWKKKKKKWWWWWWW#WWWWWWWWWWK#KKKWWWWWWWWWWWWWK..f:.:G.,:.......EKEEEEEKK;:E:.......fKEEEWWKEKEKKKKKKKW#WWEEEEEEDDf: .,;tfLLGGDDDDDDDDDDD *\n\t *tti. ...:,,,;;,: iDEEKKKKKWKKKKKKKWWWWWWW#WWWWWWWWWWK#WDKWWKKWWWWWWWWWE..;G:G..,........KKEEEEEKi.Gi..:.....tKEEKWWWKKKKKKKKKKW##WKEEEEEEDfi .,;tfLLGGGDDDDDDDDDD *\n\t *tti. ....::,,;;;,LEEKKKKKKWKKKKKWWWWWWW###WWWWWWWWWWKWWDKWEEEWKKWWWWWKKj.:LG..;.........EKEEEEKG;.G...;.....;KKEKWWWKKKKKKKKKKW##WWKEEEEEDfL .,;tfLGGGDDDDDDDDDDD *\n\t *jti. ...::::,;ijDEEKKKKKWKKKKKKWKWWWWW##WWWWWWWWWWWKK#KKGDGDWEEWKKWKKGE,.i;.:.........:EKEEEKE;.:L...j.....,KWEKWWWKKKKKKKKKK####WKKEEEEDLG .,;tfLGGGGDDDDDDDDDD *\n\t *jti. ...:...,,;GEEKKKKKWWKKKKKWWWWWWWW###WWWWWWWWWKKKWWKiLGGEDEDEKGKKiEG..;...........jKEEEKK;:.G....,.....:KKEWWWWKKKKKKKWKK####WKKKKEEEGL .,;tfLGGGGDDDDDDDDDD *\n\t *jti. ...:. .:,GEEKKKKKWKKKKKWWWWWWWW####WWWWWWWWWKKKWWKii;fDLGDK: EEi:E:.............EKEEKK;;..L...........KKKWWWWKKKKKKKWKK####WKKKWKEEDf .,;tfGGGGDDDDDDDDDDD *\n\t *jti. ...:. ,EEKKKKKWWKKKKKWWWWWWWWW###WWWWWWWWKKKKfWWLt;i,. fi EG..D:.............EKEKK;;..t....:.......KWKWWWWKKKKKKKWKK####WKKKWEEEDf:. .,;tfGGGGDDDDDDDDDDD *\n\t *jti. ...:. GEEKKKKKWKKKKKWWWWWWWWW####WWWWWWWKKKKKt;KKEfff .;t.................KKKKi;:..GtGGfG.......KWWWWWWKKKKKKKWKK###WWWKKKKEEEf,,: .,;tfGGGGDDDDDDDDDDD *\n\t *jti. ...:. GEKKKKKWWKKKKKWWWWWWWWWW##WWWWWWWKKKKKKt;EiKKKK, ...t................jEKKG;;..,.....,LGi....KWWWWWWKKKKKKWKKKW####WKKKKKEEL,,,:. .,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. .GEEKKKKKWKKKKKWWWWWWWWWW###WWWWWWWKKKKKKtiE::tGG........................EEEj;;...,.........:D..DKWWWWWWKKKKK#KKW###W#WKKKKKEEfj:,,,:. .,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. DEKKKKKWWKKKKKWWWWWWWWW####WWWWWWWKKKKKKiiE:::.::.......................EEi;;...j.....f......:iDKWWWWWWKKKKK#WW######WKKKKKEELG :,,,,:. .,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. fEEKKKKWWKKKKWWWWWWWWWWW###WWWWWWWWKKKKKK;tE::..........................DD;.;,.::......;........EWWWWWWWKKKKW#WW#####WWKKKWKKELG .:,,,:::,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. .DEKEKKKWWKKKKWWWWWWWWWWW###WWWWWWWWKKKKKE,iD::..........................D..,;.,;tLffi...........DWDWWWW#KKKWWWWW#####W#KKKWKEEGL .:,;,,,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. ;EEKKKKWWKKKKKWWWWWW#WWWW####WWWWWWKKKKKEL:iD:..........................j ..;..;;:.....i,........DKtWWWWWKKWWWWWW#####WWWKKKEKEDf .:,;;;itfGGGDDDDDDDDDDDD *\n\t *jti. ...:. DEKKKKKWWKKKKWWWWWWW#WWWW####WWWWWWKKKKKEj:iG...............................:....................GKiWWWWWKKWW#WWW######WWKKKKKEEf .,;iitfGGGDDDDDDDDDDDD *\n\t *jti. ...:.:EKKKKKWWKKKKKWWWWWWW#WWW#####WWWWWKWKKKKEi:if:.................................iEKEKKKKKKDj......DKiWWWWWKWK##WW#######WWKKK:KEEL .:;itfGGGDDDDDDDDDDDD *\n\t *jji. ...:,DEEKKKWWWKWKKWWWWWWWWWWWW#####WWWWWWWKKKKEi:it..................................j. KKKKKKKKKKKf..DKiWWWWWKWW##WW#######WWKKK,KEEf .,;tfGGGDDDDDDDDDDDD *\n\t *jji. ..L:iDEEKKKWWKKKKKWWWWWWWWWWWW#####WWWWWKWKKKKKi.i;.................................. . KKKWWWWWWWWK..DGiWWWWWKK##WWW#####W#WWKKKjEKEL, .:;tfGGGDDDDDDDDDDDD *\n\t *jji. .f:::EEEKKKWWWKKKKKWWWWWWWWWWWW#####WWWWWKWKKKKK;.i,.................................:: KKEKWWWWWWfWK..EiiWWWWWKWW#WW##########KKKD,KELj .:;tfGGDDDDDDDDDDDDD *\n\t *jji. .t::::,DEEKKKWWKKKKWWWWWWWWW#WWWW#####WWWWKKWKKKEK;.i:.................................GDDEEEKKKWWWWWtWWD.E;iWWWWWW###WW#########WWKKK.EEDG .:;tfGGGDDDDDDDDDDDD *\n\t *jji. . j..::::EKEKKKWWWKKKKWWWWWWWWW#WWW######WWWWKKWKKKEK;.t:.................................ELLEDDEEEWWWWEtWK,.KiiWWWWWW###W##########WWKKK:EEEG .;tjfLLGDDDDDDDDDDDDDDD *\n\t *jji. i.::::::,EEEKKWWWKKKKKWWWWWWWWW#WWW#####WWWWWKWKKKKEE,.t..................................DfiEGDDDEEKKKttKWG.KiiWWWWW##WWW##########WWKKK:fEEL ,fGGGDDDDDDDDEEEDDDDDDDDDD *\n\t *jji. .;:..:::::DEEEKKWWWKKKKKWWWWWWWWW#WWWW####WWWWWWWKKKKED,.t..................................ifjDDGGEGDKK.ttKKE.DiWWWWW###WW##########WWWKKK:.KELiLGGGGDDDDDDDDDDDDEEEDDDDDDD *\n\t *jji. i.:.::::::,KEEKKWWWKKKKKKWWWWWWWWW#WWWW####WWWWWWWKKKKEL:.j..................................GGf,;ifLLED .iiKKi:fWWWWWW##W#W##########WWWKKK:.KKLGGDDDDDDDDDDDDDDDDEDDEEDDDDD *\n\t *jji. .j:.::::::::EEEKKKWWWKKKKKKWWWWWWWW##WWW#####WWWWWWWKKKKKf:.f..................................:EEfftf .,. ;iE,..jWWWWWWW###W############WWKKK,:KKGDDDDDDDDDDDDDDDDDDDDDDDEDDDD *\n\t *jji. .:.::::::::,,EEEKKWWWKKKKKKKWWWWWWWW##WWW#####WWWWWWWKKKKKt..G....................................EEELL; .j....tKWWWWWWW################WWWKKtfGKGEDDDDDDDDDDDDDDDDDDDDDDDEEDD *\n\t *jji. :...:::::::,,jEEKKWWWWKKKKKKWWWWWWWWW##KWW#####KWWWWWWKKKKEi..D....................................:jEEE.........;KKWWWWWWWW#WW##W##########WWKKDLGKEKDDDDDDDDDDDDDDDDDDDDDDDDDED *\n\t *jji. i:.::::::::,,,EEEKKWWWWKKKKKWWWWWWWWWW##WWW#####WWWWWWWKKKKKi..D......................................:::::......,KKKWWWWWWWWW#####W########WWWKKKGGKKEGGGGGGGGDDDDDDDDDDDDDDDDDDE *\n\t *jji. i..:::::::::,,tEEKKWWWWKKKKKWWWWWWWWWWW##WW######WWWWWWWKKKKKi..D......................................::::......:EKKKWWWWWWWWWWW##WW########W#WKKWGGKKGGGGGGGGGGGGGGGDDDDDDDDDDDDD *\n\t *jji. .:::::::::::,,,EEEKKWWWWKKKKKWWWWWWWWWWW##WW#####WWWWWWWWKKKKKi..D....................................:::::::::..tELii;KWWWWWWWWWW##WW######WWWWWWKWGGGKGGGGGGGGGGGGGGGGGGGGGGGGGGDG *\n\t *jjt. :.::::::::,,,,fEEKKWWWWKKKKKKWWWWWWWWWW###WW####WWWWWWW#WKKKKKi..D....................................:::::::.:.,;;;;;;,KKWWWWWWWWW#WW########WWWKKWGGGKGGGGGGGGGGGGGGGGGGGGGGGGGGGG *\n\t *jji. ;.::::::::,,,,;EEEKWWWWWKKKKKWWWWWWWWWWWW##WW###WKWWWWWK#WKKKKKi..G......................................:::::::,;;;;:...KKKWWWWWWWWWKWW#######WWWWKKGLGKDGGGGGGLLGGGGGGGGGGGGGGGGGGG *\n\t *jjt. f.:::::::::,,,,fEEKKWWWWWKKKKKWWWWWWWWWWW###WW##WKKWWWWWW#WKKKKK;.jt........i.............................:::::::;j;;....:E.KKKWWWWWWWKWW#####W#WWWWKKLLGWEEGGGGGLGGGGGGGGGGGGGGGGGGGG *\n\t *jjt. ...:::::::,,,,,;DEEKWWWWWKKKKKWWWWWWWWWWWW####WWWKKKWWWWWWWWKKKKK;.E;.........t.............................:::::ii;;.....D...KKWWWWWWWKWW#####WWEWWWKKGGGEKKGGGGGLGGGGGGGGGGGGGLGGGGGG *\n\t *fji. ;.:::::::,,,,,;LEEKKWWWWWKKKKKWWWWWWWWWWWW####KWKKKKWWWWWWWWKKKKKi.D;..........j.............................:::tt;,.....:.....KKWWWWWWKWWWW##WWWGWWWKKGGGGKEGGGGGGGGGGGGGGGGGGGLLGGGGL *\n\t *fji. t::::::::,,,,,,;EEEKWWWWWKKKKKKKWWWWWWWWWWW##WKWKKKKKWWWWWWWWKKKKKi:D;............j...........................::LL;,.............KKWWWWWKWWWWWWWWWGWWWKKGGGGKGGGGGGGGGGGGGGGGGGGGLLGGGGL *\n\t *fjt: .:::::::,,,,,,,DEEKWWWWWWKKKKKKKWWWWWWWWWWWWKKWKKKKKKWWWWK#WWKKKKWitE;........... ............................:G;;:...............KKKWWKKWWWWWWWWWGWWWKKGGGGWGGGGGGGGGGGGGGGGGGGGGGGGGGL *\n\t *fjji;:. .f:::::::,,,,,,,;EEEKWWWWWWKKKKKKWWWWWWWWWWWKKKKKKKKKKKWWKWWWWWKKKKWGKD;........................................L;;..................DKKWKKWWWWWWWWWGWWWKKDGGGKDGGGGGGGGGGGGGGGGGGGGGGGGGG *\n\t *fjjtii;,:. :::::::,,,,,,,;EEEKWWWWWWKKKKKKWWWWWWWWWWKKKKKKKKKKKKWWWWWW#WWKKKKWiEj;......................................:i,;....,...............;KKEKWWWWWWWWWGKWWKKDDGGDEGGGDGGGGGDGGGGGGGGGGGGGGGG *\n\t *fjtiiiii;;:. j::::::,,,,,,,;;EEEKWWWWW#KKKKKWWWWWWWWWKKKKKKWKKKKKKKWWWWWWWWWKKKKWtEL;:....................................;;;:...,;j................:KEEWWWWWWWWWDDWWKKDDDDDKDDDDDDDDDDDDDDDGGGGGGGGGGG *\n\t *fjti;;iiii;;,:::::::,,,,,,,,;EEEKWWWWWWWKKKKWWWWWWWWKKKKKKKWKKKKKKKWWWWWWW#W#KKKKWEEii;...................................f;:....,;L...................EEKWWWWWWWWDDWWKKDDDDDKEDDDDDDDDDDDDDDDDDDDDDGGGG *\n\t *fjt,,,;;;;ii;f::::::,,,,,,,;;EEKWWWWWWWKKKKKWWWKWWKKKKKKKKKKKKKKKKKWWWWWWW#W#KKKKWKEij;:...............................:G;,.....,;f....................:tKKWWWWWWWDDWWKKDDDDDKKDDDDDDDDDDDDDDDDDDDDDDDDD *\n\t *jjt. ..:,;;;;,::::,,,,,,,,;;GEEWWWWWWWWKKKKWKKWKKKKKKKKKKKKKKKKKKKKWWWWWWW#W#KKKKWEDi;j;............................,Li;L;;;..,;;f........................KKKKWWWKDDWWKKDDDGDKKGGGGGGGGDGDDDDDDDDDDDDDDD *\n\t *fjt. .:,,,:::::,,,,,,,;;;EEKWWWWWWWKKKKKKWKKKKKKKKKKKKKKKKKKKKKWKKKWKW##W#KKKKWEti;;G;........................tEEEL;;;;;;;;;;L..........................DKKKKKEDDWWKEDGftiLE;;;;itjLGGGGGGDDDDDDDDDDD *\n\t *fjt. .j::::,,,,,,,;;;DEEWWWWWWWWKKKKWKKKKKKKKKKKKKKKKKKKKKKKWKKWWWK##W#KKKKKEii;;;L;...................iDEEEEEEKKi;j;;;;jD.....:......................,KKKKDGGEKKE:::::;E::::::::::,tLGGDDDDDDDDDD *\n\t *fjt. .;:::,,,,,,,;;;;EEKWWWWWWWWKWKKKKKKKKKKKKKKKWKKKKKKKKKKWKKWWWW#WW#KKKKKKii;;;;f;.............:tDEEEEEKKKKKKKKEti;;;L...............................EEKf;:iKKE::::::E::::::::::::::ifDDDDDDDDD *\n\t *fjt: :::,,,,,,,,;;;DEEWWWWWWWWWEKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKWWWW####KKKKKEiii;;;;f,.........iDEEEEKKKKKKKKKKKKKKKf;iG......i..........................fK::::KKE::::::E::::::::::::::::,tGGDDDDD *\n\t *fjt: t:::,,,,,,;;;;iDEKWWWWWWKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKWWWW####WKKKKLiii;;;;;L,....,Li;EDEEEEKKKKKKKKKKKKKKKKiG......;:...........................:i:::KKE:::::,E,::::::::::::::::::iGDDDD *\n\t *jjt. f::,,,,,,,;;;;GEEWWWWKEEKEKKKKKKKKKKKKKKKKWKKKKKKKKKKKWWKWWWWW###WWKKKKiii;;;;;;;G,;L;;iiEEEEEEEKKKKKKKKKKKKKWWKE......;t.........:....................j::KEE:,::,,D,,::::,,,,,,:::::::::tDDD *\n\t *fjt:. ,::,,,,,,,;;;;EEWWKEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKWWKKWWWWW#W#KKKKKKiiiiii;;;;;i;;iiiEEKEEKKWKKKKKKKWKKKKKWWWGi;...;t......,;;;;,....................:,EEE,,,,,,D,,,,,,,,,,,,,,,,::,::::tG *\n\t *fjt:. ,::,,,,,,,;;;;DEKEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWW#W#KKKKKKiiiii;;i;;;;;iiiKKKEKKKKWWKWWWWWWKKKKWWWWW;;;:;L.....;;;;;;;;;....................,KEE,,,,,,E,,,,,,,,,,,,,,,,,,,,,,,,; *\n\t *fjt:. f:,,,,,,,;;;;jEDEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWW#W##KKKKKKiiiiiiii;i;;iiiEKKKKKKKKWKWWWWWWWWKKKWWWWWKi;;i.....,jEEfGi;;;;;...................EED,,,,,,E,,,,,,,,,,,,,,,,,,,,,,,,, *\n\t *fjt:. .f::,,,,,,;;jEEDEEEEEEEEEEKKKKKKKKKKKKKKKWKKKKKKKKKKKKKWWWKWWWWW###KKKKKLiiiiiiiiiiiiiiEEKKKKKKKKWWWWWWWWWWWWKWWWWWWGi;i;,..;jDDDKEGi;;;;;;:................EED,,,,,,D,,,,,,,,,,,,,,,,,,,,,,,,, *\n\t *fjt:. .. ;::,,,,,;;EDDEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKW#WW####KWKKKiiiiiiiiiiiiijKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWt;i;;;;i;DDDDDDGi;;;;;;;;:.............EDf;,,,;,G;;;;;;;;;;;;;;;,,,,,,,,,, *\n\t *fjt:......:,,,,,,;LDDDEEEEEEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKKKWWWWKWWWW####KKKKKiiiiiiiiiiijKEKKWKKKKKKKWWWWWWWWWWWWWWWWWWWWWWiLiii;i;DEEEEDDE;i;;;;;;;;;:..........EDi,;;;;;L;;;;;;;;;;;;;;;;;;,,,,,,, *\n\t *fjt:......:,,,,,;EDDDEEKEEEEEEEEEKKKKKKKKKKKKKKKWKKKKKKKKKKKKKKWWWWKKWWW##W#KWKKWEiiiiiijGKKKKKWWKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWKi;iiiiDDEEEEEEDEi;;;;;;;;;;;;;,:.....ED;;;;;;;j;;;;;;;;;;;;;;;;;;;;;;;,, *\n\t *fjt:.....t,,,,,;DDDDEEEKEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWKKKWWWW##WKWKKWKiiiKKKKKKKKKWWKKKKKKKKWWWWWWWWWWWWWWW#WWWWWWWWWiiiiifLEEEEEEEEDi;i;;;;;;;;;;;;.....DD;;;;;;;i;;;;;;;;;;;;;;;;;;;;;;;;; *\n\t *fjt:.....G,,,,,GDDDEEEEEEEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKKKKKWWWKKKWWW###WKWKKWKitKKKKKKKKKWKKKKKKKKKKWWWWWWWWWWWWWW###WWWWWWWWEiiiiiiiEEEEEEEEDGiiii;;;;;;;;;.....GD;;;;;;;i;;;;;;;;;;;;;;;;;;;;;;;;; *\n\t *fjt:.....L,,,,;GDDDEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWDGWWW###KKWWKWKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWW####WWWWWWWWWiiiiiiiiEEEEEEEEEEDi;i;;;;;;;;.....Lj;;;;;;i;iiiiii;;;;;;ii;;;;;;;;;;; *\n\t ***********************************************************************************************************************************************************************************************************/\n\n\t\t\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"public class Main {\n\n\tstatic Scanner inp= new Scanner(System.in);\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \t\n\t\tMain g=new Main();\n\t\tg.main();\n\t\tout.close();\n\t\t\n\t}\n\t\n\t\n\t\n\tvoid main() {\n\t\t\n\t\tlong a=inp.nextLong();\n\t\tlong b=inp.nextLong();\n\t\tlong c=inp.nextLong();\n\t\tlong d=inp.nextLong();\n\t\tout.println(Math.max(a*c, Math.max(a*d, Math.max(b*d, b*c))));\n\t\t\n\t}\n\t\n\t\n\t\n\t\n\t/*********************************************************************************************************************************************************************************************************\n\t * ti;. .:,:i: :,;;itt;. fDDEDDEEEEEEKEEEEEKEEEEEEEEEEEEEEEEE###WKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWW#WWWWWKKKKKEE :,:. f::::. .,ijLGDDDDDDDEEEEEEE*\n\t *ti;. .:,:i: .:,;itt;: GLDEEGEEEEEEEEEEEEEEEEEEDEEEEEEEEEEE#W#WEKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWKKKKKKG. .::. f:,...,ijLGDDDDDDDDEEEEEE *\n\t *ti;. .:,:i: :,;;iti, :fDDEEEEEEEEEEEEEEEKEEEEDEEEEEEEEEEEW##WEEEKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWWKKKKKKEG .::. .f,::,ijLGDDDDDDDDEEEEEE *\n\t *ti;. .:,:i: .,,;iti;. LDDEEEEEEEEEEKEEEEWEEEDDEEEEEEEEEEE#WWWEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWKKKKKEDj .::. .:L;;ijfGDDDDDDDDDEEEEE *\n\t *ti;. .:,:i: .:,;;iii:LLDEEEEEEEEEEEKEEEEEEEEDEEEEEEEEEEEW#WWEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKWWKWWWWWWWWWWWWWWKKKKKKKEL .::. .:;LijLGGDDDDDDDDEEEEE *\n\t *ti;. .:,:;: :,;;ittfDEEEEEEEEEEEEEEEEKEEEGEEEEEEEEEEEKWWWEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWKKKKKKKELj .::. :,;jffGGDDDDDDDDDEEEE *\n\t *ti;. .:,:i: .,;;tGGDEEEEEEEEEEEKEEEKEEEDEEEEEEEEEEEEWWWEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWKWWWWWWKKKKKKKEEL .::. .:;itDGGDDDDDDDDDEEEE *\n\t *ti;. .:::;: :;ifDEEEEEEEEEEEEKEEEKEEEEEEEEEEEEEEEWWWEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WWWKKKKKKKKEEf .::. :,itfGEDDDDDDDDDDDEE *\n\t *ti;. .:::;: :GGEEEEEEEEEEEKEKEEKEEEEEEEEEEEEEEEEWWEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKKKKEEDG .::. .,;jfLGKDLDDDDDDEEDD *\n\t *ti;. .:::;: fDEEEEEEKKKKKKKKKEKEEEEEEEEEEEEEEE#WEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#KKKKKKKKKKEEf .:::. .,;tfLGDEDDDDDDDDEEE *\n\t *ti;. :::;: fDEEEEEEKKKKKKKKKKWKEEEEEEEEEEEEEEEWKEEEEEEEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKW##KKKKKKKKKEEft :::. .,;tfLGDDDKDDDDDDDDD *\n\t *ti;. .::;: fDEEEEEEKKKKKKKWKKKKKEEEEEEEEEEEEE#WEEWEEEEEDEEDEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKKKEEGG :,:. .,;tfLGGDDDKDDDDDDDD *\n\t *ti;. .:.;: tGDEEEEKKKKKKKKKKKKKKKKKEEEEEEEEEEEWEEKWEEEEEEEDEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWKKKKKKKEEDf :::. .,;tfLGGDDDDEDDDDDDD *\n\t *ti;. .::;: fDEEEEEKKKKKKKKKKKWKKKKKKKKEEEEEEEWWEEWEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKW##KKKKKKKEEEft.::. .,;tfLGGDDDDDDEDDDDD *\n\t *ti;. .:.;: tGDEEEKKKKKKKKKKKKKKKKKKKKKKEKEEEEE#EEWWEEEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKEEEGD:::. .,;tfLGGDDDDDDDEDDDD *\n\t *ti;. .:.,. LDEEEEKKKKKKKKKKWKWKKKKKKKKKKKKEEEKWEKW#EEEEEEEEEEEEEEEEKEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKW##KKKKKKEEEEf,,:. .,;tfLGGDDDDDDDDEDDD *\n\t *ti;. ..:.,. LGDEEEEKKKKKKKKKKWKKKKKKKKKKKKKKKKKWEEW#WEEEEEEEEEEEEEEEKEEEEEEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKK##KKKKKEEEEEfi;,. .,;tfLGGDDDDDDDDDKDD *\n\t *tt;. .:.,: jDEEEEKKKKKKKKKKWWKKKKKKKKKKKKKKKKKWKE#WWEEEEEEEEEEEEEEWEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKWWKKKKEEEEDfG;,: .,;tfLGGDDDDDDDDDDKD *\n\t *tii,. .:.,. tGDEEEEKKKKKKKKKKWWWKKKKKKKKKKKKKKKWKKWWWKEEEEEEEEEEEEEKEEEEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKW#KKKKEEEEDGGi;,. .,;tfLGGDDDDDDDDDDDE *\n\t *ti;;,:. .:.,: fDEEEEKKKKKKKKKKKWKKKKKKKKKKKKKKKKKWEK#WWKEEEEEEEEEEEEDEEEEEEEEEEEEEEGEEEEEEEEEEEEEEEEEEEKKKKKKKWWKKEEEEEEDDf;;;,. .,;tfLGGDDDDDDDDDDDD *\n\t *tii;,,:.. ...,. ;LEEEEEKKKKKKWKKKKWKKKKKKKKKKKKKKKKKEKKW#WEEEEEEEEEEEEEjEEEEEEEEEKEEEEGEEEEEEEEEKEEEEEEEEEEEEEEEEE#WKEEEEEEDDf;;;;,: .,itfLGGDDDDDDDDDDDD *\n\t *ti;,,,,,:. ...,. LDEEEEKKKKKKKKKKKWWWKKKKKKKKKKKKKKKWKK#W#WEEEEEEEEEEEDDLEEEEEEEEEWEEEEDEEEEEEEEEKEEEEEEEEEEEEEEEEEWWEEEEEEEDDfj,,,,,:. .,itfGGGDDDDDDDDDDDD *\n\t *tii,,,,::::. ...,: .fDEEEEKKKKKKWKKKKWWWKKKKKKKKKKKKKKKEKKW#WWEEEEEEEEEEEKiKEEKEEEEEEWEEEEDEEEEEEEEEEEEEEEEEEEEEEEEEEEWWEEEEEEEDDLD:::,,,:. .,ijfGGGDDDDDDDDDDDD *\n\t *ti;:::::::::.. .:.,: LDEEEEKKKKKKKWKKKKWWKKKKKKKKKKKKKKKKtKKWWWWKEEEEEEEEEDiiDEEEEEEEEWWEEEEEEDEEEEEEEEEEEEEEEEEEEEEEEEEEWKEEEEEDDDGL:. .:,,,: .,ijLGGGDDDDDDDDDDDD *\n\t *tt;. .::::::::.. ...,: :fDEEEKKKKKKKKKKKKWW#KKKKKKKKKKKKKKKKfKKWWWWKEEEEEEEEDti,DEKEEEEEEWWEEEDEEEEEEEEEKEEEEEEEEEEEEEDEEEEE#WEEEEEGGDGf:. .:,;,:. .,ijLGGDDDDDDDDDDDDD *\n\t *tt;. .:::::::.. ...,: GDEEEKKKKKKKKWKKKKWWWKKKWKKKKKKKWWWKDEKLWWWWKKEEEEEEDEi,LDEEEEEEEEWWEEEEEEEEEEEEEEEEEEEEEEEEEDEDEEEEEW#EEEEDDDDGf,. :,,,:...,ijLGGGDDDDDDDDDDDD *\n\t *tt;. .....::::.. ...,: fDEEEKKKKKKKKWKKKKWWWWKKKWKKKKKKKKKKfWKiWWW#KKEEEEEEEi;.EDfEEEDEEiWWEEEEEEEEEEEEDGKEEEEEEEEEEDEEEEEEEWWEEEEDDDGGLi. .,;,:::,ijLGGGDDDDDDDDDDDD *\n\t *tt;. ....:::::. ...,. iDEEEEKKKKKKKKWKKWKWWWWWKKWWWKKKKKKKKtWKt#WWWKKEEEEEDji..DDKDDEDEGiWKEEEEEEEEEEDDEjEEEEEEEEEEEDEEEEEEEKWKEEDDDDGGff. .:,;,,;ijLGGGDDDDDDDDDDDD *\n\t *tt;. ....::::.. .:.,: .LDEEEKKKKKKKKKKKKWWWWKWWWWWWWWWWKKKKWtKKiDWWWKKKEEEEKi:..DEDDDDDDiiWKEEEEEEEEEEDDEijDEEEEEKEEEEEEEEEEEEWWEEGDDDGGLG. .:,;;iijLGGGDDDDDDDDDDDD *\n\t *tt;. .....:::.. ...,. .fEEEEKKKKKKKKWKKKKWWWWWWWWWWWWWWKWKKKiKDiLWWWWKEEEEEi,..fD:DDDDDti;WEEEEEEEEEEKDDi:iDDEEEEWEEEEEEEEEEEE#WEEGDDDDGGG. :,iitjLGGGDDDDDDDDDDDD *\n\t *tti. .....:::.. ...,. GDEEEKKKKKKKKKWKKKWWW#WWWWWWWWWWWKWKKjiEjitWWWKKWEEEDi...DDLDDDDji;;WEEEEEEEEEEEDEj.iDDEEEEWEEEEEEEEEEEEWWEEDDDDDDGf. .,;tjfLGGDDDDDDDDDDDD *\n\t *tti. ....::::.. ...,. fEEEKKKKKKKKKKKKKKKW#WWWWWWWWWWWWWWWWtiEiiiWWWKKEWKEi....D.EDDDEi;.fWEEEEEEEEEEDDfL.;EDDEEEWEEEEEEEEEEEEWWEEEDDDDDGf. :;ijfLGGDDDDDDDDDDDD *\n\t *tti. ....::::.. ...,. LDEEEKKKKKKKKKKKKKKWWWWWWWWWWWWWWWW####WKiiiWWWKKKEEK,...:E:DDDEii..GWEEEEEEEEDWDDiL.,KDDEEEWEEEEEEEEEEEEWWKEEDDDDDGf: .,itfLGGDDDDDDDDDDDD *\n\t *tti. .....:::.. ...,. fDEEEKKKKKKKKKWKKKKWWWWWWWWWWWWW########WLiiWWWKKKEEjD...G,DDDDi;...EWEEEEEEEEDKDEii..LDDEEEWEEEEEEEEEEEEWWWEEDDDDDGfi .,;tfLGGGDDDDDDDDDDD *\n\t *tti. .....:::.. ...,. iGEEEKKKKKKKKKKWKKKKWWWWWWWWWWWW###########KiWWWKKEEE,.D..D.DDDii:...KKEEEEEEEEEDDj:...tEDEEEWEEEEEEEEEEEEWWWEEEDDDDDLL .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ....::::......:. LEEEKKKKKKKKKKWWKKKWWW#KWWWWWWWW#####W####W##KWWKKEEL..:D.jjDDi;,....KKEEEEEEEDfDDi...:iKDEEEWKEEEEEEEEEEEWWWEEEEDDDDLG .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ...::::::..,. :GEEEKKKKKKKKKKKKWWWWW##WWWWWWWWW##WKWK#W#W####WWKEEK.....G.DDti,.....KKEEEEEEDWGDf.,...iKDEEEWWEEEEEEEEEEEW#WEEEEEDDDGL .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ....::::::,. GDEEKKKKKKKKKKKKKWWWW###WWWWWWWWWW#WWWK###W#####WKEKK.....jDDL;;......KKEEEEEEEEEDi.f...;KDEEEWWEEEEEEEEEEEWWWWEEEEEDDGf .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ....:::,,. .LEEEKKKKKWKKKKKWWWWWW###WWWWWWWWWW#WWKW#WW##W#WWWKEKD:....:DD:;......;KEEEEEEEKiDD..f...,KKEEEWWEEEEEEEEEEEWWWWEEEEEDDDf .:;tjLLGGGDDDDDDDDDD *\n\t *tti. ...::,,,:. GDEEKKKKKKKKKKKKWWWWWWW#WWWWWWWWWWW#KjKWWWWWWWWWWWWEK.j,..;fD.;.......fKEEEEEDKG:Di..,....DKEEEWWEEEEEEKEKKKWWWWEEEEEEDDf .:;tjLLGGDDDDDDDDDDD *\n\t *jti. ...::,,,,:. .fEEEKKKKKWKKKKKKWWWWWWW#WWWWWWWWWWK#KKKWWWWWWWWWWWWWK..f:.:G.,:.......EKEEEEEKK;:E:.......fKEEEWWKEKEKKKKKKKW#WWEEEEEEDDf: .,;tfLLGGDDDDDDDDDDD *\n\t *tti. ...:,,,;;,: iDEEKKKKKWKKKKKKKWWWWWWW#WWWWWWWWWWK#WDKWWKKWWWWWWWWWE..;G:G..,........KKEEEEEKi.Gi..:.....tKEEKWWWKKKKKKKKKKW##WKEEEEEEDfi .,;tfLLGGGDDDDDDDDDD *\n\t *tti. ....::,,;;;,LEEKKKKKKWKKKKKWWWWWWW###WWWWWWWWWWKWWDKWEEEWKKWWWWWKKj.:LG..;.........EKEEEEKG;.G...;.....;KKEKWWWKKKKKKKKKKW##WWKEEEEEDfL .,;tfLGGGDDDDDDDDDDD *\n\t *jti. ...::::,;ijDEEKKKKKWKKKKKKWKWWWWW##WWWWWWWWWWWKK#KKGDGDWEEWKKWKKGE,.i;.:.........:EKEEEKE;.:L...j.....,KWEKWWWKKKKKKKKKK####WKKEEEEDLG .,;tfLGGGGDDDDDDDDDD *\n\t *jti. ...:...,,;GEEKKKKKWWKKKKKWWWWWWWW###WWWWWWWWWKKKWWKiLGGEDEDEKGKKiEG..;...........jKEEEKK;:.G....,.....:KKEWWWWKKKKKKKWKK####WKKKKEEEGL .,;tfLGGGGDDDDDDDDDD *\n\t *jti. ...:. .:,GEEKKKKKWKKKKKWWWWWWWW####WWWWWWWWWKKKWWKii;fDLGDK: EEi:E:.............EKEEKK;;..L...........KKKWWWWKKKKKKKWKK####WKKKWKEEDf .,;tfGGGGDDDDDDDDDDD *\n\t *jti. ...:. ,EEKKKKKWWKKKKKWWWWWWWWW###WWWWWWWWKKKKfWWLt;i,. fi EG..D:.............EKEKK;;..t....:.......KWKWWWWKKKKKKKWKK####WKKKWEEEDf:. .,;tfGGGGDDDDDDDDDDD *\n\t *jti. ...:. GEEKKKKKWKKKKKWWWWWWWWW####WWWWWWWKKKKKt;KKEfff .;t.................KKKKi;:..GtGGfG.......KWWWWWWKKKKKKKWKK###WWWKKKKEEEf,,: .,;tfGGGGDDDDDDDDDDD *\n\t *jti. ...:. GEKKKKKWWKKKKKWWWWWWWWWW##WWWWWWWKKKKKKt;EiKKKK, ...t................jEKKG;;..,.....,LGi....KWWWWWWKKKKKKWKKKW####WKKKKKEEL,,,:. .,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. .GEEKKKKKWKKKKKWWWWWWWWWW###WWWWWWWKKKKKKtiE::tGG........................EEEj;;...,.........:D..DKWWWWWWKKKKK#KKW###W#WKKKKKEEfj:,,,:. .,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. DEKKKKKWWKKKKKWWWWWWWWW####WWWWWWWKKKKKKiiE:::.::.......................EEi;;...j.....f......:iDKWWWWWWKKKKK#WW######WKKKKKEELG :,,,,:. .,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. fEEKKKKWWKKKKWWWWWWWWWWW###WWWWWWWWKKKKKK;tE::..........................DD;.;,.::......;........EWWWWWWWKKKKW#WW#####WWKKKWKKELG .:,,,:::,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. .DEKEKKKWWKKKKWWWWWWWWWWW###WWWWWWWWKKKKKE,iD::..........................D..,;.,;tLffi...........DWDWWWW#KKKWWWWW#####W#KKKWKEEGL .:,;,,,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. ;EEKKKKWWKKKKKWWWWWW#WWWW####WWWWWWKKKKKEL:iD:..........................j ..;..;;:.....i,........DKtWWWWWKKWWWWWW#####WWWKKKEKEDf .:,;;;itfGGGDDDDDDDDDDDD *\n\t *jti. ...:. DEKKKKKWWKKKKWWWWWWW#WWWW####WWWWWWKKKKKEj:iG...............................:....................GKiWWWWWKKWW#WWW######WWKKKKKEEf .,;iitfGGGDDDDDDDDDDDD *\n\t *jti. ...:.:EKKKKKWWKKKKKWWWWWWW#WWW#####WWWWWKWKKKKEi:if:.................................iEKEKKKKKKDj......DKiWWWWWKWK##WW#######WWKKK:KEEL .:;itfGGGDDDDDDDDDDDD *\n\t *jji. ...:,DEEKKKWWWKWKKWWWWWWWWWWWW#####WWWWWWWKKKKEi:it..................................j. KKKKKKKKKKKf..DKiWWWWWKWW##WW#######WWKKK,KEEf .,;tfGGGDDDDDDDDDDDD *\n\t *jji. ..L:iDEEKKKWWKKKKKWWWWWWWWWWWW#####WWWWWKWKKKKKi.i;.................................. . KKKWWWWWWWWK..DGiWWWWWKK##WWW#####W#WWKKKjEKEL, .:;tfGGGDDDDDDDDDDDD *\n\t *jji. .f:::EEEKKKWWWKKKKKWWWWWWWWWWWW#####WWWWWKWKKKKK;.i,.................................:: KKEKWWWWWWfWK..EiiWWWWWKWW#WW##########KKKD,KELj .:;tfGGDDDDDDDDDDDDD *\n\t *jji. .t::::,DEEKKKWWKKKKWWWWWWWWW#WWWW#####WWWWKKWKKKEK;.i:.................................GDDEEEKKKWWWWWtWWD.E;iWWWWWW###WW#########WWKKK.EEDG .:;tfGGGDDDDDDDDDDDD *\n\t *jji. . j..::::EKEKKKWWWKKKKWWWWWWWWW#WWW######WWWWKKWKKKEK;.t:.................................ELLEDDEEEWWWWEtWK,.KiiWWWWWW###W##########WWKKK:EEEG .;tjfLLGDDDDDDDDDDDDDDD *\n\t *jji. i.::::::,EEEKKWWWKKKKKWWWWWWWWW#WWW#####WWWWWKWKKKKEE,.t..................................DfiEGDDDEEKKKttKWG.KiiWWWWW##WWW##########WWKKK:fEEL ,fGGGDDDDDDDDEEEDDDDDDDDDD *\n\t *jji. .;:..:::::DEEEKKWWWKKKKKWWWWWWWWW#WWWW####WWWWWWWKKKKED,.t..................................ifjDDGGEGDKK.ttKKE.DiWWWWW###WW##########WWWKKK:.KELiLGGGGDDDDDDDDDDDDEEEDDDDDDD *\n\t *jji. i.:.::::::,KEEKKWWWKKKKKKWWWWWWWWW#WWWW####WWWWWWWKKKKEL:.j..................................GGf,;ifLLED .iiKKi:fWWWWWW##W#W##########WWWKKK:.KKLGGDDDDDDDDDDDDDDDDEDDEEDDDDD *\n\t *jji. .j:.::::::::EEEKKKWWWKKKKKKWWWWWWWW##WWW#####WWWWWWWKKKKKf:.f..................................:EEfftf .,. ;iE,..jWWWWWWW###W############WWKKK,:KKGDDDDDDDDDDDDDDDDDDDDDDDEDDDD *\n\t *jji. .:.::::::::,,EEEKKWWWKKKKKKKWWWWWWWW##WWW#####WWWWWWWKKKKKt..G....................................EEELL; .j....tKWWWWWWW################WWWKKtfGKGEDDDDDDDDDDDDDDDDDDDDDDDEEDD *\n\t *jji. :...:::::::,,jEEKKWWWWKKKKKKWWWWWWWWW##KWW#####KWWWWWWKKKKEi..D....................................:jEEE.........;KKWWWWWWWW#WW##W##########WWKKDLGKEKDDDDDDDDDDDDDDDDDDDDDDDDDED *\n\t *jji. i:.::::::::,,,EEEKKWWWWKKKKKWWWWWWWWWW##WWW#####WWWWWWWKKKKKi..D......................................:::::......,KKKWWWWWWWWW#####W########WWWKKKGGKKEGGGGGGGGDDDDDDDDDDDDDDDDDDE *\n\t *jji. i..:::::::::,,tEEKKWWWWKKKKKWWWWWWWWWWW##WW######WWWWWWWKKKKKi..D......................................::::......:EKKKWWWWWWWWWWW##WW########W#WKKWGGKKGGGGGGGGGGGGGGGDDDDDDDDDDDDD *\n\t *jji. .:::::::::::,,,EEEKKWWWWKKKKKWWWWWWWWWWW##WW#####WWWWWWWWKKKKKi..D....................................:::::::::..tELii;KWWWWWWWWWW##WW######WWWWWWKWGGGKGGGGGGGGGGGGGGGGGGGGGGGGGGDG *\n\t *jjt. :.::::::::,,,,fEEKKWWWWKKKKKKWWWWWWWWWW###WW####WWWWWWW#WKKKKKi..D....................................:::::::.:.,;;;;;;,KKWWWWWWWWW#WW########WWWKKWGGGKGGGGGGGGGGGGGGGGGGGGGGGGGGGG *\n\t *jji. ;.::::::::,,,,;EEEKWWWWWKKKKKWWWWWWWWWWWW##WW###WKWWWWWK#WKKKKKi..G......................................:::::::,;;;;:...KKKWWWWWWWWWKWW#######WWWWKKGLGKDGGGGGGLLGGGGGGGGGGGGGGGGGGG *\n\t *jjt. f.:::::::::,,,,fEEKKWWWWWKKKKKWWWWWWWWWWW###WW##WKKWWWWWW#WKKKKK;.jt........i.............................:::::::;j;;....:E.KKKWWWWWWWKWW#####W#WWWWKKLLGWEEGGGGGLGGGGGGGGGGGGGGGGGGGG *\n\t *jjt. ...:::::::,,,,,;DEEKWWWWWKKKKKWWWWWWWWWWWW####WWWKKKWWWWWWWWKKKKK;.E;.........t.............................:::::ii;;.....D...KKWWWWWWWKWW#####WWEWWWKKGGGEKKGGGGGLGGGGGGGGGGGGGLGGGGGG *\n\t *fji. ;.:::::::,,,,,;LEEKKWWWWWKKKKKWWWWWWWWWWWW####KWKKKKWWWWWWWWKKKKKi.D;..........j.............................:::tt;,.....:.....KKWWWWWWKWWWW##WWWGWWWKKGGGGKEGGGGGGGGGGGGGGGGGGGLLGGGGL *\n\t *fji. t::::::::,,,,,,;EEEKWWWWWKKKKKKKWWWWWWWWWWW##WKWKKKKKWWWWWWWWKKKKKi:D;............j...........................::LL;,.............KKWWWWWKWWWWWWWWWGWWWKKGGGGKGGGGGGGGGGGGGGGGGGGGLLGGGGL *\n\t *fjt: .:::::::,,,,,,,DEEKWWWWWWKKKKKKKWWWWWWWWWWWWKKWKKKKKKWWWWK#WWKKKKWitE;........... ............................:G;;:...............KKKWWKKWWWWWWWWWGWWWKKGGGGWGGGGGGGGGGGGGGGGGGGGGGGGGGL *\n\t *fjji;:. .f:::::::,,,,,,,;EEEKWWWWWWKKKKKKWWWWWWWWWWWKKKKKKKKKKKWWKWWWWWKKKKWGKD;........................................L;;..................DKKWKKWWWWWWWWWGWWWKKDGGGKDGGGGGGGGGGGGGGGGGGGGGGGGGG *\n\t *fjjtii;,:. :::::::,,,,,,,;EEEKWWWWWWKKKKKKWWWWWWWWWWKKKKKKKKKKKKWWWWWW#WWKKKKWiEj;......................................:i,;....,...............;KKEKWWWWWWWWWGKWWKKDDGGDEGGGDGGGGGDGGGGGGGGGGGGGGGG *\n\t *fjtiiiii;;:. j::::::,,,,,,,;;EEEKWWWWW#KKKKKWWWWWWWWWKKKKKKWKKKKKKKWWWWWWWWWKKKKWtEL;:....................................;;;:...,;j................:KEEWWWWWWWWWDDWWKKDDDDDKDDDDDDDDDDDDDDDGGGGGGGGGGG *\n\t *fjti;;iiii;;,:::::::,,,,,,,,;EEEKWWWWWWWKKKKWWWWWWWWKKKKKKKWKKKKKKKWWWWWWW#W#KKKKWEEii;...................................f;:....,;L...................EEKWWWWWWWWDDWWKKDDDDDKEDDDDDDDDDDDDDDDDDDDDDGGGG *\n\t *fjt,,,;;;;ii;f::::::,,,,,,,;;EEKWWWWWWWKKKKKWWWKWWKKKKKKKKKKKKKKKKKWWWWWWW#W#KKKKWKEij;:...............................:G;,.....,;f....................:tKKWWWWWWWDDWWKKDDDDDKKDDDDDDDDDDDDDDDDDDDDDDDDD *\n\t *jjt. ..:,;;;;,::::,,,,,,,,;;GEEWWWWWWWWKKKKWKKWKKKKKKKKKKKKKKKKKKKKWWWWWWW#W#KKKKWEDi;j;............................,Li;L;;;..,;;f........................KKKKWWWKDDWWKKDDDGDKKGGGGGGGGDGDDDDDDDDDDDDDDD *\n\t *fjt. .:,,,:::::,,,,,,,;;;EEKWWWWWWWKKKKKKWKKKKKKKKKKKKKKKKKKKKKWKKKWKW##W#KKKKWEti;;G;........................tEEEL;;;;;;;;;;L..........................DKKKKKEDDWWKEDGftiLE;;;;itjLGGGGGGDDDDDDDDDDD *\n\t *fjt. .j::::,,,,,,,;;;DEEWWWWWWWWKKKKWKKKKKKKKKKKKKKKKKKKKKKKWKKWWWK##W#KKKKKEii;;;L;...................iDEEEEEEKKi;j;;;;jD.....:......................,KKKKDGGEKKE:::::;E::::::::::,tLGGDDDDDDDDDD *\n\t *fjt. .;:::,,,,,,,;;;;EEKWWWWWWWWKWKKKKKKKKKKKKKKKWKKKKKKKKKKWKKWWWW#WW#KKKKKKii;;;;f;.............:tDEEEEEKKKKKKKKEti;;;L...............................EEKf;:iKKE::::::E::::::::::::::ifDDDDDDDDD *\n\t *fjt: :::,,,,,,,,;;;DEEWWWWWWWWWEKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKWWWW####KKKKKEiii;;;;f,.........iDEEEEKKKKKKKKKKKKKKKf;iG......i..........................fK::::KKE::::::E::::::::::::::::,tGGDDDDD *\n\t *fjt: t:::,,,,,,;;;;iDEKWWWWWWKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKWWWW####WKKKKLiii;;;;;L,....,Li;EDEEEEKKKKKKKKKKKKKKKKiG......;:...........................:i:::KKE:::::,E,::::::::::::::::::iGDDDD *\n\t *jjt. f::,,,,,,,;;;;GEEWWWWKEEKEKKKKKKKKKKKKKKKKWKKKKKKKKKKKWWKWWWWW###WWKKKKiii;;;;;;;G,;L;;iiEEEEEEEKKKKKKKKKKKKKWWKE......;t.........:....................j::KEE:,::,,D,,::::,,,,,,:::::::::tDDD *\n\t *fjt:. ,::,,,,,,,;;;;EEWWKEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKWWKKWWWWW#W#KKKKKKiiiiii;;;;;i;;iiiEEKEEKKWKKKKKKKWKKKKKWWWGi;...;t......,;;;;,....................:,EEE,,,,,,D,,,,,,,,,,,,,,,,::,::::tG *\n\t *fjt:. ,::,,,,,,,;;;;DEKEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWW#W#KKKKKKiiiii;;i;;;;;iiiKKKEKKKKWWKWWWWWWKKKKWWWWW;;;:;L.....;;;;;;;;;....................,KEE,,,,,,E,,,,,,,,,,,,,,,,,,,,,,,,; *\n\t *fjt:. f:,,,,,,,;;;;jEDEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWW#W##KKKKKKiiiiiiii;i;;iiiEKKKKKKKKWKWWWWWWWWKKKWWWWWKi;;i.....,jEEfGi;;;;;...................EED,,,,,,E,,,,,,,,,,,,,,,,,,,,,,,,, *\n\t *fjt:. .f::,,,,,,;;jEEDEEEEEEEEEEKKKKKKKKKKKKKKKWKKKKKKKKKKKKKWWWKWWWWW###KKKKKLiiiiiiiiiiiiiiEEKKKKKKKKWWWWWWWWWWWWKWWWWWWGi;i;,..;jDDDKEGi;;;;;;:................EED,,,,,,D,,,,,,,,,,,,,,,,,,,,,,,,, *\n\t *fjt:. .. ;::,,,,,;;EDDEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKW#WW####KWKKKiiiiiiiiiiiiijKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWt;i;;;;i;DDDDDDGi;;;;;;;;:.............EDf;,,,;,G;;;;;;;;;;;;;;;,,,,,,,,,, *\n\t *fjt:......:,,,,,,;LDDDEEEEEEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKKKWWWWKWWWW####KKKKKiiiiiiiiiiijKEKKWKKKKKKKWWWWWWWWWWWWWWWWWWWWWWiLiii;i;DEEEEDDE;i;;;;;;;;;:..........EDi,;;;;;L;;;;;;;;;;;;;;;;;;,,,,,,, *\n\t *fjt:......:,,,,,;EDDDEEKEEEEEEEEEKKKKKKKKKKKKKKKWKKKKKKKKKKKKKKWWWWKKWWW##W#KWKKWEiiiiiijGKKKKKWWKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWKi;iiiiDDEEEEEEDEi;;;;;;;;;;;;;,:.....ED;;;;;;;j;;;;;;;;;;;;;;;;;;;;;;;,, *\n\t *fjt:.....t,,,,,;DDDDEEEKEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWKKKWWWW##WKWKKWKiiiKKKKKKKKKWWKKKKKKKKWWWWWWWWWWWWWWW#WWWWWWWWWiiiiifLEEEEEEEEDi;i;;;;;;;;;;;;.....DD;;;;;;;i;;;;;;;;;;;;;;;;;;;;;;;;; *\n\t *fjt:.....G,,,,,GDDDEEEEEEEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKKKKKWWWKKKWWW###WKWKKWKitKKKKKKKKKWKKKKKKKKKKWWWWWWWWWWWWWW###WWWWWWWWEiiiiiiiEEEEEEEEDGiiii;;;;;;;;;.....GD;;;;;;;i;;;;;;;;;;;;;;;;;;;;;;;;; *\n\t *fjt:.....L,,,,;GDDDEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWDGWWW###KKWWKWKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWW####WWWWWWWWWiiiiiiiiEEEEEEEEEEDi;i;;;;;;;;.....Lj;;;;;;i;iiiiii;;;;;;ii;;;;;;;;;;; *\n\t ***********************************************************************************************************************************************************************************************************/\n\n\t\t\n}",
"Main",
"static Scanner inp= new Scanner(System.in);",
"inp",
"new Scanner(System.in)",
"static PrintWriter out= new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public static void main(String args[]) {\t\t \t\n\t \t\n\t\tMain g=new Main();\n\t\tg.main();\n\t\tout.close();\n\t\t\n\t}",
"main",
"{\t\t \t\n\t \t\n\t\tMain g=new Main();\n\t\tg.main();\n\t\tout.close();\n\t\t\n\t}",
"Main g=new Main();",
"g",
"new Main()",
"g.main()",
"g.main",
"g",
"out.close()",
"out.close",
"out",
"String args[]",
"args",
"void main() {\n\t\t\n\t\tlong a=inp.nextLong();\n\t\tlong b=inp.nextLong();\n\t\tlong c=inp.nextLong();\n\t\tlong d=inp.nextLong();\n\t\tout.println(Math.max(a*c, Math.max(a*d, Math.max(b*d, b*c))));\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tlong a=inp.nextLong();\n\t\tlong b=inp.nextLong();\n\t\tlong c=inp.nextLong();\n\t\tlong d=inp.nextLong();\n\t\tout.println(Math.max(a*c, Math.max(a*d, Math.max(b*d, b*c))));\n\t\t\n\t}",
"long a=inp.nextLong();",
"a",
"inp.nextLong()",
"inp.nextLong",
"inp",
"long b=inp.nextLong();",
"b",
"inp.nextLong()",
"inp.nextLong",
"inp",
"long c=inp.nextLong();",
"c",
"inp.nextLong()",
"inp.nextLong",
"inp",
"long d=inp.nextLong();",
"d",
"inp.nextLong()",
"inp.nextLong",
"inp",
"out.println(Math.max(a*c, Math.max(a*d, Math.max(b*d, b*c))))",
"out.println",
"out",
"Math.max(a*c, Math.max(a*d, Math.max(b*d, b*c)))",
"Math.max",
"Math",
"a*c",
"a",
"c",
"Math.max(a*d, Math.max(b*d, b*c))",
"Math.max",
"Math",
"a*d",
"a",
"d",
"Math.max(b*d, b*c)",
"Math.max",
"Math",
"b*d",
"b",
"d",
"b*c",
"b",
"c",
"public class Main {\n\n\tstatic Scanner inp= new Scanner(System.in);\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \t\n\t\tMain g=new Main();\n\t\tg.main();\n\t\tout.close();\n\t\t\n\t}\n\t\n\t\n\t\n\tvoid main() {\n\t\t\n\t\tlong a=inp.nextLong();\n\t\tlong b=inp.nextLong();\n\t\tlong c=inp.nextLong();\n\t\tlong d=inp.nextLong();\n\t\tout.println(Math.max(a*c, Math.max(a*d, Math.max(b*d, b*c))));\n\t\t\n\t}\n\t\n\t\n\t\n\t\n\t/*********************************************************************************************************************************************************************************************************\n\t * ti;. .:,:i: :,;;itt;. fDDEDDEEEEEEKEEEEEKEEEEEEEEEEEEEEEEE###WKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWW#WWWWWKKKKKEE :,:. f::::. .,ijLGDDDDDDDEEEEEEE*\n\t *ti;. .:,:i: .:,;itt;: GLDEEGEEEEEEEEEEEEEEEEEEDEEEEEEEEEEE#W#WEKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWKKKKKKG. .::. f:,...,ijLGDDDDDDDDEEEEEE *\n\t *ti;. .:,:i: :,;;iti, :fDDEEEEEEEEEEEEEEEKEEEEDEEEEEEEEEEEW##WEEEKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWWKKKKKKEG .::. .f,::,ijLGDDDDDDDDEEEEEE *\n\t *ti;. .:,:i: .,,;iti;. LDDEEEEEEEEEEKEEEEWEEEDDEEEEEEEEEEE#WWWEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWKKKKKEDj .::. .:L;;ijfGDDDDDDDDDEEEEE *\n\t *ti;. .:,:i: .:,;;iii:LLDEEEEEEEEEEEKEEEEEEEEDEEEEEEEEEEEW#WWEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKWWKWWWWWWWWWWWWWWKKKKKKKEL .::. .:;LijLGGDDDDDDDDEEEEE *\n\t *ti;. .:,:;: :,;;ittfDEEEEEEEEEEEEEEEEKEEEGEEEEEEEEEEEKWWWEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWKKKKKKKELj .::. :,;jffGGDDDDDDDDDEEEE *\n\t *ti;. .:,:i: .,;;tGGDEEEEEEEEEEEKEEEKEEEDEEEEEEEEEEEEWWWEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWKWWWWWWKKKKKKKEEL .::. .:;itDGGDDDDDDDDDEEEE *\n\t *ti;. .:::;: :;ifDEEEEEEEEEEEEKEEEKEEEEEEEEEEEEEEEWWWEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WWWKKKKKKKKEEf .::. :,itfGEDDDDDDDDDDDEE *\n\t *ti;. .:::;: :GGEEEEEEEEEEEKEKEEKEEEEEEEEEEEEEEEEWWEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKKKKEEDG .::. .,;jfLGKDLDDDDDDEEDD *\n\t *ti;. .:::;: fDEEEEEEKKKKKKKKKEKEEEEEEEEEEEEEEE#WEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#KKKKKKKKKKEEf .:::. .,;tfLGDEDDDDDDDDEEE *\n\t *ti;. :::;: fDEEEEEEKKKKKKKKKKWKEEEEEEEEEEEEEEEWKEEEEEEEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKW##KKKKKKKKKEEft :::. .,;tfLGDDDKDDDDDDDDD *\n\t *ti;. .::;: fDEEEEEEKKKKKKKWKKKKKEEEEEEEEEEEEE#WEEWEEEEEDEEDEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKKKEEGG :,:. .,;tfLGGDDDKDDDDDDDD *\n\t *ti;. .:.;: tGDEEEEKKKKKKKKKKKKKKKKKEEEEEEEEEEEWEEKWEEEEEEEDEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWKKKKKKKEEDf :::. .,;tfLGGDDDDEDDDDDDD *\n\t *ti;. .::;: fDEEEEEKKKKKKKKKKKWKKKKKKKKEEEEEEEWWEEWEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKW##KKKKKKKEEEft.::. .,;tfLGGDDDDDDEDDDDD *\n\t *ti;. .:.;: tGDEEEKKKKKKKKKKKKKKKKKKKKKKEKEEEEE#EEWWEEEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKEEEGD:::. .,;tfLGGDDDDDDDEDDDD *\n\t *ti;. .:.,. LDEEEEKKKKKKKKKKWKWKKKKKKKKKKKKEEEKWEKW#EEEEEEEEEEEEEEEEKEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKW##KKKKKKEEEEf,,:. .,;tfLGGDDDDDDDDEDDD *\n\t *ti;. ..:.,. LGDEEEEKKKKKKKKKKWKKKKKKKKKKKKKKKKKWEEW#WEEEEEEEEEEEEEEEKEEEEEEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKK##KKKKKEEEEEfi;,. .,;tfLGGDDDDDDDDDKDD *\n\t *tt;. .:.,: jDEEEEKKKKKKKKKKWWKKKKKKKKKKKKKKKKKWKE#WWEEEEEEEEEEEEEEWEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKWWKKKKEEEEDfG;,: .,;tfLGGDDDDDDDDDDKD *\n\t *tii,. .:.,. tGDEEEEKKKKKKKKKKWWWKKKKKKKKKKKKKKKWKKWWWKEEEEEEEEEEEEEKEEEEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKW#KKKKEEEEDGGi;,. .,;tfLGGDDDDDDDDDDDE *\n\t *ti;;,:. .:.,: fDEEEEKKKKKKKKKKKWKKKKKKKKKKKKKKKKKWEK#WWKEEEEEEEEEEEEDEEEEEEEEEEEEEEGEEEEEEEEEEEEEEEEEEEKKKKKKKWWKKEEEEEEDDf;;;,. .,;tfLGGDDDDDDDDDDDD *\n\t *tii;,,:.. ...,. ;LEEEEEKKKKKKWKKKKWKKKKKKKKKKKKKKKKKEKKW#WEEEEEEEEEEEEEjEEEEEEEEEKEEEEGEEEEEEEEEKEEEEEEEEEEEEEEEEE#WKEEEEEEDDf;;;;,: .,itfLGGDDDDDDDDDDDD *\n\t *ti;,,,,,:. ...,. LDEEEEKKKKKKKKKKKWWWKKKKKKKKKKKKKKKWKK#W#WEEEEEEEEEEEDDLEEEEEEEEEWEEEEDEEEEEEEEEKEEEEEEEEEEEEEEEEEWWEEEEEEEDDfj,,,,,:. .,itfGGGDDDDDDDDDDDD *\n\t *tii,,,,::::. ...,: .fDEEEEKKKKKKWKKKKWWWKKKKKKKKKKKKKKKEKKW#WWEEEEEEEEEEEKiKEEKEEEEEEWEEEEDEEEEEEEEEEEEEEEEEEEEEEEEEEEWWEEEEEEEDDLD:::,,,:. .,ijfGGGDDDDDDDDDDDD *\n\t *ti;:::::::::.. .:.,: LDEEEEKKKKKKKWKKKKWWKKKKKKKKKKKKKKKKtKKWWWWKEEEEEEEEEDiiDEEEEEEEEWWEEEEEEDEEEEEEEEEEEEEEEEEEEEEEEEEEWKEEEEEDDDGL:. .:,,,: .,ijLGGGDDDDDDDDDDDD *\n\t *tt;. .::::::::.. ...,: :fDEEEKKKKKKKKKKKKWW#KKKKKKKKKKKKKKKKfKKWWWWKEEEEEEEEDti,DEKEEEEEEWWEEEDEEEEEEEEEKEEEEEEEEEEEEEDEEEEE#WEEEEEGGDGf:. .:,;,:. .,ijLGGDDDDDDDDDDDDD *\n\t *tt;. .:::::::.. ...,: GDEEEKKKKKKKKWKKKKWWWKKKWKKKKKKKWWWKDEKLWWWWKKEEEEEEDEi,LDEEEEEEEEWWEEEEEEEEEEEEEEEEEEEEEEEEEDEDEEEEEW#EEEEDDDDGf,. :,,,:...,ijLGGGDDDDDDDDDDDD *\n\t *tt;. .....::::.. ...,: fDEEEKKKKKKKKWKKKKWWWWKKKWKKKKKKKKKKfWKiWWW#KKEEEEEEEi;.EDfEEEDEEiWWEEEEEEEEEEEEDGKEEEEEEEEEEDEEEEEEEWWEEEEDDDGGLi. .,;,:::,ijLGGGDDDDDDDDDDDD *\n\t *tt;. ....:::::. ...,. iDEEEEKKKKKKKKWKKWKWWWWWKKWWWKKKKKKKKtWKt#WWWKKEEEEEDji..DDKDDEDEGiWKEEEEEEEEEEDDEjEEEEEEEEEEEDEEEEEEEKWKEEDDDDGGff. .:,;,,;ijLGGGDDDDDDDDDDDD *\n\t *tt;. ....::::.. .:.,: .LDEEEKKKKKKKKKKKKWWWWKWWWWWWWWWWKKKKWtKKiDWWWKKKEEEEKi:..DEDDDDDDiiWKEEEEEEEEEEDDEijDEEEEEKEEEEEEEEEEEEWWEEGDDDGGLG. .:,;;iijLGGGDDDDDDDDDDDD *\n\t *tt;. .....:::.. ...,. .fEEEEKKKKKKKKWKKKKWWWWWWWWWWWWWWKWKKKiKDiLWWWWKEEEEEi,..fD:DDDDDti;WEEEEEEEEEEKDDi:iDDEEEEWEEEEEEEEEEEE#WEEGDDDDGGG. :,iitjLGGGDDDDDDDDDDDD *\n\t *tti. .....:::.. ...,. GDEEEKKKKKKKKKWKKKWWW#WWWWWWWWWWWKWKKjiEjitWWWKKWEEEDi...DDLDDDDji;;WEEEEEEEEEEEDEj.iDDEEEEWEEEEEEEEEEEEWWEEDDDDDDGf. .,;tjfLGGDDDDDDDDDDDD *\n\t *tti. ....::::.. ...,. fEEEKKKKKKKKKKKKKKKW#WWWWWWWWWWWWWWWWtiEiiiWWWKKEWKEi....D.EDDDEi;.fWEEEEEEEEEEDDfL.;EDDEEEWEEEEEEEEEEEEWWEEEDDDDDGf. :;ijfLGGDDDDDDDDDDDD *\n\t *tti. ....::::.. ...,. LDEEEKKKKKKKKKKKKKKWWWWWWWWWWWWWWWW####WKiiiWWWKKKEEK,...:E:DDDEii..GWEEEEEEEEDWDDiL.,KDDEEEWEEEEEEEEEEEEWWKEEDDDDDGf: .,itfLGGDDDDDDDDDDDD *\n\t *tti. .....:::.. ...,. fDEEEKKKKKKKKKWKKKKWWWWWWWWWWWWW########WLiiWWWKKKEEjD...G,DDDDi;...EWEEEEEEEEDKDEii..LDDEEEWEEEEEEEEEEEEWWWEEDDDDDGfi .,;tfLGGGDDDDDDDDDDD *\n\t *tti. .....:::.. ...,. iGEEEKKKKKKKKKKWKKKKWWWWWWWWWWWW###########KiWWWKKEEE,.D..D.DDDii:...KKEEEEEEEEEDDj:...tEDEEEWEEEEEEEEEEEEWWWEEEDDDDDLL .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ....::::......:. LEEEKKKKKKKKKKWWKKKWWW#KWWWWWWWW#####W####W##KWWKKEEL..:D.jjDDi;,....KKEEEEEEEDfDDi...:iKDEEEWKEEEEEEEEEEEWWWEEEEDDDDLG .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ...::::::..,. :GEEEKKKKKKKKKKKKWWWWW##WWWWWWWWW##WKWK#W#W####WWKEEK.....G.DDti,.....KKEEEEEEDWGDf.,...iKDEEEWWEEEEEEEEEEEW#WEEEEEDDDGL .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ....::::::,. GDEEKKKKKKKKKKKKKWWWW###WWWWWWWWWW#WWWK###W#####WKEKK.....jDDL;;......KKEEEEEEEEEDi.f...;KDEEEWWEEEEEEEEEEEWWWWEEEEEDDGf .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ....:::,,. .LEEEKKKKKWKKKKKWWWWWW###WWWWWWWWWW#WWKW#WW##W#WWWKEKD:....:DD:;......;KEEEEEEEKiDD..f...,KKEEEWWEEEEEEEEEEEWWWWEEEEEDDDf .:;tjLLGGGDDDDDDDDDD *\n\t *tti. ...::,,,:. GDEEKKKKKKKKKKKKWWWWWWW#WWWWWWWWWWW#KjKWWWWWWWWWWWWEK.j,..;fD.;.......fKEEEEEDKG:Di..,....DKEEEWWEEEEEEKEKKKWWWWEEEEEEDDf .:;tjLLGGDDDDDDDDDDD *\n\t *jti. ...::,,,,:. .fEEEKKKKKWKKKKKKWWWWWWW#WWWWWWWWWWK#KKKWWWWWWWWWWWWWK..f:.:G.,:.......EKEEEEEKK;:E:.......fKEEEWWKEKEKKKKKKKW#WWEEEEEEDDf: .,;tfLLGGDDDDDDDDDDD *\n\t *tti. ...:,,,;;,: iDEEKKKKKWKKKKKKKWWWWWWW#WWWWWWWWWWK#WDKWWKKWWWWWWWWWE..;G:G..,........KKEEEEEKi.Gi..:.....tKEEKWWWKKKKKKKKKKW##WKEEEEEEDfi .,;tfLLGGGDDDDDDDDDD *\n\t *tti. ....::,,;;;,LEEKKKKKKWKKKKKWWWWWWW###WWWWWWWWWWKWWDKWEEEWKKWWWWWKKj.:LG..;.........EKEEEEKG;.G...;.....;KKEKWWWKKKKKKKKKKW##WWKEEEEEDfL .,;tfLGGGDDDDDDDDDDD *\n\t *jti. ...::::,;ijDEEKKKKKWKKKKKKWKWWWWW##WWWWWWWWWWWKK#KKGDGDWEEWKKWKKGE,.i;.:.........:EKEEEKE;.:L...j.....,KWEKWWWKKKKKKKKKK####WKKEEEEDLG .,;tfLGGGGDDDDDDDDDD *\n\t *jti. ...:...,,;GEEKKKKKWWKKKKKWWWWWWWW###WWWWWWWWWKKKWWKiLGGEDEDEKGKKiEG..;...........jKEEEKK;:.G....,.....:KKEWWWWKKKKKKKWKK####WKKKKEEEGL .,;tfLGGGGDDDDDDDDDD *\n\t *jti. ...:. .:,GEEKKKKKWKKKKKWWWWWWWW####WWWWWWWWWKKKWWKii;fDLGDK: EEi:E:.............EKEEKK;;..L...........KKKWWWWKKKKKKKWKK####WKKKWKEEDf .,;tfGGGGDDDDDDDDDDD *\n\t *jti. ...:. ,EEKKKKKWWKKKKKWWWWWWWWW###WWWWWWWWKKKKfWWLt;i,. fi EG..D:.............EKEKK;;..t....:.......KWKWWWWKKKKKKKWKK####WKKKWEEEDf:. .,;tfGGGGDDDDDDDDDDD *\n\t *jti. ...:. GEEKKKKKWKKKKKWWWWWWWWW####WWWWWWWKKKKKt;KKEfff .;t.................KKKKi;:..GtGGfG.......KWWWWWWKKKKKKKWKK###WWWKKKKEEEf,,: .,;tfGGGGDDDDDDDDDDD *\n\t *jti. ...:. GEKKKKKWWKKKKKWWWWWWWWWW##WWWWWWWKKKKKKt;EiKKKK, ...t................jEKKG;;..,.....,LGi....KWWWWWWKKKKKKWKKKW####WKKKKKEEL,,,:. .,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. .GEEKKKKKWKKKKKWWWWWWWWWW###WWWWWWWKKKKKKtiE::tGG........................EEEj;;...,.........:D..DKWWWWWWKKKKK#KKW###W#WKKKKKEEfj:,,,:. .,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. DEKKKKKWWKKKKKWWWWWWWWW####WWWWWWWKKKKKKiiE:::.::.......................EEi;;...j.....f......:iDKWWWWWWKKKKK#WW######WKKKKKEELG :,,,,:. .,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. fEEKKKKWWKKKKWWWWWWWWWWW###WWWWWWWWKKKKKK;tE::..........................DD;.;,.::......;........EWWWWWWWKKKKW#WW#####WWKKKWKKELG .:,,,:::,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. .DEKEKKKWWKKKKWWWWWWWWWWW###WWWWWWWWKKKKKE,iD::..........................D..,;.,;tLffi...........DWDWWWW#KKKWWWWW#####W#KKKWKEEGL .:,;,,,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. ;EEKKKKWWKKKKKWWWWWW#WWWW####WWWWWWKKKKKEL:iD:..........................j ..;..;;:.....i,........DKtWWWWWKKWWWWWW#####WWWKKKEKEDf .:,;;;itfGGGDDDDDDDDDDDD *\n\t *jti. ...:. DEKKKKKWWKKKKWWWWWWW#WWWW####WWWWWWKKKKKEj:iG...............................:....................GKiWWWWWKKWW#WWW######WWKKKKKEEf .,;iitfGGGDDDDDDDDDDDD *\n\t *jti. ...:.:EKKKKKWWKKKKKWWWWWWW#WWW#####WWWWWKWKKKKEi:if:.................................iEKEKKKKKKDj......DKiWWWWWKWK##WW#######WWKKK:KEEL .:;itfGGGDDDDDDDDDDDD *\n\t *jji. ...:,DEEKKKWWWKWKKWWWWWWWWWWWW#####WWWWWWWKKKKEi:it..................................j. KKKKKKKKKKKf..DKiWWWWWKWW##WW#######WWKKK,KEEf .,;tfGGGDDDDDDDDDDDD *\n\t *jji. ..L:iDEEKKKWWKKKKKWWWWWWWWWWWW#####WWWWWKWKKKKKi.i;.................................. . KKKWWWWWWWWK..DGiWWWWWKK##WWW#####W#WWKKKjEKEL, .:;tfGGGDDDDDDDDDDDD *\n\t *jji. .f:::EEEKKKWWWKKKKKWWWWWWWWWWWW#####WWWWWKWKKKKK;.i,.................................:: KKEKWWWWWWfWK..EiiWWWWWKWW#WW##########KKKD,KELj .:;tfGGDDDDDDDDDDDDD *\n\t *jji. .t::::,DEEKKKWWKKKKWWWWWWWWW#WWWW#####WWWWKKWKKKEK;.i:.................................GDDEEEKKKWWWWWtWWD.E;iWWWWWW###WW#########WWKKK.EEDG .:;tfGGGDDDDDDDDDDDD *\n\t *jji. . j..::::EKEKKKWWWKKKKWWWWWWWWW#WWW######WWWWKKWKKKEK;.t:.................................ELLEDDEEEWWWWEtWK,.KiiWWWWWW###W##########WWKKK:EEEG .;tjfLLGDDDDDDDDDDDDDDD *\n\t *jji. i.::::::,EEEKKWWWKKKKKWWWWWWWWW#WWW#####WWWWWKWKKKKEE,.t..................................DfiEGDDDEEKKKttKWG.KiiWWWWW##WWW##########WWKKK:fEEL ,fGGGDDDDDDDDEEEDDDDDDDDDD *\n\t *jji. .;:..:::::DEEEKKWWWKKKKKWWWWWWWWW#WWWW####WWWWWWWKKKKED,.t..................................ifjDDGGEGDKK.ttKKE.DiWWWWW###WW##########WWWKKK:.KELiLGGGGDDDDDDDDDDDDEEEDDDDDDD *\n\t *jji. i.:.::::::,KEEKKWWWKKKKKKWWWWWWWWW#WWWW####WWWWWWWKKKKEL:.j..................................GGf,;ifLLED .iiKKi:fWWWWWW##W#W##########WWWKKK:.KKLGGDDDDDDDDDDDDDDDDEDDEEDDDDD *\n\t *jji. .j:.::::::::EEEKKKWWWKKKKKKWWWWWWWW##WWW#####WWWWWWWKKKKKf:.f..................................:EEfftf .,. ;iE,..jWWWWWWW###W############WWKKK,:KKGDDDDDDDDDDDDDDDDDDDDDDDEDDDD *\n\t *jji. .:.::::::::,,EEEKKWWWKKKKKKKWWWWWWWW##WWW#####WWWWWWWKKKKKt..G....................................EEELL; .j....tKWWWWWWW################WWWKKtfGKGEDDDDDDDDDDDDDDDDDDDDDDDEEDD *\n\t *jji. :...:::::::,,jEEKKWWWWKKKKKKWWWWWWWWW##KWW#####KWWWWWWKKKKEi..D....................................:jEEE.........;KKWWWWWWWW#WW##W##########WWKKDLGKEKDDDDDDDDDDDDDDDDDDDDDDDDDED *\n\t *jji. i:.::::::::,,,EEEKKWWWWKKKKKWWWWWWWWWW##WWW#####WWWWWWWKKKKKi..D......................................:::::......,KKKWWWWWWWWW#####W########WWWKKKGGKKEGGGGGGGGDDDDDDDDDDDDDDDDDDE *\n\t *jji. i..:::::::::,,tEEKKWWWWKKKKKWWWWWWWWWWW##WW######WWWWWWWKKKKKi..D......................................::::......:EKKKWWWWWWWWWWW##WW########W#WKKWGGKKGGGGGGGGGGGGGGGDDDDDDDDDDDDD *\n\t *jji. .:::::::::::,,,EEEKKWWWWKKKKKWWWWWWWWWWW##WW#####WWWWWWWWKKKKKi..D....................................:::::::::..tELii;KWWWWWWWWWW##WW######WWWWWWKWGGGKGGGGGGGGGGGGGGGGGGGGGGGGGGDG *\n\t *jjt. :.::::::::,,,,fEEKKWWWWKKKKKKWWWWWWWWWW###WW####WWWWWWW#WKKKKKi..D....................................:::::::.:.,;;;;;;,KKWWWWWWWWW#WW########WWWKKWGGGKGGGGGGGGGGGGGGGGGGGGGGGGGGGG *\n\t *jji. ;.::::::::,,,,;EEEKWWWWWKKKKKWWWWWWWWWWWW##WW###WKWWWWWK#WKKKKKi..G......................................:::::::,;;;;:...KKKWWWWWWWWWKWW#######WWWWKKGLGKDGGGGGGLLGGGGGGGGGGGGGGGGGGG *\n\t *jjt. f.:::::::::,,,,fEEKKWWWWWKKKKKWWWWWWWWWWW###WW##WKKWWWWWW#WKKKKK;.jt........i.............................:::::::;j;;....:E.KKKWWWWWWWKWW#####W#WWWWKKLLGWEEGGGGGLGGGGGGGGGGGGGGGGGGGG *\n\t *jjt. ...:::::::,,,,,;DEEKWWWWWKKKKKWWWWWWWWWWWW####WWWKKKWWWWWWWWKKKKK;.E;.........t.............................:::::ii;;.....D...KKWWWWWWWKWW#####WWEWWWKKGGGEKKGGGGGLGGGGGGGGGGGGGLGGGGGG *\n\t *fji. ;.:::::::,,,,,;LEEKKWWWWWKKKKKWWWWWWWWWWWW####KWKKKKWWWWWWWWKKKKKi.D;..........j.............................:::tt;,.....:.....KKWWWWWWKWWWW##WWWGWWWKKGGGGKEGGGGGGGGGGGGGGGGGGGLLGGGGL *\n\t *fji. t::::::::,,,,,,;EEEKWWWWWKKKKKKKWWWWWWWWWWW##WKWKKKKKWWWWWWWWKKKKKi:D;............j...........................::LL;,.............KKWWWWWKWWWWWWWWWGWWWKKGGGGKGGGGGGGGGGGGGGGGGGGGLLGGGGL *\n\t *fjt: .:::::::,,,,,,,DEEKWWWWWWKKKKKKKWWWWWWWWWWWWKKWKKKKKKWWWWK#WWKKKKWitE;........... ............................:G;;:...............KKKWWKKWWWWWWWWWGWWWKKGGGGWGGGGGGGGGGGGGGGGGGGGGGGGGGL *\n\t *fjji;:. .f:::::::,,,,,,,;EEEKWWWWWWKKKKKKWWWWWWWWWWWKKKKKKKKKKKWWKWWWWWKKKKWGKD;........................................L;;..................DKKWKKWWWWWWWWWGWWWKKDGGGKDGGGGGGGGGGGGGGGGGGGGGGGGGG *\n\t *fjjtii;,:. :::::::,,,,,,,;EEEKWWWWWWKKKKKKWWWWWWWWWWKKKKKKKKKKKKWWWWWW#WWKKKKWiEj;......................................:i,;....,...............;KKEKWWWWWWWWWGKWWKKDDGGDEGGGDGGGGGDGGGGGGGGGGGGGGGG *\n\t *fjtiiiii;;:. j::::::,,,,,,,;;EEEKWWWWW#KKKKKWWWWWWWWWKKKKKKWKKKKKKKWWWWWWWWWKKKKWtEL;:....................................;;;:...,;j................:KEEWWWWWWWWWDDWWKKDDDDDKDDDDDDDDDDDDDDDGGGGGGGGGGG *\n\t *fjti;;iiii;;,:::::::,,,,,,,,;EEEKWWWWWWWKKKKWWWWWWWWKKKKKKKWKKKKKKKWWWWWWW#W#KKKKWEEii;...................................f;:....,;L...................EEKWWWWWWWWDDWWKKDDDDDKEDDDDDDDDDDDDDDDDDDDDDGGGG *\n\t *fjt,,,;;;;ii;f::::::,,,,,,,;;EEKWWWWWWWKKKKKWWWKWWKKKKKKKKKKKKKKKKKWWWWWWW#W#KKKKWKEij;:...............................:G;,.....,;f....................:tKKWWWWWWWDDWWKKDDDDDKKDDDDDDDDDDDDDDDDDDDDDDDDD *\n\t *jjt. ..:,;;;;,::::,,,,,,,,;;GEEWWWWWWWWKKKKWKKWKKKKKKKKKKKKKKKKKKKKWWWWWWW#W#KKKKWEDi;j;............................,Li;L;;;..,;;f........................KKKKWWWKDDWWKKDDDGDKKGGGGGGGGDGDDDDDDDDDDDDDDD *\n\t *fjt. .:,,,:::::,,,,,,,;;;EEKWWWWWWWKKKKKKWKKKKKKKKKKKKKKKKKKKKKWKKKWKW##W#KKKKWEti;;G;........................tEEEL;;;;;;;;;;L..........................DKKKKKEDDWWKEDGftiLE;;;;itjLGGGGGGDDDDDDDDDDD *\n\t *fjt. .j::::,,,,,,,;;;DEEWWWWWWWWKKKKWKKKKKKKKKKKKKKKKKKKKKKKWKKWWWK##W#KKKKKEii;;;L;...................iDEEEEEEKKi;j;;;;jD.....:......................,KKKKDGGEKKE:::::;E::::::::::,tLGGDDDDDDDDDD *\n\t *fjt. .;:::,,,,,,,;;;;EEKWWWWWWWWKWKKKKKKKKKKKKKKKWKKKKKKKKKKWKKWWWW#WW#KKKKKKii;;;;f;.............:tDEEEEEKKKKKKKKEti;;;L...............................EEKf;:iKKE::::::E::::::::::::::ifDDDDDDDDD *\n\t *fjt: :::,,,,,,,,;;;DEEWWWWWWWWWEKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKWWWW####KKKKKEiii;;;;f,.........iDEEEEKKKKKKKKKKKKKKKf;iG......i..........................fK::::KKE::::::E::::::::::::::::,tGGDDDDD *\n\t *fjt: t:::,,,,,,;;;;iDEKWWWWWWKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKWWWW####WKKKKLiii;;;;;L,....,Li;EDEEEEKKKKKKKKKKKKKKKKiG......;:...........................:i:::KKE:::::,E,::::::::::::::::::iGDDDD *\n\t *jjt. f::,,,,,,,;;;;GEEWWWWKEEKEKKKKKKKKKKKKKKKKWKKKKKKKKKKKWWKWWWWW###WWKKKKiii;;;;;;;G,;L;;iiEEEEEEEKKKKKKKKKKKKKWWKE......;t.........:....................j::KEE:,::,,D,,::::,,,,,,:::::::::tDDD *\n\t *fjt:. ,::,,,,,,,;;;;EEWWKEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKWWKKWWWWW#W#KKKKKKiiiiii;;;;;i;;iiiEEKEEKKWKKKKKKKWKKKKKWWWGi;...;t......,;;;;,....................:,EEE,,,,,,D,,,,,,,,,,,,,,,,::,::::tG *\n\t *fjt:. ,::,,,,,,,;;;;DEKEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWW#W#KKKKKKiiiii;;i;;;;;iiiKKKEKKKKWWKWWWWWWKKKKWWWWW;;;:;L.....;;;;;;;;;....................,KEE,,,,,,E,,,,,,,,,,,,,,,,,,,,,,,,; *\n\t *fjt:. f:,,,,,,,;;;;jEDEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWW#W##KKKKKKiiiiiiii;i;;iiiEKKKKKKKKWKWWWWWWWWKKKWWWWWKi;;i.....,jEEfGi;;;;;...................EED,,,,,,E,,,,,,,,,,,,,,,,,,,,,,,,, *\n\t *fjt:. .f::,,,,,,;;jEEDEEEEEEEEEEKKKKKKKKKKKKKKKWKKKKKKKKKKKKKWWWKWWWWW###KKKKKLiiiiiiiiiiiiiiEEKKKKKKKKWWWWWWWWWWWWKWWWWWWGi;i;,..;jDDDKEGi;;;;;;:................EED,,,,,,D,,,,,,,,,,,,,,,,,,,,,,,,, *\n\t *fjt:. .. ;::,,,,,;;EDDEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKW#WW####KWKKKiiiiiiiiiiiiijKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWt;i;;;;i;DDDDDDGi;;;;;;;;:.............EDf;,,,;,G;;;;;;;;;;;;;;;,,,,,,,,,, *\n\t *fjt:......:,,,,,,;LDDDEEEEEEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKKKWWWWKWWWW####KKKKKiiiiiiiiiiijKEKKWKKKKKKKWWWWWWWWWWWWWWWWWWWWWWiLiii;i;DEEEEDDE;i;;;;;;;;;:..........EDi,;;;;;L;;;;;;;;;;;;;;;;;;,,,,,,, *\n\t *fjt:......:,,,,,;EDDDEEKEEEEEEEEEKKKKKKKKKKKKKKKWKKKKKKKKKKKKKKWWWWKKWWW##W#KWKKWEiiiiiijGKKKKKWWKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWKi;iiiiDDEEEEEEDEi;;;;;;;;;;;;;,:.....ED;;;;;;;j;;;;;;;;;;;;;;;;;;;;;;;,, *\n\t *fjt:.....t,,,,,;DDDDEEEKEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWKKKWWWW##WKWKKWKiiiKKKKKKKKKWWKKKKKKKKWWWWWWWWWWWWWWW#WWWWWWWWWiiiiifLEEEEEEEEDi;i;;;;;;;;;;;;.....DD;;;;;;;i;;;;;;;;;;;;;;;;;;;;;;;;; *\n\t *fjt:.....G,,,,,GDDDEEEEEEEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKKKKKWWWKKKWWW###WKWKKWKitKKKKKKKKKWKKKKKKKKKKWWWWWWWWWWWWWW###WWWWWWWWEiiiiiiiEEEEEEEEDGiiii;;;;;;;;;.....GD;;;;;;;i;;;;;;;;;;;;;;;;;;;;;;;;; *\n\t *fjt:.....L,,,,;GDDDEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWDGWWW###KKWWKWKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWW####WWWWWWWWWiiiiiiiiEEEEEEEEEEDi;i;;;;;;;;.....Lj;;;;;;i;iiiiii;;;;;;ii;;;;;;;;;;; *\n\t ***********************************************************************************************************************************************************************************************************/\n\n\t\t\n}",
"public class Main {\n\n\tstatic Scanner inp= new Scanner(System.in);\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \t\n\t\tMain g=new Main();\n\t\tg.main();\n\t\tout.close();\n\t\t\n\t}\n\t\n\t\n\t\n\tvoid main() {\n\t\t\n\t\tlong a=inp.nextLong();\n\t\tlong b=inp.nextLong();\n\t\tlong c=inp.nextLong();\n\t\tlong d=inp.nextLong();\n\t\tout.println(Math.max(a*c, Math.max(a*d, Math.max(b*d, b*c))));\n\t\t\n\t}\n\t\n\t\n\t\n\t\n\t/*********************************************************************************************************************************************************************************************************\n\t * ti;. .:,:i: :,;;itt;. fDDEDDEEEEEEKEEEEEKEEEEEEEEEEEEEEEEE###WKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWW#WWWWWKKKKKEE :,:. f::::. .,ijLGDDDDDDDEEEEEEE*\n\t *ti;. .:,:i: .:,;itt;: GLDEEGEEEEEEEEEEEEEEEEEEDEEEEEEEEEEE#W#WEKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWKKKKKKG. .::. f:,...,ijLGDDDDDDDDEEEEEE *\n\t *ti;. .:,:i: :,;;iti, :fDDEEEEEEEEEEEEEEEKEEEEDEEEEEEEEEEEW##WEEEKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWWKKKKKKEG .::. .f,::,ijLGDDDDDDDDEEEEEE *\n\t *ti;. .:,:i: .,,;iti;. LDDEEEEEEEEEEKEEEEWEEEDDEEEEEEEEEEE#WWWEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWKKKKKEDj .::. .:L;;ijfGDDDDDDDDDEEEEE *\n\t *ti;. .:,:i: .:,;;iii:LLDEEEEEEEEEEEKEEEEEEEEDEEEEEEEEEEEW#WWEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKWWKWWWWWWWWWWWWWWKKKKKKKEL .::. .:;LijLGGDDDDDDDDEEEEE *\n\t *ti;. .:,:;: :,;;ittfDEEEEEEEEEEEEEEEEKEEEGEEEEEEEEEEEKWWWEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWKKKKKKKELj .::. :,;jffGGDDDDDDDDDEEEE *\n\t *ti;. .:,:i: .,;;tGGDEEEEEEEEEEEKEEEKEEEDEEEEEEEEEEEEWWWEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWKWWWWWWKKKKKKKEEL .::. .:;itDGGDDDDDDDDDEEEE *\n\t *ti;. .:::;: :;ifDEEEEEEEEEEEEKEEEKEEEEEEEEEEEEEEEWWWEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WWWKKKKKKKKEEf .::. :,itfGEDDDDDDDDDDDEE *\n\t *ti;. .:::;: :GGEEEEEEEEEEEKEKEEKEEEEEEEEEEEEEEEEWWEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKKKKEEDG .::. .,;jfLGKDLDDDDDDEEDD *\n\t *ti;. .:::;: fDEEEEEEKKKKKKKKKEKEEEEEEEEEEEEEEE#WEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#KKKKKKKKKKEEf .:::. .,;tfLGDEDDDDDDDDEEE *\n\t *ti;. :::;: fDEEEEEEKKKKKKKKKKWKEEEEEEEEEEEEEEEWKEEEEEEEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKW##KKKKKKKKKEEft :::. .,;tfLGDDDKDDDDDDDDD *\n\t *ti;. .::;: fDEEEEEEKKKKKKKWKKKKKEEEEEEEEEEEEE#WEEWEEEEEDEEDEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKKKEEGG :,:. .,;tfLGGDDDKDDDDDDDD *\n\t *ti;. .:.;: tGDEEEEKKKKKKKKKKKKKKKKKEEEEEEEEEEEWEEKWEEEEEEEDEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWKKKKKKKEEDf :::. .,;tfLGGDDDDEDDDDDDD *\n\t *ti;. .::;: fDEEEEEKKKKKKKKKKKWKKKKKKKKEEEEEEEWWEEWEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKW##KKKKKKKEEEft.::. .,;tfLGGDDDDDDEDDDDD *\n\t *ti;. .:.;: tGDEEEKKKKKKKKKKKKKKKKKKKKKKEKEEEEE#EEWWEEEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKEEEGD:::. .,;tfLGGDDDDDDDEDDDD *\n\t *ti;. .:.,. LDEEEEKKKKKKKKKKWKWKKKKKKKKKKKKEEEKWEKW#EEEEEEEEEEEEEEEEKEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKW##KKKKKKEEEEf,,:. .,;tfLGGDDDDDDDDEDDD *\n\t *ti;. ..:.,. LGDEEEEKKKKKKKKKKWKKKKKKKKKKKKKKKKKWEEW#WEEEEEEEEEEEEEEEKEEEEEEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKK##KKKKKEEEEEfi;,. .,;tfLGGDDDDDDDDDKDD *\n\t *tt;. .:.,: jDEEEEKKKKKKKKKKWWKKKKKKKKKKKKKKKKKWKE#WWEEEEEEEEEEEEEEWEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKWWKKKKEEEEDfG;,: .,;tfLGGDDDDDDDDDDKD *\n\t *tii,. .:.,. tGDEEEEKKKKKKKKKKWWWKKKKKKKKKKKKKKKWKKWWWKEEEEEEEEEEEEEKEEEEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKW#KKKKEEEEDGGi;,. .,;tfLGGDDDDDDDDDDDE *\n\t *ti;;,:. .:.,: fDEEEEKKKKKKKKKKKWKKKKKKKKKKKKKKKKKWEK#WWKEEEEEEEEEEEEDEEEEEEEEEEEEEEGEEEEEEEEEEEEEEEEEEEKKKKKKKWWKKEEEEEEDDf;;;,. .,;tfLGGDDDDDDDDDDDD *\n\t *tii;,,:.. ...,. ;LEEEEEKKKKKKWKKKKWKKKKKKKKKKKKKKKKKEKKW#WEEEEEEEEEEEEEjEEEEEEEEEKEEEEGEEEEEEEEEKEEEEEEEEEEEEEEEEE#WKEEEEEEDDf;;;;,: .,itfLGGDDDDDDDDDDDD *\n\t *ti;,,,,,:. ...,. LDEEEEKKKKKKKKKKKWWWKKKKKKKKKKKKKKKWKK#W#WEEEEEEEEEEEDDLEEEEEEEEEWEEEEDEEEEEEEEEKEEEEEEEEEEEEEEEEEWWEEEEEEEDDfj,,,,,:. .,itfGGGDDDDDDDDDDDD *\n\t *tii,,,,::::. ...,: .fDEEEEKKKKKKWKKKKWWWKKKKKKKKKKKKKKKEKKW#WWEEEEEEEEEEEKiKEEKEEEEEEWEEEEDEEEEEEEEEEEEEEEEEEEEEEEEEEEWWEEEEEEEDDLD:::,,,:. .,ijfGGGDDDDDDDDDDDD *\n\t *ti;:::::::::.. .:.,: LDEEEEKKKKKKKWKKKKWWKKKKKKKKKKKKKKKKtKKWWWWKEEEEEEEEEDiiDEEEEEEEEWWEEEEEEDEEEEEEEEEEEEEEEEEEEEEEEEEEWKEEEEEDDDGL:. .:,,,: .,ijLGGGDDDDDDDDDDDD *\n\t *tt;. .::::::::.. ...,: :fDEEEKKKKKKKKKKKKWW#KKKKKKKKKKKKKKKKfKKWWWWKEEEEEEEEDti,DEKEEEEEEWWEEEDEEEEEEEEEKEEEEEEEEEEEEEDEEEEE#WEEEEEGGDGf:. .:,;,:. .,ijLGGDDDDDDDDDDDDD *\n\t *tt;. .:::::::.. ...,: GDEEEKKKKKKKKWKKKKWWWKKKWKKKKKKKWWWKDEKLWWWWKKEEEEEEDEi,LDEEEEEEEEWWEEEEEEEEEEEEEEEEEEEEEEEEEDEDEEEEEW#EEEEDDDDGf,. :,,,:...,ijLGGGDDDDDDDDDDDD *\n\t *tt;. .....::::.. ...,: fDEEEKKKKKKKKWKKKKWWWWKKKWKKKKKKKKKKfWKiWWW#KKEEEEEEEi;.EDfEEEDEEiWWEEEEEEEEEEEEDGKEEEEEEEEEEDEEEEEEEWWEEEEDDDGGLi. .,;,:::,ijLGGGDDDDDDDDDDDD *\n\t *tt;. ....:::::. ...,. iDEEEEKKKKKKKKWKKWKWWWWWKKWWWKKKKKKKKtWKt#WWWKKEEEEEDji..DDKDDEDEGiWKEEEEEEEEEEDDEjEEEEEEEEEEEDEEEEEEEKWKEEDDDDGGff. .:,;,,;ijLGGGDDDDDDDDDDDD *\n\t *tt;. ....::::.. .:.,: .LDEEEKKKKKKKKKKKKWWWWKWWWWWWWWWWKKKKWtKKiDWWWKKKEEEEKi:..DEDDDDDDiiWKEEEEEEEEEEDDEijDEEEEEKEEEEEEEEEEEEWWEEGDDDGGLG. .:,;;iijLGGGDDDDDDDDDDDD *\n\t *tt;. .....:::.. ...,. .fEEEEKKKKKKKKWKKKKWWWWWWWWWWWWWWKWKKKiKDiLWWWWKEEEEEi,..fD:DDDDDti;WEEEEEEEEEEKDDi:iDDEEEEWEEEEEEEEEEEE#WEEGDDDDGGG. :,iitjLGGGDDDDDDDDDDDD *\n\t *tti. .....:::.. ...,. GDEEEKKKKKKKKKWKKKWWW#WWWWWWWWWWWKWKKjiEjitWWWKKWEEEDi...DDLDDDDji;;WEEEEEEEEEEEDEj.iDDEEEEWEEEEEEEEEEEEWWEEDDDDDDGf. .,;tjfLGGDDDDDDDDDDDD *\n\t *tti. ....::::.. ...,. fEEEKKKKKKKKKKKKKKKW#WWWWWWWWWWWWWWWWtiEiiiWWWKKEWKEi....D.EDDDEi;.fWEEEEEEEEEEDDfL.;EDDEEEWEEEEEEEEEEEEWWEEEDDDDDGf. :;ijfLGGDDDDDDDDDDDD *\n\t *tti. ....::::.. ...,. LDEEEKKKKKKKKKKKKKKWWWWWWWWWWWWWWWW####WKiiiWWWKKKEEK,...:E:DDDEii..GWEEEEEEEEDWDDiL.,KDDEEEWEEEEEEEEEEEEWWKEEDDDDDGf: .,itfLGGDDDDDDDDDDDD *\n\t *tti. .....:::.. ...,. fDEEEKKKKKKKKKWKKKKWWWWWWWWWWWWW########WLiiWWWKKKEEjD...G,DDDDi;...EWEEEEEEEEDKDEii..LDDEEEWEEEEEEEEEEEEWWWEEDDDDDGfi .,;tfLGGGDDDDDDDDDDD *\n\t *tti. .....:::.. ...,. iGEEEKKKKKKKKKKWKKKKWWWWWWWWWWWW###########KiWWWKKEEE,.D..D.DDDii:...KKEEEEEEEEEDDj:...tEDEEEWEEEEEEEEEEEEWWWEEEDDDDDLL .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ....::::......:. LEEEKKKKKKKKKKWWKKKWWW#KWWWWWWWW#####W####W##KWWKKEEL..:D.jjDDi;,....KKEEEEEEEDfDDi...:iKDEEEWKEEEEEEEEEEEWWWEEEEDDDDLG .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ...::::::..,. :GEEEKKKKKKKKKKKKWWWWW##WWWWWWWWW##WKWK#W#W####WWKEEK.....G.DDti,.....KKEEEEEEDWGDf.,...iKDEEEWWEEEEEEEEEEEW#WEEEEEDDDGL .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ....::::::,. GDEEKKKKKKKKKKKKKWWWW###WWWWWWWWWW#WWWK###W#####WKEKK.....jDDL;;......KKEEEEEEEEEDi.f...;KDEEEWWEEEEEEEEEEEWWWWEEEEEDDGf .,;tjLLGGDDDDDDDDDDD *\n\t *tti. ....:::,,. .LEEEKKKKKWKKKKKWWWWWW###WWWWWWWWWW#WWKW#WW##W#WWWKEKD:....:DD:;......;KEEEEEEEKiDD..f...,KKEEEWWEEEEEEEEEEEWWWWEEEEEDDDf .:;tjLLGGGDDDDDDDDDD *\n\t *tti. ...::,,,:. GDEEKKKKKKKKKKKKWWWWWWW#WWWWWWWWWWW#KjKWWWWWWWWWWWWEK.j,..;fD.;.......fKEEEEEDKG:Di..,....DKEEEWWEEEEEEKEKKKWWWWEEEEEEDDf .:;tjLLGGDDDDDDDDDDD *\n\t *jti. ...::,,,,:. .fEEEKKKKKWKKKKKKWWWWWWW#WWWWWWWWWWK#KKKWWWWWWWWWWWWWK..f:.:G.,:.......EKEEEEEKK;:E:.......fKEEEWWKEKEKKKKKKKW#WWEEEEEEDDf: .,;tfLLGGDDDDDDDDDDD *\n\t *tti. ...:,,,;;,: iDEEKKKKKWKKKKKKKWWWWWWW#WWWWWWWWWWK#WDKWWKKWWWWWWWWWE..;G:G..,........KKEEEEEKi.Gi..:.....tKEEKWWWKKKKKKKKKKW##WKEEEEEEDfi .,;tfLLGGGDDDDDDDDDD *\n\t *tti. ....::,,;;;,LEEKKKKKKWKKKKKWWWWWWW###WWWWWWWWWWKWWDKWEEEWKKWWWWWKKj.:LG..;.........EKEEEEKG;.G...;.....;KKEKWWWKKKKKKKKKKW##WWKEEEEEDfL .,;tfLGGGDDDDDDDDDDD *\n\t *jti. ...::::,;ijDEEKKKKKWKKKKKKWKWWWWW##WWWWWWWWWWWKK#KKGDGDWEEWKKWKKGE,.i;.:.........:EKEEEKE;.:L...j.....,KWEKWWWKKKKKKKKKK####WKKEEEEDLG .,;tfLGGGGDDDDDDDDDD *\n\t *jti. ...:...,,;GEEKKKKKWWKKKKKWWWWWWWW###WWWWWWWWWKKKWWKiLGGEDEDEKGKKiEG..;...........jKEEEKK;:.G....,.....:KKEWWWWKKKKKKKWKK####WKKKKEEEGL .,;tfLGGGGDDDDDDDDDD *\n\t *jti. ...:. .:,GEEKKKKKWKKKKKWWWWWWWW####WWWWWWWWWKKKWWKii;fDLGDK: EEi:E:.............EKEEKK;;..L...........KKKWWWWKKKKKKKWKK####WKKKWKEEDf .,;tfGGGGDDDDDDDDDDD *\n\t *jti. ...:. ,EEKKKKKWWKKKKKWWWWWWWWW###WWWWWWWWKKKKfWWLt;i,. fi EG..D:.............EKEKK;;..t....:.......KWKWWWWKKKKKKKWKK####WKKKWEEEDf:. .,;tfGGGGDDDDDDDDDDD *\n\t *jti. ...:. GEEKKKKKWKKKKKWWWWWWWWW####WWWWWWWKKKKKt;KKEfff .;t.................KKKKi;:..GtGGfG.......KWWWWWWKKKKKKKWKK###WWWKKKKEEEf,,: .,;tfGGGGDDDDDDDDDDD *\n\t *jti. ...:. GEKKKKKWWKKKKKWWWWWWWWWW##WWWWWWWKKKKKKt;EiKKKK, ...t................jEKKG;;..,.....,LGi....KWWWWWWKKKKKKWKKKW####WKKKKKEEL,,,:. .,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. .GEEKKKKKWKKKKKWWWWWWWWWW###WWWWWWWKKKKKKtiE::tGG........................EEEj;;...,.........:D..DKWWWWWWKKKKK#KKW###W#WKKKKKEEfj:,,,:. .,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. DEKKKKKWWKKKKKWWWWWWWWW####WWWWWWWKKKKKKiiE:::.::.......................EEi;;...j.....f......:iDKWWWWWWKKKKK#WW######WKKKKKEELG :,,,,:. .,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. fEEKKKKWWKKKKWWWWWWWWWWW###WWWWWWWWKKKKKK;tE::..........................DD;.;,.::......;........EWWWWWWWKKKKW#WW#####WWKKKWKKELG .:,,,:::,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. .DEKEKKKWWKKKKWWWWWWWWWWW###WWWWWWWWKKKKKE,iD::..........................D..,;.,;tLffi...........DWDWWWW#KKKWWWWW#####W#KKKWKEEGL .:,;,,,;tfGGGDDDDDDDDDDDD *\n\t *jti. ...:. ;EEKKKKWWKKKKKWWWWWW#WWWW####WWWWWWKKKKKEL:iD:..........................j ..;..;;:.....i,........DKtWWWWWKKWWWWWW#####WWWKKKEKEDf .:,;;;itfGGGDDDDDDDDDDDD *\n\t *jti. ...:. DEKKKKKWWKKKKWWWWWWW#WWWW####WWWWWWKKKKKEj:iG...............................:....................GKiWWWWWKKWW#WWW######WWKKKKKEEf .,;iitfGGGDDDDDDDDDDDD *\n\t *jti. ...:.:EKKKKKWWKKKKKWWWWWWW#WWW#####WWWWWKWKKKKEi:if:.................................iEKEKKKKKKDj......DKiWWWWWKWK##WW#######WWKKK:KEEL .:;itfGGGDDDDDDDDDDDD *\n\t *jji. ...:,DEEKKKWWWKWKKWWWWWWWWWWWW#####WWWWWWWKKKKEi:it..................................j. KKKKKKKKKKKf..DKiWWWWWKWW##WW#######WWKKK,KEEf .,;tfGGGDDDDDDDDDDDD *\n\t *jji. ..L:iDEEKKKWWKKKKKWWWWWWWWWWWW#####WWWWWKWKKKKKi.i;.................................. . KKKWWWWWWWWK..DGiWWWWWKK##WWW#####W#WWKKKjEKEL, .:;tfGGGDDDDDDDDDDDD *\n\t *jji. .f:::EEEKKKWWWKKKKKWWWWWWWWWWWW#####WWWWWKWKKKKK;.i,.................................:: KKEKWWWWWWfWK..EiiWWWWWKWW#WW##########KKKD,KELj .:;tfGGDDDDDDDDDDDDD *\n\t *jji. .t::::,DEEKKKWWKKKKWWWWWWWWW#WWWW#####WWWWKKWKKKEK;.i:.................................GDDEEEKKKWWWWWtWWD.E;iWWWWWW###WW#########WWKKK.EEDG .:;tfGGGDDDDDDDDDDDD *\n\t *jji. . j..::::EKEKKKWWWKKKKWWWWWWWWW#WWW######WWWWKKWKKKEK;.t:.................................ELLEDDEEEWWWWEtWK,.KiiWWWWWW###W##########WWKKK:EEEG .;tjfLLGDDDDDDDDDDDDDDD *\n\t *jji. i.::::::,EEEKKWWWKKKKKWWWWWWWWW#WWW#####WWWWWKWKKKKEE,.t..................................DfiEGDDDEEKKKttKWG.KiiWWWWW##WWW##########WWKKK:fEEL ,fGGGDDDDDDDDEEEDDDDDDDDDD *\n\t *jji. .;:..:::::DEEEKKWWWKKKKKWWWWWWWWW#WWWW####WWWWWWWKKKKED,.t..................................ifjDDGGEGDKK.ttKKE.DiWWWWW###WW##########WWWKKK:.KELiLGGGGDDDDDDDDDDDDEEEDDDDDDD *\n\t *jji. i.:.::::::,KEEKKWWWKKKKKKWWWWWWWWW#WWWW####WWWWWWWKKKKEL:.j..................................GGf,;ifLLED .iiKKi:fWWWWWW##W#W##########WWWKKK:.KKLGGDDDDDDDDDDDDDDDDEDDEEDDDDD *\n\t *jji. .j:.::::::::EEEKKKWWWKKKKKKWWWWWWWW##WWW#####WWWWWWWKKKKKf:.f..................................:EEfftf .,. ;iE,..jWWWWWWW###W############WWKKK,:KKGDDDDDDDDDDDDDDDDDDDDDDDEDDDD *\n\t *jji. .:.::::::::,,EEEKKWWWKKKKKKKWWWWWWWW##WWW#####WWWWWWWKKKKKt..G....................................EEELL; .j....tKWWWWWWW################WWWKKtfGKGEDDDDDDDDDDDDDDDDDDDDDDDEEDD *\n\t *jji. :...:::::::,,jEEKKWWWWKKKKKKWWWWWWWWW##KWW#####KWWWWWWKKKKEi..D....................................:jEEE.........;KKWWWWWWWW#WW##W##########WWKKDLGKEKDDDDDDDDDDDDDDDDDDDDDDDDDED *\n\t *jji. i:.::::::::,,,EEEKKWWWWKKKKKWWWWWWWWWW##WWW#####WWWWWWWKKKKKi..D......................................:::::......,KKKWWWWWWWWW#####W########WWWKKKGGKKEGGGGGGGGDDDDDDDDDDDDDDDDDDE *\n\t *jji. i..:::::::::,,tEEKKWWWWKKKKKWWWWWWWWWWW##WW######WWWWWWWKKKKKi..D......................................::::......:EKKKWWWWWWWWWWW##WW########W#WKKWGGKKGGGGGGGGGGGGGGGDDDDDDDDDDDDD *\n\t *jji. .:::::::::::,,,EEEKKWWWWKKKKKWWWWWWWWWWW##WW#####WWWWWWWWKKKKKi..D....................................:::::::::..tELii;KWWWWWWWWWW##WW######WWWWWWKWGGGKGGGGGGGGGGGGGGGGGGGGGGGGGGDG *\n\t *jjt. :.::::::::,,,,fEEKKWWWWKKKKKKWWWWWWWWWW###WW####WWWWWWW#WKKKKKi..D....................................:::::::.:.,;;;;;;,KKWWWWWWWWW#WW########WWWKKWGGGKGGGGGGGGGGGGGGGGGGGGGGGGGGGG *\n\t *jji. ;.::::::::,,,,;EEEKWWWWWKKKKKWWWWWWWWWWWW##WW###WKWWWWWK#WKKKKKi..G......................................:::::::,;;;;:...KKKWWWWWWWWWKWW#######WWWWKKGLGKDGGGGGGLLGGGGGGGGGGGGGGGGGGG *\n\t *jjt. f.:::::::::,,,,fEEKKWWWWWKKKKKWWWWWWWWWWW###WW##WKKWWWWWW#WKKKKK;.jt........i.............................:::::::;j;;....:E.KKKWWWWWWWKWW#####W#WWWWKKLLGWEEGGGGGLGGGGGGGGGGGGGGGGGGGG *\n\t *jjt. ...:::::::,,,,,;DEEKWWWWWKKKKKWWWWWWWWWWWW####WWWKKKWWWWWWWWKKKKK;.E;.........t.............................:::::ii;;.....D...KKWWWWWWWKWW#####WWEWWWKKGGGEKKGGGGGLGGGGGGGGGGGGGLGGGGGG *\n\t *fji. ;.:::::::,,,,,;LEEKKWWWWWKKKKKWWWWWWWWWWWW####KWKKKKWWWWWWWWKKKKKi.D;..........j.............................:::tt;,.....:.....KKWWWWWWKWWWW##WWWGWWWKKGGGGKEGGGGGGGGGGGGGGGGGGGLLGGGGL *\n\t *fji. t::::::::,,,,,,;EEEKWWWWWKKKKKKKWWWWWWWWWWW##WKWKKKKKWWWWWWWWKKKKKi:D;............j...........................::LL;,.............KKWWWWWKWWWWWWWWWGWWWKKGGGGKGGGGGGGGGGGGGGGGGGGGLLGGGGL *\n\t *fjt: .:::::::,,,,,,,DEEKWWWWWWKKKKKKKWWWWWWWWWWWWKKWKKKKKKWWWWK#WWKKKKWitE;........... ............................:G;;:...............KKKWWKKWWWWWWWWWGWWWKKGGGGWGGGGGGGGGGGGGGGGGGGGGGGGGGL *\n\t *fjji;:. .f:::::::,,,,,,,;EEEKWWWWWWKKKKKKWWWWWWWWWWWKKKKKKKKKKKWWKWWWWWKKKKWGKD;........................................L;;..................DKKWKKWWWWWWWWWGWWWKKDGGGKDGGGGGGGGGGGGGGGGGGGGGGGGGG *\n\t *fjjtii;,:. :::::::,,,,,,,;EEEKWWWWWWKKKKKKWWWWWWWWWWKKKKKKKKKKKKWWWWWW#WWKKKKWiEj;......................................:i,;....,...............;KKEKWWWWWWWWWGKWWKKDDGGDEGGGDGGGGGDGGGGGGGGGGGGGGGG *\n\t *fjtiiiii;;:. j::::::,,,,,,,;;EEEKWWWWW#KKKKKWWWWWWWWWKKKKKKWKKKKKKKWWWWWWWWWKKKKWtEL;:....................................;;;:...,;j................:KEEWWWWWWWWWDDWWKKDDDDDKDDDDDDDDDDDDDDDGGGGGGGGGGG *\n\t *fjti;;iiii;;,:::::::,,,,,,,,;EEEKWWWWWWWKKKKWWWWWWWWKKKKKKKWKKKKKKKWWWWWWW#W#KKKKWEEii;...................................f;:....,;L...................EEKWWWWWWWWDDWWKKDDDDDKEDDDDDDDDDDDDDDDDDDDDDGGGG *\n\t *fjt,,,;;;;ii;f::::::,,,,,,,;;EEKWWWWWWWKKKKKWWWKWWKKKKKKKKKKKKKKKKKWWWWWWW#W#KKKKWKEij;:...............................:G;,.....,;f....................:tKKWWWWWWWDDWWKKDDDDDKKDDDDDDDDDDDDDDDDDDDDDDDDD *\n\t *jjt. ..:,;;;;,::::,,,,,,,,;;GEEWWWWWWWWKKKKWKKWKKKKKKKKKKKKKKKKKKKKWWWWWWW#W#KKKKWEDi;j;............................,Li;L;;;..,;;f........................KKKKWWWKDDWWKKDDDGDKKGGGGGGGGDGDDDDDDDDDDDDDDD *\n\t *fjt. .:,,,:::::,,,,,,,;;;EEKWWWWWWWKKKKKKWKKKKKKKKKKKKKKKKKKKKKWKKKWKW##W#KKKKWEti;;G;........................tEEEL;;;;;;;;;;L..........................DKKKKKEDDWWKEDGftiLE;;;;itjLGGGGGGDDDDDDDDDDD *\n\t *fjt. .j::::,,,,,,,;;;DEEWWWWWWWWKKKKWKKKKKKKKKKKKKKKKKKKKKKKWKKWWWK##W#KKKKKEii;;;L;...................iDEEEEEEKKi;j;;;;jD.....:......................,KKKKDGGEKKE:::::;E::::::::::,tLGGDDDDDDDDDD *\n\t *fjt. .;:::,,,,,,,;;;;EEKWWWWWWWWKWKKKKKKKKKKKKKKKWKKKKKKKKKKWKKWWWW#WW#KKKKKKii;;;;f;.............:tDEEEEEKKKKKKKKEti;;;L...............................EEKf;:iKKE::::::E::::::::::::::ifDDDDDDDDD *\n\t *fjt: :::,,,,,,,,;;;DEEWWWWWWWWWEKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKWWWW####KKKKKEiii;;;;f,.........iDEEEEKKKKKKKKKKKKKKKf;iG......i..........................fK::::KKE::::::E::::::::::::::::,tGGDDDDD *\n\t *fjt: t:::,,,,,,;;;;iDEKWWWWWWKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKWWWW####WKKKKLiii;;;;;L,....,Li;EDEEEEKKKKKKKKKKKKKKKKiG......;:...........................:i:::KKE:::::,E,::::::::::::::::::iGDDDD *\n\t *jjt. f::,,,,,,,;;;;GEEWWWWKEEKEKKKKKKKKKKKKKKKKWKKKKKKKKKKKWWKWWWWW###WWKKKKiii;;;;;;;G,;L;;iiEEEEEEEKKKKKKKKKKKKKWWKE......;t.........:....................j::KEE:,::,,D,,::::,,,,,,:::::::::tDDD *\n\t *fjt:. ,::,,,,,,,;;;;EEWWKEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKWWKKWWWWW#W#KKKKKKiiiiii;;;;;i;;iiiEEKEEKKWKKKKKKKWKKKKKWWWGi;...;t......,;;;;,....................:,EEE,,,,,,D,,,,,,,,,,,,,,,,::,::::tG *\n\t *fjt:. ,::,,,,,,,;;;;DEKEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWW#W#KKKKKKiiiii;;i;;;;;iiiKKKEKKKKWWKWWWWWWKKKKWWWWW;;;:;L.....;;;;;;;;;....................,KEE,,,,,,E,,,,,,,,,,,,,,,,,,,,,,,,; *\n\t *fjt:. f:,,,,,,,;;;;jEDEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWW#W##KKKKKKiiiiiiii;i;;iiiEKKKKKKKKWKWWWWWWWWKKKWWWWWKi;;i.....,jEEfGi;;;;;...................EED,,,,,,E,,,,,,,,,,,,,,,,,,,,,,,,, *\n\t *fjt:. .f::,,,,,,;;jEEDEEEEEEEEEEKKKKKKKKKKKKKKKWKKKKKKKKKKKKKWWWKWWWWW###KKKKKLiiiiiiiiiiiiiiEEKKKKKKKKWWWWWWWWWWWWKWWWWWWGi;i;,..;jDDDKEGi;;;;;;:................EED,,,,,,D,,,,,,,,,,,,,,,,,,,,,,,,, *\n\t *fjt:. .. ;::,,,,,;;EDDEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKW#WW####KWKKKiiiiiiiiiiiiijKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWt;i;;;;i;DDDDDDGi;;;;;;;;:.............EDf;,,,;,G;;;;;;;;;;;;;;;,,,,,,,,,, *\n\t *fjt:......:,,,,,,;LDDDEEEEEEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKKKWWWWKWWWW####KKKKKiiiiiiiiiiijKEKKWKKKKKKKWWWWWWWWWWWWWWWWWWWWWWiLiii;i;DEEEEDDE;i;;;;;;;;;:..........EDi,;;;;;L;;;;;;;;;;;;;;;;;;,,,,,,, *\n\t *fjt:......:,,,,,;EDDDEEKEEEEEEEEEKKKKKKKKKKKKKKKWKKKKKKKKKKKKKKWWWWKKWWW##W#KWKKWEiiiiiijGKKKKKWWKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWKi;iiiiDDEEEEEEDEi;;;;;;;;;;;;;,:.....ED;;;;;;;j;;;;;;;;;;;;;;;;;;;;;;;,, *\n\t *fjt:.....t,,,,,;DDDDEEEKEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWKKKWWWW##WKWKKWKiiiKKKKKKKKKWWKKKKKKKKWWWWWWWWWWWWWWW#WWWWWWWWWiiiiifLEEEEEEEEDi;i;;;;;;;;;;;;.....DD;;;;;;;i;;;;;;;;;;;;;;;;;;;;;;;;; *\n\t *fjt:.....G,,,,,GDDDEEEEEEEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKKKKKWWWKKKWWW###WKWKKWKitKKKKKKKKKWKKKKKKKKKKWWWWWWWWWWWWWW###WWWWWWWWEiiiiiiiEEEEEEEEDGiiii;;;;;;;;;.....GD;;;;;;;i;;;;;;;;;;;;;;;;;;;;;;;;; *\n\t *fjt:.....L,,,,;GDDDEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWDGWWW###KKWWKWKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWW####WWWWWWWWWiiiiiiiiEEEEEEEEEEDi;i;;;;;;;;.....Lj;;;;;;i;iiiiii;;;;;;ii;;;;;;;;;;; *\n\t ***********************************************************************************************************************************************************************************************************/\n\n\t\t\n}",
"Main"
]
| //No sorceries shall prevail.
import java.util.*;
import java.io.*;
import java.lang.reflect.Array;
public class Main {
static Scanner inp= new Scanner(System.in);
static PrintWriter out= new PrintWriter(System.out);
public static void main(String args[]) {
Main g=new Main();
g.main();
out.close();
}
void main() {
long a=inp.nextLong();
long b=inp.nextLong();
long c=inp.nextLong();
long d=inp.nextLong();
out.println(Math.max(a*c, Math.max(a*d, Math.max(b*d, b*c))));
}
/*********************************************************************************************************************************************************************************************************
* ti;. .:,:i: :,;;itt;. fDDEDDEEEEEEKEEEEEKEEEEEEEEEEEEEEEEE###WKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWW#WWWWWKKKKKEE :,:. f::::. .,ijLGDDDDDDDEEEEEEE*
*ti;. .:,:i: .:,;itt;: GLDEEGEEEEEEEEEEEEEEEEEEDEEEEEEEEEEE#W#WEKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWKKKKKKG. .::. f:,...,ijLGDDDDDDDDEEEEEE *
*ti;. .:,:i: :,;;iti, :fDDEEEEEEEEEEEEEEEKEEEEDEEEEEEEEEEEW##WEEEKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWWKKKKKKEG .::. .f,::,ijLGDDDDDDDDEEEEEE *
*ti;. .:,:i: .,,;iti;. LDDEEEEEEEEEEKEEEEWEEEDDEEEEEEEEEEE#WWWEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWWWWWKKKKKEDj .::. .:L;;ijfGDDDDDDDDDEEEEE *
*ti;. .:,:i: .:,;;iii:LLDEEEEEEEEEEEKEEEEEEEEDEEEEEEEEEEEW#WWEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKWWKWWWWWWWWWWWWWWKKKKKKKEL .::. .:;LijLGGDDDDDDDDEEEEE *
*ti;. .:,:;: :,;;ittfDEEEEEEEEEEEEEEEEKEEEGEEEEEEEEEEEKWWWEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWWWWKKKKKKKELj .::. :,;jffGGDDDDDDDDDEEEE *
*ti;. .:,:i: .,;;tGGDEEEEEEEEEEEKEEEKEEEDEEEEEEEEEEEEWWWEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWKWWWWWWKKKKKKKEEL .::. .:;itDGGDDDDDDDDDEEEE *
*ti;. .:::;: :;ifDEEEEEEEEEEEEKEEEKEEEEEEEEEEEEEEEWWWEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WWWKKKKKKKKEEf .::. :,itfGEDDDDDDDDDDDEE *
*ti;. .:::;: :GGEEEEEEEEEEEKEKEEKEEEEEEEEEEEEEEEEWWEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKKKKEEDG .::. .,;jfLGKDLDDDDDDEEDD *
*ti;. .:::;: fDEEEEEEKKKKKKKKKEKEEEEEEEEEEEEEEE#WEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#KKKKKKKKKKEEf .:::. .,;tfLGDEDDDDDDDDEEE *
*ti;. :::;: fDEEEEEEKKKKKKKKKKWKEEEEEEEEEEEEEEEWKEEEEEEEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKW##KKKKKKKKKEEft :::. .,;tfLGDDDKDDDDDDDDD *
*ti;. .::;: fDEEEEEEKKKKKKKWKKKKKEEEEEEEEEEEEE#WEEWEEEEEDEEDEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKKKEEGG :,:. .,;tfLGGDDDKDDDDDDDD *
*ti;. .:.;: tGDEEEEKKKKKKKKKKKKKKKKKEEEEEEEEEEEWEEKWEEEEEEEDEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKWWWKKKKKKKEEDf :::. .,;tfLGGDDDDEDDDDDDD *
*ti;. .::;: fDEEEEEKKKKKKKKKKKWKKKKKKKKEEEEEEEWWEEWEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKW##KKKKKKKEEEft.::. .,;tfLGGDDDDDDEDDDDD *
*ti;. .:.;: tGDEEEKKKKKKKKKKKKKKKKKKKKKKEKEEEEE#EEWWEEEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKW#WKKKKKKEEEGD:::. .,;tfLGGDDDDDDDEDDDD *
*ti;. .:.,. LDEEEEKKKKKKKKKKWKWKKKKKKKKKKKKEEEKWEKW#EEEEEEEEEEEEEEEEKEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKW##KKKKKKEEEEf,,:. .,;tfLGGDDDDDDDDEDDD *
*ti;. ..:.,. LGDEEEEKKKKKKKKKKWKKKKKKKKKKKKKKKKKWEEW#WEEEEEEEEEEEEEEEKEEEEEEEEEEEEEEEEEEEKEKKKKKKKKKKKKKKKK##KKKKKEEEEEfi;,. .,;tfLGGDDDDDDDDDKDD *
*tt;. .:.,: jDEEEEKKKKKKKKKKWWKKKKKKKKKKKKKKKKKWKE#WWEEEEEEEEEEEEEEWEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKKKKKKWWKKKKEEEEDfG;,: .,;tfLGGDDDDDDDDDDKD *
*tii,. .:.,. tGDEEEEKKKKKKKKKKWWWKKKKKKKKKKKKKKKWKKWWWKEEEEEEEEEEEEEKEEEEEEEEEEEEEEEEEEEEEEEEEEEEEKKKKKKKKKKKW#KKKKEEEEDGGi;,. .,;tfLGGDDDDDDDDDDDE *
*ti;;,:. .:.,: fDEEEEKKKKKKKKKKKWKKKKKKKKKKKKKKKKKWEK#WWKEEEEEEEEEEEEDEEEEEEEEEEEEEEGEEEEEEEEEEEEEEEEEEEKKKKKKKWWKKEEEEEEDDf;;;,. .,;tfLGGDDDDDDDDDDDD *
*tii;,,:.. ...,. ;LEEEEEKKKKKKWKKKKWKKKKKKKKKKKKKKKKKEKKW#WEEEEEEEEEEEEEjEEEEEEEEEKEEEEGEEEEEEEEEKEEEEEEEEEEEEEEEEE#WKEEEEEEDDf;;;;,: .,itfLGGDDDDDDDDDDDD *
*ti;,,,,,:. ...,. LDEEEEKKKKKKKKKKKWWWKKKKKKKKKKKKKKKWKK#W#WEEEEEEEEEEEDDLEEEEEEEEEWEEEEDEEEEEEEEEKEEEEEEEEEEEEEEEEEWWEEEEEEEDDfj,,,,,:. .,itfGGGDDDDDDDDDDDD *
*tii,,,,::::. ...,: .fDEEEEKKKKKKWKKKKWWWKKKKKKKKKKKKKKKEKKW#WWEEEEEEEEEEEKiKEEKEEEEEEWEEEEDEEEEEEEEEEEEEEEEEEEEEEEEEEEWWEEEEEEEDDLD:::,,,:. .,ijfGGGDDDDDDDDDDDD *
*ti;:::::::::.. .:.,: LDEEEEKKKKKKKWKKKKWWKKKKKKKKKKKKKKKKtKKWWWWKEEEEEEEEEDiiDEEEEEEEEWWEEEEEEDEEEEEEEEEEEEEEEEEEEEEEEEEEWKEEEEEDDDGL:. .:,,,: .,ijLGGGDDDDDDDDDDDD *
*tt;. .::::::::.. ...,: :fDEEEKKKKKKKKKKKKWW#KKKKKKKKKKKKKKKKfKKWWWWKEEEEEEEEDti,DEKEEEEEEWWEEEDEEEEEEEEEKEEEEEEEEEEEEEDEEEEE#WEEEEEGGDGf:. .:,;,:. .,ijLGGDDDDDDDDDDDDD *
*tt;. .:::::::.. ...,: GDEEEKKKKKKKKWKKKKWWWKKKWKKKKKKKWWWKDEKLWWWWKKEEEEEEDEi,LDEEEEEEEEWWEEEEEEEEEEEEEEEEEEEEEEEEEDEDEEEEEW#EEEEDDDDGf,. :,,,:...,ijLGGGDDDDDDDDDDDD *
*tt;. .....::::.. ...,: fDEEEKKKKKKKKWKKKKWWWWKKKWKKKKKKKKKKfWKiWWW#KKEEEEEEEi;.EDfEEEDEEiWWEEEEEEEEEEEEDGKEEEEEEEEEEDEEEEEEEWWEEEEDDDGGLi. .,;,:::,ijLGGGDDDDDDDDDDDD *
*tt;. ....:::::. ...,. iDEEEEKKKKKKKKWKKWKWWWWWKKWWWKKKKKKKKtWKt#WWWKKEEEEEDji..DDKDDEDEGiWKEEEEEEEEEEDDEjEEEEEEEEEEEDEEEEEEEKWKEEDDDDGGff. .:,;,,;ijLGGGDDDDDDDDDDDD *
*tt;. ....::::.. .:.,: .LDEEEKKKKKKKKKKKKWWWWKWWWWWWWWWWKKKKWtKKiDWWWKKKEEEEKi:..DEDDDDDDiiWKEEEEEEEEEEDDEijDEEEEEKEEEEEEEEEEEEWWEEGDDDGGLG. .:,;;iijLGGGDDDDDDDDDDDD *
*tt;. .....:::.. ...,. .fEEEEKKKKKKKKWKKKKWWWWWWWWWWWWWWKWKKKiKDiLWWWWKEEEEEi,..fD:DDDDDti;WEEEEEEEEEEKDDi:iDDEEEEWEEEEEEEEEEEE#WEEGDDDDGGG. :,iitjLGGGDDDDDDDDDDDD *
*tti. .....:::.. ...,. GDEEEKKKKKKKKKWKKKWWW#WWWWWWWWWWWKWKKjiEjitWWWKKWEEEDi...DDLDDDDji;;WEEEEEEEEEEEDEj.iDDEEEEWEEEEEEEEEEEEWWEEDDDDDDGf. .,;tjfLGGDDDDDDDDDDDD *
*tti. ....::::.. ...,. fEEEKKKKKKKKKKKKKKKW#WWWWWWWWWWWWWWWWtiEiiiWWWKKEWKEi....D.EDDDEi;.fWEEEEEEEEEEDDfL.;EDDEEEWEEEEEEEEEEEEWWEEEDDDDDGf. :;ijfLGGDDDDDDDDDDDD *
*tti. ....::::.. ...,. LDEEEKKKKKKKKKKKKKKWWWWWWWWWWWWWWWW####WKiiiWWWKKKEEK,...:E:DDDEii..GWEEEEEEEEDWDDiL.,KDDEEEWEEEEEEEEEEEEWWKEEDDDDDGf: .,itfLGGDDDDDDDDDDDD *
*tti. .....:::.. ...,. fDEEEKKKKKKKKKWKKKKWWWWWWWWWWWWW########WLiiWWWKKKEEjD...G,DDDDi;...EWEEEEEEEEDKDEii..LDDEEEWEEEEEEEEEEEEWWWEEDDDDDGfi .,;tfLGGGDDDDDDDDDDD *
*tti. .....:::.. ...,. iGEEEKKKKKKKKKKWKKKKWWWWWWWWWWWW###########KiWWWKKEEE,.D..D.DDDii:...KKEEEEEEEEEDDj:...tEDEEEWEEEEEEEEEEEEWWWEEEDDDDDLL .,;tjLLGGDDDDDDDDDDD *
*tti. ....::::......:. LEEEKKKKKKKKKKWWKKKWWW#KWWWWWWWW#####W####W##KWWKKEEL..:D.jjDDi;,....KKEEEEEEEDfDDi...:iKDEEEWKEEEEEEEEEEEWWWEEEEDDDDLG .,;tjLLGGDDDDDDDDDDD *
*tti. ...::::::..,. :GEEEKKKKKKKKKKKKWWWWW##WWWWWWWWW##WKWK#W#W####WWKEEK.....G.DDti,.....KKEEEEEEDWGDf.,...iKDEEEWWEEEEEEEEEEEW#WEEEEEDDDGL .,;tjLLGGDDDDDDDDDDD *
*tti. ....::::::,. GDEEKKKKKKKKKKKKKWWWW###WWWWWWWWWW#WWWK###W#####WKEKK.....jDDL;;......KKEEEEEEEEEDi.f...;KDEEEWWEEEEEEEEEEEWWWWEEEEEDDGf .,;tjLLGGDDDDDDDDDDD *
*tti. ....:::,,. .LEEEKKKKKWKKKKKWWWWWW###WWWWWWWWWW#WWKW#WW##W#WWWKEKD:....:DD:;......;KEEEEEEEKiDD..f...,KKEEEWWEEEEEEEEEEEWWWWEEEEEDDDf .:;tjLLGGGDDDDDDDDDD *
*tti. ...::,,,:. GDEEKKKKKKKKKKKKWWWWWWW#WWWWWWWWWWW#KjKWWWWWWWWWWWWEK.j,..;fD.;.......fKEEEEEDKG:Di..,....DKEEEWWEEEEEEKEKKKWWWWEEEEEEDDf .:;tjLLGGDDDDDDDDDDD *
*jti. ...::,,,,:. .fEEEKKKKKWKKKKKKWWWWWWW#WWWWWWWWWWK#KKKWWWWWWWWWWWWWK..f:.:G.,:.......EKEEEEEKK;:E:.......fKEEEWWKEKEKKKKKKKW#WWEEEEEEDDf: .,;tfLLGGDDDDDDDDDDD *
*tti. ...:,,,;;,: iDEEKKKKKWKKKKKKKWWWWWWW#WWWWWWWWWWK#WDKWWKKWWWWWWWWWE..;G:G..,........KKEEEEEKi.Gi..:.....tKEEKWWWKKKKKKKKKKW##WKEEEEEEDfi .,;tfLLGGGDDDDDDDDDD *
*tti. ....::,,;;;,LEEKKKKKKWKKKKKWWWWWWW###WWWWWWWWWWKWWDKWEEEWKKWWWWWKKj.:LG..;.........EKEEEEKG;.G...;.....;KKEKWWWKKKKKKKKKKW##WWKEEEEEDfL .,;tfLGGGDDDDDDDDDDD *
*jti. ...::::,;ijDEEKKKKKWKKKKKKWKWWWWW##WWWWWWWWWWWKK#KKGDGDWEEWKKWKKGE,.i;.:.........:EKEEEKE;.:L...j.....,KWEKWWWKKKKKKKKKK####WKKEEEEDLG .,;tfLGGGGDDDDDDDDDD *
*jti. ...:...,,;GEEKKKKKWWKKKKKWWWWWWWW###WWWWWWWWWKKKWWKiLGGEDEDEKGKKiEG..;...........jKEEEKK;:.G....,.....:KKEWWWWKKKKKKKWKK####WKKKKEEEGL .,;tfLGGGGDDDDDDDDDD *
*jti. ...:. .:,GEEKKKKKWKKKKKWWWWWWWW####WWWWWWWWWKKKWWKii;fDLGDK: EEi:E:.............EKEEKK;;..L...........KKKWWWWKKKKKKKWKK####WKKKWKEEDf .,;tfGGGGDDDDDDDDDDD *
*jti. ...:. ,EEKKKKKWWKKKKKWWWWWWWWW###WWWWWWWWKKKKfWWLt;i,. fi EG..D:.............EKEKK;;..t....:.......KWKWWWWKKKKKKKWKK####WKKKWEEEDf:. .,;tfGGGGDDDDDDDDDDD *
*jti. ...:. GEEKKKKKWKKKKKWWWWWWWWW####WWWWWWWKKKKKt;KKEfff .;t.................KKKKi;:..GtGGfG.......KWWWWWWKKKKKKKWKK###WWWKKKKEEEf,,: .,;tfGGGGDDDDDDDDDDD *
*jti. ...:. GEKKKKKWWKKKKKWWWWWWWWWW##WWWWWWWKKKKKKt;EiKKKK, ...t................jEKKG;;..,.....,LGi....KWWWWWWKKKKKKWKKKW####WKKKKKEEL,,,:. .,;tfGGGDDDDDDDDDDDD *
*jti. ...:. .GEEKKKKKWKKKKKWWWWWWWWWW###WWWWWWWKKKKKKtiE::tGG........................EEEj;;...,.........:D..DKWWWWWWKKKKK#KKW###W#WKKKKKEEfj:,,,:. .,;tfGGGDDDDDDDDDDDD *
*jti. ...:. DEKKKKKWWKKKKKWWWWWWWWW####WWWWWWWKKKKKKiiE:::.::.......................EEi;;...j.....f......:iDKWWWWWWKKKKK#WW######WKKKKKEELG :,,,,:. .,;tfGGGDDDDDDDDDDDD *
*jti. ...:. fEEKKKKWWKKKKWWWWWWWWWWW###WWWWWWWWKKKKKK;tE::..........................DD;.;,.::......;........EWWWWWWWKKKKW#WW#####WWKKKWKKELG .:,,,:::,;tfGGGDDDDDDDDDDDD *
*jti. ...:. .DEKEKKKWWKKKKWWWWWWWWWWW###WWWWWWWWKKKKKE,iD::..........................D..,;.,;tLffi...........DWDWWWW#KKKWWWWW#####W#KKKWKEEGL .:,;,,,;tfGGGDDDDDDDDDDDD *
*jti. ...:. ;EEKKKKWWKKKKKWWWWWW#WWWW####WWWWWWKKKKKEL:iD:..........................j ..;..;;:.....i,........DKtWWWWWKKWWWWWW#####WWWKKKEKEDf .:,;;;itfGGGDDDDDDDDDDDD *
*jti. ...:. DEKKKKKWWKKKKWWWWWWW#WWWW####WWWWWWKKKKKEj:iG...............................:....................GKiWWWWWKKWW#WWW######WWKKKKKEEf .,;iitfGGGDDDDDDDDDDDD *
*jti. ...:.:EKKKKKWWKKKKKWWWWWWW#WWW#####WWWWWKWKKKKEi:if:.................................iEKEKKKKKKDj......DKiWWWWWKWK##WW#######WWKKK:KEEL .:;itfGGGDDDDDDDDDDDD *
*jji. ...:,DEEKKKWWWKWKKWWWWWWWWWWWW#####WWWWWWWKKKKEi:it..................................j. KKKKKKKKKKKf..DKiWWWWWKWW##WW#######WWKKK,KEEf .,;tfGGGDDDDDDDDDDDD *
*jji. ..L:iDEEKKKWWKKKKKWWWWWWWWWWWW#####WWWWWKWKKKKKi.i;.................................. . KKKWWWWWWWWK..DGiWWWWWKK##WWW#####W#WWKKKjEKEL, .:;tfGGGDDDDDDDDDDDD *
*jji. .f:::EEEKKKWWWKKKKKWWWWWWWWWWWW#####WWWWWKWKKKKK;.i,.................................:: KKEKWWWWWWfWK..EiiWWWWWKWW#WW##########KKKD,KELj .:;tfGGDDDDDDDDDDDDD *
*jji. .t::::,DEEKKKWWKKKKWWWWWWWWW#WWWW#####WWWWKKWKKKEK;.i:.................................GDDEEEKKKWWWWWtWWD.E;iWWWWWW###WW#########WWKKK.EEDG .:;tfGGGDDDDDDDDDDDD *
*jji. . j..::::EKEKKKWWWKKKKWWWWWWWWW#WWW######WWWWKKWKKKEK;.t:.................................ELLEDDEEEWWWWEtWK,.KiiWWWWWW###W##########WWKKK:EEEG .;tjfLLGDDDDDDDDDDDDDDD *
*jji. i.::::::,EEEKKWWWKKKKKWWWWWWWWW#WWW#####WWWWWKWKKKKEE,.t..................................DfiEGDDDEEKKKttKWG.KiiWWWWW##WWW##########WWKKK:fEEL ,fGGGDDDDDDDDEEEDDDDDDDDDD *
*jji. .;:..:::::DEEEKKWWWKKKKKWWWWWWWWW#WWWW####WWWWWWWKKKKED,.t..................................ifjDDGGEGDKK.ttKKE.DiWWWWW###WW##########WWWKKK:.KELiLGGGGDDDDDDDDDDDDEEEDDDDDDD *
*jji. i.:.::::::,KEEKKWWWKKKKKKWWWWWWWWW#WWWW####WWWWWWWKKKKEL:.j..................................GGf,;ifLLED .iiKKi:fWWWWWW##W#W##########WWWKKK:.KKLGGDDDDDDDDDDDDDDDDEDDEEDDDDD *
*jji. .j:.::::::::EEEKKKWWWKKKKKKWWWWWWWW##WWW#####WWWWWWWKKKKKf:.f..................................:EEfftf .,. ;iE,..jWWWWWWW###W############WWKKK,:KKGDDDDDDDDDDDDDDDDDDDDDDDEDDDD *
*jji. .:.::::::::,,EEEKKWWWKKKKKKKWWWWWWWW##WWW#####WWWWWWWKKKKKt..G....................................EEELL; .j....tKWWWWWWW################WWWKKtfGKGEDDDDDDDDDDDDDDDDDDDDDDDEEDD *
*jji. :...:::::::,,jEEKKWWWWKKKKKKWWWWWWWWW##KWW#####KWWWWWWKKKKEi..D....................................:jEEE.........;KKWWWWWWWW#WW##W##########WWKKDLGKEKDDDDDDDDDDDDDDDDDDDDDDDDDED *
*jji. i:.::::::::,,,EEEKKWWWWKKKKKWWWWWWWWWW##WWW#####WWWWWWWKKKKKi..D......................................:::::......,KKKWWWWWWWWW#####W########WWWKKKGGKKEGGGGGGGGDDDDDDDDDDDDDDDDDDE *
*jji. i..:::::::::,,tEEKKWWWWKKKKKWWWWWWWWWWW##WW######WWWWWWWKKKKKi..D......................................::::......:EKKKWWWWWWWWWWW##WW########W#WKKWGGKKGGGGGGGGGGGGGGGDDDDDDDDDDDDD *
*jji. .:::::::::::,,,EEEKKWWWWKKKKKWWWWWWWWWWW##WW#####WWWWWWWWKKKKKi..D....................................:::::::::..tELii;KWWWWWWWWWW##WW######WWWWWWKWGGGKGGGGGGGGGGGGGGGGGGGGGGGGGGDG *
*jjt. :.::::::::,,,,fEEKKWWWWKKKKKKWWWWWWWWWW###WW####WWWWWWW#WKKKKKi..D....................................:::::::.:.,;;;;;;,KKWWWWWWWWW#WW########WWWKKWGGGKGGGGGGGGGGGGGGGGGGGGGGGGGGGG *
*jji. ;.::::::::,,,,;EEEKWWWWWKKKKKWWWWWWWWWWWW##WW###WKWWWWWK#WKKKKKi..G......................................:::::::,;;;;:...KKKWWWWWWWWWKWW#######WWWWKKGLGKDGGGGGGLLGGGGGGGGGGGGGGGGGGG *
*jjt. f.:::::::::,,,,fEEKKWWWWWKKKKKWWWWWWWWWWW###WW##WKKWWWWWW#WKKKKK;.jt........i.............................:::::::;j;;....:E.KKKWWWWWWWKWW#####W#WWWWKKLLGWEEGGGGGLGGGGGGGGGGGGGGGGGGGG *
*jjt. ...:::::::,,,,,;DEEKWWWWWKKKKKWWWWWWWWWWWW####WWWKKKWWWWWWWWKKKKK;.E;.........t.............................:::::ii;;.....D...KKWWWWWWWKWW#####WWEWWWKKGGGEKKGGGGGLGGGGGGGGGGGGGLGGGGGG *
*fji. ;.:::::::,,,,,;LEEKKWWWWWKKKKKWWWWWWWWWWWW####KWKKKKWWWWWWWWKKKKKi.D;..........j.............................:::tt;,.....:.....KKWWWWWWKWWWW##WWWGWWWKKGGGGKEGGGGGGGGGGGGGGGGGGGLLGGGGL *
*fji. t::::::::,,,,,,;EEEKWWWWWKKKKKKKWWWWWWWWWWW##WKWKKKKKWWWWWWWWKKKKKi:D;............j...........................::LL;,.............KKWWWWWKWWWWWWWWWGWWWKKGGGGKGGGGGGGGGGGGGGGGGGGGLLGGGGL *
*fjt: .:::::::,,,,,,,DEEKWWWWWWKKKKKKKWWWWWWWWWWWWKKWKKKKKKWWWWK#WWKKKKWitE;........... ............................:G;;:...............KKKWWKKWWWWWWWWWGWWWKKGGGGWGGGGGGGGGGGGGGGGGGGGGGGGGGL *
*fjji;:. .f:::::::,,,,,,,;EEEKWWWWWWKKKKKKWWWWWWWWWWWKKKKKKKKKKKWWKWWWWWKKKKWGKD;........................................L;;..................DKKWKKWWWWWWWWWGWWWKKDGGGKDGGGGGGGGGGGGGGGGGGGGGGGGGG *
*fjjtii;,:. :::::::,,,,,,,;EEEKWWWWWWKKKKKKWWWWWWWWWWKKKKKKKKKKKKWWWWWW#WWKKKKWiEj;......................................:i,;....,...............;KKEKWWWWWWWWWGKWWKKDDGGDEGGGDGGGGGDGGGGGGGGGGGGGGGG *
*fjtiiiii;;:. j::::::,,,,,,,;;EEEKWWWWW#KKKKKWWWWWWWWWKKKKKKWKKKKKKKWWWWWWWWWKKKKWtEL;:....................................;;;:...,;j................:KEEWWWWWWWWWDDWWKKDDDDDKDDDDDDDDDDDDDDDGGGGGGGGGGG *
*fjti;;iiii;;,:::::::,,,,,,,,;EEEKWWWWWWWKKKKWWWWWWWWKKKKKKKWKKKKKKKWWWWWWW#W#KKKKWEEii;...................................f;:....,;L...................EEKWWWWWWWWDDWWKKDDDDDKEDDDDDDDDDDDDDDDDDDDDDGGGG *
*fjt,,,;;;;ii;f::::::,,,,,,,;;EEKWWWWWWWKKKKKWWWKWWKKKKKKKKKKKKKKKKKWWWWWWW#W#KKKKWKEij;:...............................:G;,.....,;f....................:tKKWWWWWWWDDWWKKDDDDDKKDDDDDDDDDDDDDDDDDDDDDDDDD *
*jjt. ..:,;;;;,::::,,,,,,,,;;GEEWWWWWWWWKKKKWKKWKKKKKKKKKKKKKKKKKKKKWWWWWWW#W#KKKKWEDi;j;............................,Li;L;;;..,;;f........................KKKKWWWKDDWWKKDDDGDKKGGGGGGGGDGDDDDDDDDDDDDDDD *
*fjt. .:,,,:::::,,,,,,,;;;EEKWWWWWWWKKKKKKWKKKKKKKKKKKKKKKKKKKKKWKKKWKW##W#KKKKWEti;;G;........................tEEEL;;;;;;;;;;L..........................DKKKKKEDDWWKEDGftiLE;;;;itjLGGGGGGDDDDDDDDDDD *
*fjt. .j::::,,,,,,,;;;DEEWWWWWWWWKKKKWKKKKKKKKKKKKKKKKKKKKKKKWKKWWWK##W#KKKKKEii;;;L;...................iDEEEEEEKKi;j;;;;jD.....:......................,KKKKDGGEKKE:::::;E::::::::::,tLGGDDDDDDDDDD *
*fjt. .;:::,,,,,,,;;;;EEKWWWWWWWWKWKKKKKKKKKKKKKKKWKKKKKKKKKKWKKWWWW#WW#KKKKKKii;;;;f;.............:tDEEEEEKKKKKKKKEti;;;L...............................EEKf;:iKKE::::::E::::::::::::::ifDDDDDDDDD *
*fjt: :::,,,,,,,,;;;DEEWWWWWWWWWEKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKWWWW####KKKKKEiii;;;;f,.........iDEEEEKKKKKKKKKKKKKKKf;iG......i..........................fK::::KKE::::::E::::::::::::::::,tGGDDDDD *
*fjt: t:::,,,,,,;;;;iDEKWWWWWWKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKWWWW####WKKKKLiii;;;;;L,....,Li;EDEEEEKKKKKKKKKKKKKKKKiG......;:...........................:i:::KKE:::::,E,::::::::::::::::::iGDDDD *
*jjt. f::,,,,,,,;;;;GEEWWWWKEEKEKKKKKKKKKKKKKKKKWKKKKKKKKKKKWWKWWWWW###WWKKKKiii;;;;;;;G,;L;;iiEEEEEEEKKKKKKKKKKKKKWWKE......;t.........:....................j::KEE:,::,,D,,::::,,,,,,:::::::::tDDD *
*fjt:. ,::,,,,,,,;;;;EEWWKEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKWWKKWWWWW#W#KKKKKKiiiiii;;;;;i;;iiiEEKEEKKWKKKKKKKWKKKKKWWWGi;...;t......,;;;;,....................:,EEE,,,,,,D,,,,,,,,,,,,,,,,::,::::tG *
*fjt:. ,::,,,,,,,;;;;DEKEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWW#W#KKKKKKiiiii;;i;;;;;iiiKKKEKKKKWWKWWWWWWKKKKWWWWW;;;:;L.....;;;;;;;;;....................,KEE,,,,,,E,,,,,,,,,,,,,,,,,,,,,,,,; *
*fjt:. f:,,,,,,,;;;;jEDEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWW#W##KKKKKKiiiiiiii;i;;iiiEKKKKKKKKWKWWWWWWWWKKKWWWWWKi;;i.....,jEEfGi;;;;;...................EED,,,,,,E,,,,,,,,,,,,,,,,,,,,,,,,, *
*fjt:. .f::,,,,,,;;jEEDEEEEEEEEEEKKKKKKKKKKKKKKKWKKKKKKKKKKKKKWWWKWWWWW###KKKKKLiiiiiiiiiiiiiiEEKKKKKKKKWWWWWWWWWWWWKWWWWWWGi;i;,..;jDDDKEGi;;;;;;:................EED,,,,,,D,,,,,,,,,,,,,,,,,,,,,,,,, *
*fjt:. .. ;::,,,,,;;EDDEEEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWKKW#WW####KWKKKiiiiiiiiiiiiijKKKKKKKKKKWWWWWWWWWWWWWWWWWWWWWt;i;;;;i;DDDDDDGi;;;;;;;;:.............EDf;,,,;,G;;;;;;;;;;;;;;;,,,,,,,,,, *
*fjt:......:,,,,,,;LDDDEEEEEEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKKKWWWWKWWWW####KKKKKiiiiiiiiiiijKEKKWKKKKKKKWWWWWWWWWWWWWWWWWWWWWWiLiii;i;DEEEEDDE;i;;;;;;;;;:..........EDi,;;;;;L;;;;;;;;;;;;;;;;;;,,,,,,, *
*fjt:......:,,,,,;EDDDEEKEEEEEEEEEKKKKKKKKKKKKKKKWKKKKKKKKKKKKKKWWWWKKWWW##W#KWKKWEiiiiiijGKKKKKWWKKKKKKKKWWWWWWWWWWWWWWWWWWWWWWKi;iiiiDDEEEEEEDEi;;;;;;;;;;;;;,:.....ED;;;;;;;j;;;;;;;;;;;;;;;;;;;;;;;,, *
*fjt:.....t,,,,,;DDDDEEEKEEEEEEEEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWKKKWWWW##WKWKKWKiiiKKKKKKKKKWWKKKKKKKKWWWWWWWWWWWWWWW#WWWWWWWWWiiiiifLEEEEEEEEDi;i;;;;;;;;;;;;.....DD;;;;;;;i;;;;;;;;;;;;;;;;;;;;;;;;; *
*fjt:.....G,,,,,GDDDEEEEEEEEEEEEKKKKKKKKKKKKKKKKWKKKKKKKKKKKKKKKWWWKKKWWW###WKWKKWKitKKKKKKKKKWKKKKKKKKKKWWWWWWWWWWWWWW###WWWWWWWWEiiiiiiiEEEEEEEEDGiiii;;;;;;;;;.....GD;;;;;;;i;;;;;;;;;;;;;;;;;;;;;;;;; *
*fjt:.....L,,,,;GDDDEEEEEEEEEEKEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKWWWWWDGWWW###KKWWKWKKKKKKKKKKKKKKKKKKKKKKKWWWWWWWWWWWWW####WWWWWWWWWiiiiiiiiEEEEEEEEEEDi;i;;;;;;;;.....Lj;;;;;;i;iiiiii;;;;;;ii;;;;;;;;;;; *
***********************************************************************************************************************************************************************************************************/
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
49,
55
],
[
55,
56
],
[
55,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong a = stdIn.nextInt();\n\t\tlong b = stdIn.nextInt();\n\t\tlong c = stdIn.nextInt();\n\t\tlong d = stdIn.nextInt();\n\t\t\n\t\tSystem.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong a = stdIn.nextInt();\n\t\tlong b = stdIn.nextInt();\n\t\tlong c = stdIn.nextInt();\n\t\tlong d = stdIn.nextInt();\n\t\t\n\t\tSystem.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong a = stdIn.nextInt();\n\t\tlong b = stdIn.nextInt();\n\t\tlong c = stdIn.nextInt();\n\t\tlong d = stdIn.nextInt();\n\t\t\n\t\tSystem.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong a = stdIn.nextInt();\n\t\tlong b = stdIn.nextInt();\n\t\tlong c = stdIn.nextInt();\n\t\tlong d = stdIn.nextInt();\n\t\t\n\t\tSystem.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"long a = stdIn.nextInt();",
"a",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"long b = stdIn.nextInt();",
"b",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"long c = stdIn.nextInt();",
"c",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"long d = stdIn.nextInt();",
"d",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"System.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d)))",
"Math.max",
"Math",
"a * c",
"a",
"c",
"Math.max(a * d, Math.max(b * c, b * d))",
"Math.max",
"Math",
"a * d",
"a",
"d",
"Math.max(b * c, b * d)",
"Math.max",
"Math",
"b * c",
"b",
"c",
"b * d",
"b",
"d",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong a = stdIn.nextInt();\n\t\tlong b = stdIn.nextInt();\n\t\tlong c = stdIn.nextInt();\n\t\tlong d = stdIn.nextInt();\n\t\t\n\t\tSystem.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong a = stdIn.nextInt();\n\t\tlong b = stdIn.nextInt();\n\t\tlong c = stdIn.nextInt();\n\t\tlong d = stdIn.nextInt();\n\t\t\n\t\tSystem.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner stdIn = new Scanner(System.in);
long a = stdIn.nextInt();
long b = stdIn.nextInt();
long c = stdIn.nextInt();
long d = stdIn.nextInt();
System.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
19,
20
],
[
20,
21
],
[
10,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
10,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
10,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
10,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
48,
54
],
[
54,
55
],
[
54,
56
],
[
10,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
10,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
10,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n // Input\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n\n // Solve\n long result = Math.max(a * c, a * d);\n result = Math.max(result, b * c);\n result = Math.max(result, b * d);\n System.out.println(result);\n }\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n // Input\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n\n // Solve\n long result = Math.max(a * c, a * d);\n result = Math.max(result, b * c);\n result = Math.max(result, b * d);\n System.out.println(result);\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n // Input\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n\n // Solve\n long result = Math.max(a * c, a * d);\n result = Math.max(result, b * c);\n result = Math.max(result, b * d);\n System.out.println(result);\n }\n }",
"main",
"{\n try (Scanner sc = new Scanner(System.in)) {\n // Input\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n\n // Solve\n long result = Math.max(a * c, a * d);\n result = Math.max(result, b * c);\n result = Math.max(result, b * d);\n System.out.println(result);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n // Input\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n\n // Solve\n long result = Math.max(a * c, a * d);\n result = Math.max(result, b * c);\n result = Math.max(result, b * d);\n System.out.println(result);\n }",
"{\n // Input\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n\n // Solve\n long result = Math.max(a * c, a * d);\n result = Math.max(result, b * c);\n result = Math.max(result, b * d);\n System.out.println(result);\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"long a = Integer.parseInt(sc.next());",
"a",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"long b = Integer.parseInt(sc.next());",
"b",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"long c = Integer.parseInt(sc.next());",
"c",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"long d = Integer.parseInt(sc.next());",
"d",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"long result = Math.max(a * c, a * d);",
"result",
"Math.max(a * c, a * d)",
"Math.max",
"Math",
"a * c",
"a",
"c",
"a * d",
"a",
"d",
"result = Math.max(result, b * c)",
"result",
"Math.max(result, b * c)",
"Math.max",
"Math",
"result",
"b * c",
"b",
"c",
"result = Math.max(result, b * d)",
"result",
"Math.max(result, b * d)",
"Math.max",
"Math",
"result",
"b * d",
"b",
"d",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n // Input\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n\n // Solve\n long result = Math.max(a * c, a * d);\n result = Math.max(result, b * c);\n result = Math.max(result, b * d);\n System.out.println(result);\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n // Input\n long a = Integer.parseInt(sc.next());\n long b = Integer.parseInt(sc.next());\n long c = Integer.parseInt(sc.next());\n long d = Integer.parseInt(sc.next());\n\n // Solve\n long result = Math.max(a * c, a * d);\n result = Math.max(result, b * c);\n result = Math.max(result, b * d);\n System.out.println(result);\n }\n }\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
// Input
long a = Integer.parseInt(sc.next());
long b = Integer.parseInt(sc.next());
long c = Integer.parseInt(sc.next());
long d = Integer.parseInt(sc.next());
// Solve
long result = Math.max(a * c, a * d);
result = Math.max(result, b * c);
result = Math.max(result, b * d);
System.out.println(result);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
41,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
74,
8
],
[
8,
9
],
[
74,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
12,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
12,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
12,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
12,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
12,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
49,
55
],
[
55,
56
],
[
55,
57
],
[
12,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
12,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
10,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n public static long x,y;\n public static void main(String [] args) {\n\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long maxx = Math.max(a * c, a * d);\n long maxy = Math.max(b * c, b * d);\n long ans = Math.max(maxx, maxy);\n\n System.out.println(ans);\n\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static long x,y;\n public static void main(String [] args) {\n\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long maxx = Math.max(a * c, a * d);\n long maxy = Math.max(b * c, b * d);\n long ans = Math.max(maxx, maxy);\n\n System.out.println(ans);\n\n }\n\n}",
"Main",
"public static long x",
"x",
"y;",
"y",
"public static void main(String [] args) {\n\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long maxx = Math.max(a * c, a * d);\n long maxy = Math.max(b * c, b * d);\n long ans = Math.max(maxx, maxy);\n\n System.out.println(ans);\n\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long maxx = Math.max(a * c, a * d);\n long maxy = Math.max(b * c, b * d);\n long ans = Math.max(maxx, maxy);\n\n System.out.println(ans);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long maxx = Math.max(a * c, a * d);",
"maxx",
"Math.max(a * c, a * d)",
"Math.max",
"Math",
"a * c",
"a",
"c",
"a * d",
"a",
"d",
"long maxy = Math.max(b * c, b * d);",
"maxy",
"Math.max(b * c, b * d)",
"Math.max",
"Math",
"b * c",
"b",
"c",
"b * d",
"b",
"d",
"long ans = Math.max(maxx, maxy);",
"ans",
"Math.max(maxx, maxy)",
"Math.max",
"Math",
"maxx",
"maxy",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String [] args",
"args",
"public class Main {\n\n public static long x,y;\n public static void main(String [] args) {\n\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long maxx = Math.max(a * c, a * d);\n long maxy = Math.max(b * c, b * d);\n long ans = Math.max(maxx, maxy);\n\n System.out.println(ans);\n\n }\n\n}",
"public class Main {\n\n public static long x,y;\n public static void main(String [] args) {\n\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long maxx = Math.max(a * c, a * d);\n long maxy = Math.max(b * c, b * d);\n long ans = Math.max(maxx, maxy);\n\n System.out.println(ans);\n\n }\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static long x,y;
public static void main(String [] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextInt();
long b = sc.nextInt();
long c = sc.nextInt();
long d = sc.nextInt();
long maxx = Math.max(a * c, a * d);
long maxy = Math.max(b * c, b * d);
long ans = Math.max(maxx, maxy);
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
20,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
110,
11
],
[
110,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
16,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
16,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
16,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
16,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
16,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
16,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
16,
64
],
[
64,
65
],
[
64,
66
],
[
16,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
16,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
76,
78
],
[
16,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
82,
84
],
[
16,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
88,
90
],
[
16,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
16,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
12,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
]
| [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport 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\tlong a = scan.nextLong();\n\t\t\tlong A = Math.abs(a);\n\t\t\tlong b = scan.nextLong();\n\t\t\tlong B = Math.abs(b);\n\t\t\tlong c = scan.nextLong();\n\t\t\tlong C = Math.abs(c);\n\t\t\tlong d = scan.nextLong();\n\t\t\tlong D = Math.abs(d);\n\n\n\n\t\t\tArrayList<Long>are =new ArrayList<Long>();\n\n\t\t\tare.add(a*c);\n\t\t\tare.add(a*d);\n\t\t\tare.add(b*c);\n\t\t\tare.add(b*d);\n\n\n\n\t\t\tCollections.sort(are, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(are.get(0));\n\n\n\n\t\t\t/*\n\n\t\t\tif(0<=a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);\n\t\t\t\t\treturn;\n\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}\n\n\n\n\n\t\t\t}\n\n\t\t\tif(0>a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*c, b*d));return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\n\t\t\t}\n\n\n\t\t\tif (0>a&&b>0){\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t*/\n\n\n\n\n\t\t}\n\n\n\t}\n\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\n\n\t\t\tlong a = scan.nextLong();\n\t\t\tlong A = Math.abs(a);\n\t\t\tlong b = scan.nextLong();\n\t\t\tlong B = Math.abs(b);\n\t\t\tlong c = scan.nextLong();\n\t\t\tlong C = Math.abs(c);\n\t\t\tlong d = scan.nextLong();\n\t\t\tlong D = Math.abs(d);\n\n\n\n\t\t\tArrayList<Long>are =new ArrayList<Long>();\n\n\t\t\tare.add(a*c);\n\t\t\tare.add(a*d);\n\t\t\tare.add(b*c);\n\t\t\tare.add(b*d);\n\n\n\n\t\t\tCollections.sort(are, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(are.get(0));\n\n\n\n\t\t\t/*\n\n\t\t\tif(0<=a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);\n\t\t\t\t\treturn;\n\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}\n\n\n\n\n\t\t\t}\n\n\t\t\tif(0>a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*c, b*d));return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\n\t\t\t}\n\n\n\t\t\tif (0>a&&b>0){\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t*/\n\n\n\n\n\t\t}\n\n\n\t}\n\n\n}",
"Main",
"public static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\n\n\t\t\tlong a = scan.nextLong();\n\t\t\tlong A = Math.abs(a);\n\t\t\tlong b = scan.nextLong();\n\t\t\tlong B = Math.abs(b);\n\t\t\tlong c = scan.nextLong();\n\t\t\tlong C = Math.abs(c);\n\t\t\tlong d = scan.nextLong();\n\t\t\tlong D = Math.abs(d);\n\n\n\n\t\t\tArrayList<Long>are =new ArrayList<Long>();\n\n\t\t\tare.add(a*c);\n\t\t\tare.add(a*d);\n\t\t\tare.add(b*c);\n\t\t\tare.add(b*d);\n\n\n\n\t\t\tCollections.sort(are, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(are.get(0));\n\n\n\n\t\t\t/*\n\n\t\t\tif(0<=a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);\n\t\t\t\t\treturn;\n\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}\n\n\n\n\n\t\t\t}\n\n\t\t\tif(0>a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*c, b*d));return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\n\t\t\t}\n\n\n\t\t\tif (0>a&&b>0){\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t*/\n\n\n\n\n\t\t}\n\n\n\t}",
"main",
"{\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\n\n\t\t\tlong a = scan.nextLong();\n\t\t\tlong A = Math.abs(a);\n\t\t\tlong b = scan.nextLong();\n\t\t\tlong B = Math.abs(b);\n\t\t\tlong c = scan.nextLong();\n\t\t\tlong C = Math.abs(c);\n\t\t\tlong d = scan.nextLong();\n\t\t\tlong D = Math.abs(d);\n\n\n\n\t\t\tArrayList<Long>are =new ArrayList<Long>();\n\n\t\t\tare.add(a*c);\n\t\t\tare.add(a*d);\n\t\t\tare.add(b*c);\n\t\t\tare.add(b*d);\n\n\n\n\t\t\tCollections.sort(are, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(are.get(0));\n\n\n\n\t\t\t/*\n\n\t\t\tif(0<=a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);\n\t\t\t\t\treturn;\n\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}\n\n\n\n\n\t\t\t}\n\n\t\t\tif(0>a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*c, b*d));return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\n\t\t\t}\n\n\n\t\t\tif (0>a&&b>0){\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t*/\n\n\n\n\n\t\t}\n\n\n\t}",
"try(Scanner scan = new Scanner(System.in)){\n\n\n\t\t\tlong a = scan.nextLong();\n\t\t\tlong A = Math.abs(a);\n\t\t\tlong b = scan.nextLong();\n\t\t\tlong B = Math.abs(b);\n\t\t\tlong c = scan.nextLong();\n\t\t\tlong C = Math.abs(c);\n\t\t\tlong d = scan.nextLong();\n\t\t\tlong D = Math.abs(d);\n\n\n\n\t\t\tArrayList<Long>are =new ArrayList<Long>();\n\n\t\t\tare.add(a*c);\n\t\t\tare.add(a*d);\n\t\t\tare.add(b*c);\n\t\t\tare.add(b*d);\n\n\n\n\t\t\tCollections.sort(are, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(are.get(0));\n\n\n\n\t\t\t/*\n\n\t\t\tif(0<=a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);\n\t\t\t\t\treturn;\n\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}\n\n\n\n\n\t\t\t}\n\n\t\t\tif(0>a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*c, b*d));return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\n\t\t\t}\n\n\n\t\t\tif (0>a&&b>0){\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t*/\n\n\n\n\n\t\t}",
"{\n\n\n\t\t\tlong a = scan.nextLong();\n\t\t\tlong A = Math.abs(a);\n\t\t\tlong b = scan.nextLong();\n\t\t\tlong B = Math.abs(b);\n\t\t\tlong c = scan.nextLong();\n\t\t\tlong C = Math.abs(c);\n\t\t\tlong d = scan.nextLong();\n\t\t\tlong D = Math.abs(d);\n\n\n\n\t\t\tArrayList<Long>are =new ArrayList<Long>();\n\n\t\t\tare.add(a*c);\n\t\t\tare.add(a*d);\n\t\t\tare.add(b*c);\n\t\t\tare.add(b*d);\n\n\n\n\t\t\tCollections.sort(are, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(are.get(0));\n\n\n\n\t\t\t/*\n\n\t\t\tif(0<=a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);\n\t\t\t\t\treturn;\n\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}\n\n\n\n\n\t\t\t}\n\n\t\t\tif(0>a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*c, b*d));return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\n\t\t\t}\n\n\n\t\t\tif (0>a&&b>0){\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t*/\n\n\n\n\n\t\t}",
"Scanner scan = new Scanner(System.in)",
"Scanner scan = new Scanner(System.in)",
"new Scanner(System.in)",
"long a = scan.nextLong();",
"a",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long A = Math.abs(a);",
"A",
"Math.abs(a)",
"Math.abs",
"Math",
"a",
"long b = scan.nextLong();",
"b",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long B = Math.abs(b);",
"B",
"Math.abs(b)",
"Math.abs",
"Math",
"b",
"long c = scan.nextLong();",
"c",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long C = Math.abs(c);",
"C",
"Math.abs(c)",
"Math.abs",
"Math",
"c",
"long d = scan.nextLong();",
"d",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long D = Math.abs(d);",
"D",
"Math.abs(d)",
"Math.abs",
"Math",
"d",
"ArrayList<Long>are =new ArrayList<Long>();",
"are",
"new ArrayList<Long>()",
"are.add(a*c)",
"are.add",
"are",
"a*c",
"a",
"c",
"are.add(a*d)",
"are.add",
"are",
"a*d",
"a",
"d",
"are.add(b*c)",
"are.add",
"are",
"b*c",
"b",
"c",
"are.add(b*d)",
"are.add",
"are",
"b*d",
"b",
"d",
"Collections.sort(are, Collections.reverseOrder())",
"Collections.sort",
"Collections",
"are",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"System.out.println(are.get(0))",
"System.out.println",
"System.out",
"System",
"System.out",
"are.get(0)",
"are.get",
"are",
"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\tlong a = scan.nextLong();\n\t\t\tlong A = Math.abs(a);\n\t\t\tlong b = scan.nextLong();\n\t\t\tlong B = Math.abs(b);\n\t\t\tlong c = scan.nextLong();\n\t\t\tlong C = Math.abs(c);\n\t\t\tlong d = scan.nextLong();\n\t\t\tlong D = Math.abs(d);\n\n\n\n\t\t\tArrayList<Long>are =new ArrayList<Long>();\n\n\t\t\tare.add(a*c);\n\t\t\tare.add(a*d);\n\t\t\tare.add(b*c);\n\t\t\tare.add(b*d);\n\n\n\n\t\t\tCollections.sort(are, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(are.get(0));\n\n\n\n\t\t\t/*\n\n\t\t\tif(0<=a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);\n\t\t\t\t\treturn;\n\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}\n\n\n\n\n\t\t\t}\n\n\t\t\tif(0>a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*c, b*d));return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\n\t\t\t}\n\n\n\t\t\tif (0>a&&b>0){\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t*/\n\n\n\n\n\t\t}\n\n\n\t}\n\n\n}",
"public class Main {\n\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\n\n\t\t\tlong a = scan.nextLong();\n\t\t\tlong A = Math.abs(a);\n\t\t\tlong b = scan.nextLong();\n\t\t\tlong B = Math.abs(b);\n\t\t\tlong c = scan.nextLong();\n\t\t\tlong C = Math.abs(c);\n\t\t\tlong d = scan.nextLong();\n\t\t\tlong D = Math.abs(d);\n\n\n\n\t\t\tArrayList<Long>are =new ArrayList<Long>();\n\n\t\t\tare.add(a*c);\n\t\t\tare.add(a*d);\n\t\t\tare.add(b*c);\n\t\t\tare.add(b*d);\n\n\n\n\t\t\tCollections.sort(are, Collections.reverseOrder());\n\n\t\t\tSystem.out.println(are.get(0));\n\n\n\n\t\t\t/*\n\n\t\t\tif(0<=a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);\n\t\t\t\t\treturn;\n\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}\n\n\n\n\n\t\t\t}\n\n\t\t\tif(0>a&&0<=b) {\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(b*d);return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*c, b*d));return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\n\t\t\t}\n\n\n\t\t\tif (0>a&&b>0){\n\t\t\t\tif(c>=0&&d>=0) {\n\t\t\t\t\tSystem.out.println(Math.max(a*d, b*c));return;\n\t\t\t\t}else if(c<0&&d>=0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}else if(c<0&&d<0) {\n\t\t\t\t\tSystem.out.println(a*c);return;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t*/\n\n\n\n\n\t\t}\n\n\n\t}\n\n\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[]args) {
try(Scanner scan = new Scanner(System.in)){
long a = scan.nextLong();
long A = Math.abs(a);
long b = scan.nextLong();
long B = Math.abs(b);
long c = scan.nextLong();
long C = Math.abs(c);
long d = scan.nextLong();
long D = Math.abs(d);
ArrayList<Long>are =new ArrayList<Long>();
are.add(a*c);
are.add(a*d);
are.add(b*c);
are.add(b*d);
Collections.sort(are, Collections.reverseOrder());
System.out.println(are.get(0));
/*
if(0<=a&&0<=b) {
if(c>=0&&d>=0) {
System.out.println(b*d);
return;
}else if(c<0&&d>=0) {
System.out.println(b*d);return;
}else if(c<0&&d<0) {
System.out.println(Math.max(a*d, b*c));return;
}
}
if(0>a&&0<=b) {
if(c>=0&&d>=0) {
System.out.println(b*d);return;
}else if(c<0&&d>=0) {
System.out.println(Math.max(a*c, b*d));return;
}else if(c<0&&d<0) {
System.out.println(a*c);return;
}
}
if (0>a&&b>0){
if(c>=0&&d>=0) {
System.out.println(Math.max(a*d, b*c));return;
}else if(c<0&&d>=0) {
System.out.println(a*c);return;
}else if(c<0&&d<0) {
System.out.println(a*c);return;
}
}
*/
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
2,
13,
13,
41,
13,
17,
0,
13,
2,
13,
13,
41,
13,
17,
0,
13,
2,
13,
13,
41,
13,
17,
0,
13,
2,
13,
13,
41,
13,
39,
13,
13,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
109,
5
],
[
109,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
8,
56
],
[
56,
57
],
[
56,
58
],
[
8,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
8,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
66,
69
],
[
66,
70
],
[
8,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
76,
86
],
[
86,
87
],
[
87,
88
],
[
76,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
93,
97
],
[
97,
98
],
[
97,
99
],
[
8,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
6,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\n\t\t//(a,c)\n\t\tlong ac = 0;\n\t\tac = a * c;\n\n\t\t//(b,d)\n\t\tlong bd = 0;\n\t\tbd = b * d;\n\n\t\t//(a,d)\n\t\tlong ad = 0;\n\t\tad = a * d;\n\n\t\t//(b,c)\n\t\tlong bc = 0;\n\t\tbc = b * c;\n\n\t\tlong values[] = {ac,bd,ad,bc};\n\t\tlong max = values[0];\n\n\t\tfor(int i = 0; i < values.length; i++) {\n\t\t\tmax = Math.max(max, values[i]);\n\t\t}\n\n\n\t\tSystem.out.println(max);\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\n\t\t//(a,c)\n\t\tlong ac = 0;\n\t\tac = a * c;\n\n\t\t//(b,d)\n\t\tlong bd = 0;\n\t\tbd = b * d;\n\n\t\t//(a,d)\n\t\tlong ad = 0;\n\t\tad = a * d;\n\n\t\t//(b,c)\n\t\tlong bc = 0;\n\t\tbc = b * c;\n\n\t\tlong values[] = {ac,bd,ad,bc};\n\t\tlong max = values[0];\n\n\t\tfor(int i = 0; i < values.length; i++) {\n\t\t\tmax = Math.max(max, values[i]);\n\t\t}\n\n\n\t\tSystem.out.println(max);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\n\t\t//(a,c)\n\t\tlong ac = 0;\n\t\tac = a * c;\n\n\t\t//(b,d)\n\t\tlong bd = 0;\n\t\tbd = b * d;\n\n\t\t//(a,d)\n\t\tlong ad = 0;\n\t\tad = a * d;\n\n\t\t//(b,c)\n\t\tlong bc = 0;\n\t\tbc = b * c;\n\n\t\tlong values[] = {ac,bd,ad,bc};\n\t\tlong max = values[0];\n\n\t\tfor(int i = 0; i < values.length; i++) {\n\t\t\tmax = Math.max(max, values[i]);\n\t\t}\n\n\n\t\tSystem.out.println(max);\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\n\t\t//(a,c)\n\t\tlong ac = 0;\n\t\tac = a * c;\n\n\t\t//(b,d)\n\t\tlong bd = 0;\n\t\tbd = b * d;\n\n\t\t//(a,d)\n\t\tlong ad = 0;\n\t\tad = a * d;\n\n\t\t//(b,c)\n\t\tlong bc = 0;\n\t\tbc = b * c;\n\n\t\tlong values[] = {ac,bd,ad,bc};\n\t\tlong max = values[0];\n\n\t\tfor(int i = 0; i < values.length; i++) {\n\t\t\tmax = Math.max(max, values[i]);\n\t\t}\n\n\n\t\tSystem.out.println(max);\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long a = scan.nextLong();",
"a",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long b = scan.nextLong();",
"b",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long c = scan.nextLong();",
"c",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long d = scan.nextLong();",
"d",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long ac = 0;",
"ac",
"0",
"ac = a * c",
"ac",
"a * c",
"a",
"c",
"long bd = 0;",
"bd",
"0",
"bd = b * d",
"bd",
"b * d",
"b",
"d",
"long ad = 0;",
"ad",
"0",
"ad = a * d",
"ad",
"a * d",
"a",
"d",
"long bc = 0;",
"bc",
"0",
"bc = b * c",
"bc",
"b * c",
"b",
"c",
"long values[] = {ac,bd,ad,bc};",
"values",
"{ac,bd,ad,bc}",
"ac",
"bd",
"ad",
"bc",
"long max = values[0];",
"max",
"values[0]",
"values",
"0",
"for(int i = 0; i < values.length; i++) {\n\t\t\tmax = Math.max(max, values[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < values.length",
"i",
"values.length",
"values",
"values.length",
"i++",
"i++",
"i",
"{\n\t\t\tmax = Math.max(max, values[i]);\n\t\t}",
"{\n\t\t\tmax = Math.max(max, values[i]);\n\t\t}",
"max = Math.max(max, values[i])",
"max",
"Math.max(max, values[i])",
"Math.max",
"Math",
"max",
"values[i]",
"values",
"i",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\n\t\t//(a,c)\n\t\tlong ac = 0;\n\t\tac = a * c;\n\n\t\t//(b,d)\n\t\tlong bd = 0;\n\t\tbd = b * d;\n\n\t\t//(a,d)\n\t\tlong ad = 0;\n\t\tad = a * d;\n\n\t\t//(b,c)\n\t\tlong bc = 0;\n\t\tbc = b * c;\n\n\t\tlong values[] = {ac,bd,ad,bc};\n\t\tlong max = values[0];\n\n\t\tfor(int i = 0; i < values.length; i++) {\n\t\t\tmax = Math.max(max, values[i]);\n\t\t}\n\n\n\t\tSystem.out.println(max);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\n\t\t//(a,c)\n\t\tlong ac = 0;\n\t\tac = a * c;\n\n\t\t//(b,d)\n\t\tlong bd = 0;\n\t\tbd = b * d;\n\n\t\t//(a,d)\n\t\tlong ad = 0;\n\t\tad = a * d;\n\n\t\t//(b,c)\n\t\tlong bc = 0;\n\t\tbc = b * c;\n\n\t\tlong values[] = {ac,bd,ad,bc};\n\t\tlong max = values[0];\n\n\t\tfor(int i = 0; i < values.length; i++) {\n\t\t\tmax = Math.max(max, values[i]);\n\t\t}\n\n\n\t\tSystem.out.println(max);\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
long a = scan.nextLong();
long b = scan.nextLong();
long c = scan.nextLong();
long d = scan.nextLong();
//(a,c)
long ac = 0;
ac = a * c;
//(b,d)
long bd = 0;
bd = b * d;
//(a,d)
long ad = 0;
ad = a * d;
//(b,c)
long bc = 0;
bc = b * c;
long values[] = {ac,bd,ad,bc};
long max = values[0];
for(int i = 0; i < values.length; i++) {
max = Math.max(max, values[i]);
}
System.out.println(max);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
4,
18,
4,
18,
13,
13,
13,
13,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
88,
14
],
[
88,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
17,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
17,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
17,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
17,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
17,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
67,
71
],
[
67,
72
],
[
67,
73
],
[
63,
74
],
[
74,
75
],
[
75,
76
],
[
17,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
15,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
]
| [
"import java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.Optional;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\n\t\tlong ac = (long)a*c;\n\t\tlong ad = (long)a*d;\n\t\tlong bc = (long)b*c;\n\t\tlong bd = (long)b*d;\n\n\t\tOptional<Long> max = Arrays.asList(ac,ad,bc,bd).stream().max(Comparator.naturalOrder());\n\n\t\tSystem.out.println(max.get());\n\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.Optional;",
"Optional",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\n\t\tlong ac = (long)a*c;\n\t\tlong ad = (long)a*d;\n\t\tlong bc = (long)b*c;\n\t\tlong bd = (long)b*d;\n\n\t\tOptional<Long> max = Arrays.asList(ac,ad,bc,bd).stream().max(Comparator.naturalOrder());\n\n\t\tSystem.out.println(max.get());\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\n\t\tlong ac = (long)a*c;\n\t\tlong ad = (long)a*d;\n\t\tlong bc = (long)b*c;\n\t\tlong bd = (long)b*d;\n\n\t\tOptional<Long> max = Arrays.asList(ac,ad,bc,bd).stream().max(Comparator.naturalOrder());\n\n\t\tSystem.out.println(max.get());\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\n\t\tlong ac = (long)a*c;\n\t\tlong ad = (long)a*d;\n\t\tlong bc = (long)b*c;\n\t\tlong bd = (long)b*d;\n\n\t\tOptional<Long> max = Arrays.asList(ac,ad,bc,bd).stream().max(Comparator.naturalOrder());\n\n\t\tSystem.out.println(max.get());\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long ac = (long)a*c;",
"ac",
"(long)a*c",
"(long)a",
"c",
"long ad = (long)a*d;",
"ad",
"(long)a*d",
"(long)a",
"d",
"long bc = (long)b*c;",
"bc",
"(long)b*c",
"(long)b",
"c",
"long bd = (long)b*d;",
"bd",
"(long)b*d",
"(long)b",
"d",
"Optional<Long> max = Arrays.asList(ac,ad,bc,bd).stream().max(Comparator.naturalOrder());",
"max",
"Arrays.asList(ac,ad,bc,bd).stream().max(Comparator.naturalOrder())",
"Arrays.asList(ac,ad,bc,bd).stream().max",
"Arrays.asList(ac,ad,bc,bd).stream()",
"Arrays.asList(ac,ad,bc,bd).stream",
"Arrays.asList(ac,ad,bc,bd)",
"Arrays.asList",
"Arrays",
"ac",
"ad",
"bc",
"bd",
"Comparator.naturalOrder()",
"Comparator.naturalOrder",
"Comparator",
"System.out.println(max.get())",
"System.out.println",
"System.out",
"System",
"System.out",
"max.get()",
"max.get",
"max",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\n\t\tlong ac = (long)a*c;\n\t\tlong ad = (long)a*d;\n\t\tlong bc = (long)b*c;\n\t\tlong bd = (long)b*d;\n\n\t\tOptional<Long> max = Arrays.asList(ac,ad,bc,bd).stream().max(Comparator.naturalOrder());\n\n\t\tSystem.out.println(max.get());\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 = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\n\t\tlong ac = (long)a*c;\n\t\tlong ad = (long)a*d;\n\t\tlong bc = (long)b*c;\n\t\tlong bd = (long)b*d;\n\n\t\tOptional<Long> max = Arrays.asList(ac,ad,bc,bd).stream().max(Comparator.naturalOrder());\n\n\t\tSystem.out.println(max.get());\n\n\t}\n}",
"Main"
]
| import java.util.Arrays;
import java.util.Comparator;
import java.util.Optional;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int d = sc.nextInt();
long ac = (long)a*c;
long ad = (long)a*d;
long bc = (long)b*c;
long bd = (long)b*d;
Optional<Long> max = Arrays.asList(ac,ad,bc,bd).stream().max(Comparator.naturalOrder());
System.out.println(max.get());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
4,
18,
13,
13,
4,
18,
13,
13,
0,
18,
13,
17,
4,
18,
4,
18,
13,
13,
4,
18,
13,
13,
0,
18,
13,
17,
4,
18,
4,
18,
13,
13,
4,
18,
13,
13,
0,
18,
13,
17,
4,
18,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
116,
14
],
[
116,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
17,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
17,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
17,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
77,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
17,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
91,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
17,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
17,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
15,
113
],
[
113,
114
],
[
0,
115
],
[
115,
116
],
[
115,
117
]
]
| [
"import java.io.FileNotFoundException;\nimport java.math.BigInteger;\nimport java.util.Arrays;\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 a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\n\n\t\tBigInteger[] ans = new BigInteger[4];\n\t\tans[0] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(c));\n\t\tans[1] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(d));\n\t\tans[2] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(c));\n\t\tans[3] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(d));\n\t\tArrays.sort(ans);\n\t\tSystem.out.println(ans[3]);\n\n\t}\n}",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"java.io",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Arrays;",
"Arrays",
"java.util",
"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 a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\n\n\t\tBigInteger[] ans = new BigInteger[4];\n\t\tans[0] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(c));\n\t\tans[1] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(d));\n\t\tans[2] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(c));\n\t\tans[3] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(d));\n\t\tArrays.sort(ans);\n\t\tSystem.out.println(ans[3]);\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 a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\n\n\t\tBigInteger[] ans = new BigInteger[4];\n\t\tans[0] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(c));\n\t\tans[1] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(d));\n\t\tans[2] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(c));\n\t\tans[3] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(d));\n\t\tArrays.sort(ans);\n\t\tSystem.out.println(ans[3]);\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 a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\n\n\t\tBigInteger[] ans = new BigInteger[4];\n\t\tans[0] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(c));\n\t\tans[1] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(d));\n\t\tans[2] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(c));\n\t\tans[3] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(d));\n\t\tArrays.sort(ans);\n\t\tSystem.out.println(ans[3]);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"BigInteger[] ans = new BigInteger[4];",
"ans",
"new BigInteger[4]",
"4",
"ans[0] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(c))",
"ans[0]",
"ans",
"0",
"BigInteger.valueOf(a).multiply(BigInteger.valueOf(c))",
"BigInteger.valueOf(a).multiply",
"BigInteger.valueOf(a)",
"BigInteger.valueOf",
"BigInteger",
"a",
"BigInteger.valueOf(c)",
"BigInteger.valueOf",
"BigInteger",
"c",
"ans[1] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(d))",
"ans[1]",
"ans",
"1",
"BigInteger.valueOf(a).multiply(BigInteger.valueOf(d))",
"BigInteger.valueOf(a).multiply",
"BigInteger.valueOf(a)",
"BigInteger.valueOf",
"BigInteger",
"a",
"BigInteger.valueOf(d)",
"BigInteger.valueOf",
"BigInteger",
"d",
"ans[2] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(c))",
"ans[2]",
"ans",
"2",
"BigInteger.valueOf(b).multiply(BigInteger.valueOf(c))",
"BigInteger.valueOf(b).multiply",
"BigInteger.valueOf(b)",
"BigInteger.valueOf",
"BigInteger",
"b",
"BigInteger.valueOf(c)",
"BigInteger.valueOf",
"BigInteger",
"c",
"ans[3] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(d))",
"ans[3]",
"ans",
"3",
"BigInteger.valueOf(b).multiply(BigInteger.valueOf(d))",
"BigInteger.valueOf(b).multiply",
"BigInteger.valueOf(b)",
"BigInteger.valueOf",
"BigInteger",
"b",
"BigInteger.valueOf(d)",
"BigInteger.valueOf",
"BigInteger",
"d",
"Arrays.sort(ans)",
"Arrays.sort",
"Arrays",
"ans",
"System.out.println(ans[3])",
"System.out.println",
"System.out",
"System",
"System.out",
"ans[3]",
"ans",
"3",
"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 a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\n\n\t\tBigInteger[] ans = new BigInteger[4];\n\t\tans[0] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(c));\n\t\tans[1] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(d));\n\t\tans[2] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(c));\n\t\tans[3] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(d));\n\t\tArrays.sort(ans);\n\t\tSystem.out.println(ans[3]);\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 a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\n\n\t\tBigInteger[] ans = new BigInteger[4];\n\t\tans[0] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(c));\n\t\tans[1] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(d));\n\t\tans[2] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(c));\n\t\tans[3] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(d));\n\t\tArrays.sort(ans);\n\t\tSystem.out.println(ans[3]);\n\n\t}\n}",
"Main"
]
| import java.io.FileNotFoundException;
import java.math.BigInteger;
import java.util.Arrays;
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 a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int d = sc.nextInt();
BigInteger[] ans = new BigInteger[4];
ans[0] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(c));
ans[1] = BigInteger.valueOf(a).multiply(BigInteger.valueOf(d));
ans[2] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(c));
ans[3] = BigInteger.valueOf(b).multiply(BigInteger.valueOf(d));
Arrays.sort(ans);
System.out.println(ans[3]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
41,
13,
18,
13,
13,
28,
13,
13,
30,
30,
28,
13,
13,
30,
30,
14,
2,
13,
2,
13,
13,
30,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"import java.util.Scanner;\n//atcoderはScannerクラスのsc.next()で行ける\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long[] ab = new long[]{a,b};\n long[] cd = new long[]{c,d};\n long ans = Long.MIN_VALUE;\n for (long i : ab){\n for (long j : cd){\n if (ans<i*j){\n ans=i*j;\n }\n }\n }\n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long[] ab = new long[]{a,b};\n long[] cd = new long[]{c,d};\n long ans = Long.MIN_VALUE;\n for (long i : ab){\n for (long j : cd){\n if (ans<i*j){\n ans=i*j;\n }\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long[] ab = new long[]{a,b};\n long[] cd = new long[]{c,d};\n long ans = Long.MIN_VALUE;\n for (long i : ab){\n for (long j : cd){\n if (ans<i*j){\n ans=i*j;\n }\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long[] ab = new long[]{a,b};\n long[] cd = new long[]{c,d};\n long ans = Long.MIN_VALUE;\n for (long i : ab){\n for (long j : cd){\n if (ans<i*j){\n ans=i*j;\n }\n }\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long[] ab = new long[]{a,b};",
"ab",
"new long[]{a,b}",
"long[] cd = new long[]{c,d};",
"cd",
"new long[]{c,d}",
"long ans = Long.MIN_VALUE;",
"ans",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"for (long i : ab){\n for (long j : cd){\n if (ans<i*j){\n ans=i*j;\n }\n }\n }",
"long i",
"ab",
"{\n for (long j : cd){\n if (ans<i*j){\n ans=i*j;\n }\n }\n }",
"{\n for (long j : cd){\n if (ans<i*j){\n ans=i*j;\n }\n }\n }",
"for (long j : cd){\n if (ans<i*j){\n ans=i*j;\n }\n }",
"long j",
"cd",
"{\n if (ans<i*j){\n ans=i*j;\n }\n }",
"{\n if (ans<i*j){\n ans=i*j;\n }\n }",
"if (ans<i*j){\n ans=i*j;\n }",
"ans<i*j",
"ans",
"i*j",
"i",
"j",
"{\n ans=i*j;\n }",
"ans=i*j",
"ans",
"i*j",
"i",
"j",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long[] ab = new long[]{a,b};\n long[] cd = new long[]{c,d};\n long ans = Long.MIN_VALUE;\n for (long i : ab){\n for (long j : cd){\n if (ans<i*j){\n ans=i*j;\n }\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long[] ab = new long[]{a,b};\n long[] cd = new long[]{c,d};\n long ans = Long.MIN_VALUE;\n for (long i : ab){\n for (long j : cd){\n if (ans<i*j){\n ans=i*j;\n }\n }\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.Scanner;
//atcoderはScannerクラスのsc.next()で行ける
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextInt();
long b = sc.nextInt();
long c = sc.nextInt();
long d = sc.nextInt();
long[] ab = new long[]{a,b};
long[] cd = new long[]{c,d};
long ans = Long.MIN_VALUE;
for (long i : ab){
for (long j : cd){
if (ans<i*j){
ans=i*j;
}
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
13,
14,
2,
13,
17,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
13,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
13,
30,
14,
2,
2,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
143,
5
],
[
143,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
37,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
32,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
64,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
59,
86
],
[
86,
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
],
[
87,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
100,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
119,
121
],
[
114,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
128,
129
],
[
128,
130
],
[
114,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
137,
138
],
[
137,
139
],
[
6,
140
],
[
140,
141
],
[
0,
142
],
[
142,
143
],
[
142,
144
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n if(a>=0){\n if(d>=0){\n System.out.println(b*d);\n }else{\n System.out.println(d*a);\n }\n }else if(b<0){\n if(c>=0){\n System.out.println(b*c);\n }else{\n System.out.println(c*a);\n }\n }else{\n if(d<0){\n System.out.println(c*a);\n }else if(c>=0){\n System.out.println(b*d);\n }else{\n if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }\n }\n }\n}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n if(a>=0){\n if(d>=0){\n System.out.println(b*d);\n }else{\n System.out.println(d*a);\n }\n }else if(b<0){\n if(c>=0){\n System.out.println(b*c);\n }else{\n System.out.println(c*a);\n }\n }else{\n if(d<0){\n System.out.println(c*a);\n }else if(c>=0){\n System.out.println(b*d);\n }else{\n if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }\n }\n }\n}\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n if(a>=0){\n if(d>=0){\n System.out.println(b*d);\n }else{\n System.out.println(d*a);\n }\n }else if(b<0){\n if(c>=0){\n System.out.println(b*c);\n }else{\n System.out.println(c*a);\n }\n }else{\n if(d<0){\n System.out.println(c*a);\n }else if(c>=0){\n System.out.println(b*d);\n }else{\n if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }\n }\n }\n}",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n if(a>=0){\n if(d>=0){\n System.out.println(b*d);\n }else{\n System.out.println(d*a);\n }\n }else if(b<0){\n if(c>=0){\n System.out.println(b*c);\n }else{\n System.out.println(c*a);\n }\n }else{\n if(d<0){\n System.out.println(c*a);\n }else if(c>=0){\n System.out.println(b*d);\n }else{\n if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }\n }\n }\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if(a>=0){\n if(d>=0){\n System.out.println(b*d);\n }else{\n System.out.println(d*a);\n }\n }else if(b<0){\n if(c>=0){\n System.out.println(b*c);\n }else{\n System.out.println(c*a);\n }\n }else{\n if(d<0){\n System.out.println(c*a);\n }else if(c>=0){\n System.out.println(b*d);\n }else{\n if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }\n }\n }",
"a>=0",
"a",
"0",
"{\n if(d>=0){\n System.out.println(b*d);\n }else{\n System.out.println(d*a);\n }\n }",
"if(d>=0){\n System.out.println(b*d);\n }else{\n System.out.println(d*a);\n }",
"d>=0",
"d",
"0",
"{\n System.out.println(b*d);\n }",
"System.out.println(b*d)",
"System.out.println",
"System.out",
"System",
"System.out",
"b*d",
"b",
"d",
"{\n System.out.println(d*a);\n }",
"System.out.println(d*a)",
"System.out.println",
"System.out",
"System",
"System.out",
"d*a",
"d",
"a",
"if(b<0){\n if(c>=0){\n System.out.println(b*c);\n }else{\n System.out.println(c*a);\n }\n }else{\n if(d<0){\n System.out.println(c*a);\n }else if(c>=0){\n System.out.println(b*d);\n }else{\n if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }\n }\n }",
"b<0",
"b",
"0",
"{\n if(c>=0){\n System.out.println(b*c);\n }else{\n System.out.println(c*a);\n }\n }",
"if(c>=0){\n System.out.println(b*c);\n }else{\n System.out.println(c*a);\n }",
"c>=0",
"c",
"0",
"{\n System.out.println(b*c);\n }",
"System.out.println(b*c)",
"System.out.println",
"System.out",
"System",
"System.out",
"b*c",
"b",
"c",
"{\n System.out.println(c*a);\n }",
"System.out.println(c*a)",
"System.out.println",
"System.out",
"System",
"System.out",
"c*a",
"c",
"a",
"{\n if(d<0){\n System.out.println(c*a);\n }else if(c>=0){\n System.out.println(b*d);\n }else{\n if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }\n }\n }",
"if(d<0){\n System.out.println(c*a);\n }else if(c>=0){\n System.out.println(b*d);\n }else{\n if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }\n }",
"d<0",
"d",
"0",
"{\n System.out.println(c*a);\n }",
"System.out.println(c*a)",
"System.out.println",
"System.out",
"System",
"System.out",
"c*a",
"c",
"a",
"if(c>=0){\n System.out.println(b*d);\n }else{\n if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }\n }",
"c>=0",
"c",
"0",
"{\n System.out.println(b*d);\n }",
"System.out.println(b*d)",
"System.out.println",
"System.out",
"System",
"System.out",
"b*d",
"b",
"d",
"{\n if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }\n }",
"if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }",
"a*c>b*d",
"a*c",
"a",
"c",
"b*d",
"b",
"d",
"{\n System.out.println(a*c);\n }",
"System.out.println(a*c)",
"System.out.println",
"System.out",
"System",
"System.out",
"a*c",
"a",
"c",
"{\n System.out.println(b*d);\n }",
"System.out.println(b*d)",
"System.out.println",
"System.out",
"System",
"System.out",
"b*d",
"b",
"d",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n if(a>=0){\n if(d>=0){\n System.out.println(b*d);\n }else{\n System.out.println(d*a);\n }\n }else if(b<0){\n if(c>=0){\n System.out.println(b*c);\n }else{\n System.out.println(c*a);\n }\n }else{\n if(d<0){\n System.out.println(c*a);\n }else if(c>=0){\n System.out.println(b*d);\n }else{\n if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }\n }\n }\n}\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n if(a>=0){\n if(d>=0){\n System.out.println(b*d);\n }else{\n System.out.println(d*a);\n }\n }else if(b<0){\n if(c>=0){\n System.out.println(b*c);\n }else{\n System.out.println(c*a);\n }\n }else{\n if(d<0){\n System.out.println(c*a);\n }else if(c>=0){\n System.out.println(b*d);\n }else{\n if(a*c>b*d){\n System.out.println(a*c);\n }else{\n System.out.println(b*d);\n }\n }\n }\n}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
if(a>=0){
if(d>=0){
System.out.println(b*d);
}else{
System.out.println(d*a);
}
}else if(b<0){
if(c>=0){
System.out.println(b*c);
}else{
System.out.println(c*a);
}
}else{
if(d<0){
System.out.println(c*a);
}else if(c>=0){
System.out.println(b*d);
}else{
if(a*c>b*d){
System.out.println(a*c);
}else{
System.out.println(b*d);
}
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
57,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
62,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong a=scan.nextLong();\n\t\tlong b=scan.nextLong();\n\t\tlong x=scan.nextLong();\n\t\tlong y=scan.nextLong();\n\t\tlong c=a*x;\n\t\tlong d=a*y;\n\t\tlong e=b*x;\n\t\tlong f=b*y;\n\t\tlong res=Math.max(Math.max(c, e), Math.max(d, f));\n\t\tSystem.out.println(res);\n\t\n\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong a=scan.nextLong();\n\t\tlong b=scan.nextLong();\n\t\tlong x=scan.nextLong();\n\t\tlong y=scan.nextLong();\n\t\tlong c=a*x;\n\t\tlong d=a*y;\n\t\tlong e=b*x;\n\t\tlong f=b*y;\n\t\tlong res=Math.max(Math.max(c, e), Math.max(d, f));\n\t\tSystem.out.println(res);\n\t\n\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong a=scan.nextLong();\n\t\tlong b=scan.nextLong();\n\t\tlong x=scan.nextLong();\n\t\tlong y=scan.nextLong();\n\t\tlong c=a*x;\n\t\tlong d=a*y;\n\t\tlong e=b*x;\n\t\tlong f=b*y;\n\t\tlong res=Math.max(Math.max(c, e), Math.max(d, f));\n\t\tSystem.out.println(res);\n\t\n\t\n\t}",
"main",
"{\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong a=scan.nextLong();\n\t\tlong b=scan.nextLong();\n\t\tlong x=scan.nextLong();\n\t\tlong y=scan.nextLong();\n\t\tlong c=a*x;\n\t\tlong d=a*y;\n\t\tlong e=b*x;\n\t\tlong f=b*y;\n\t\tlong res=Math.max(Math.max(c, e), Math.max(d, f));\n\t\tSystem.out.println(res);\n\t\n\t\n\t}",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long a=scan.nextLong();",
"a",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long b=scan.nextLong();",
"b",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long x=scan.nextLong();",
"x",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long y=scan.nextLong();",
"y",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long c=a*x;",
"c",
"a*x",
"a",
"x",
"long d=a*y;",
"d",
"a*y",
"a",
"y",
"long e=b*x;",
"e",
"b*x",
"b",
"x",
"long f=b*y;",
"f",
"b*y",
"b",
"y",
"long res=Math.max(Math.max(c, e), Math.max(d, f));",
"res",
"Math.max(Math.max(c, e), Math.max(d, f))",
"Math.max",
"Math",
"Math.max(c, e)",
"Math.max",
"Math",
"c",
"e",
"Math.max(d, f)",
"Math.max",
"Math",
"d",
"f",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong a=scan.nextLong();\n\t\tlong b=scan.nextLong();\n\t\tlong x=scan.nextLong();\n\t\tlong y=scan.nextLong();\n\t\tlong c=a*x;\n\t\tlong d=a*y;\n\t\tlong e=b*x;\n\t\tlong f=b*y;\n\t\tlong res=Math.max(Math.max(c, e), Math.max(d, f));\n\t\tSystem.out.println(res);\n\t\n\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong a=scan.nextLong();\n\t\tlong b=scan.nextLong();\n\t\tlong x=scan.nextLong();\n\t\tlong y=scan.nextLong();\n\t\tlong c=a*x;\n\t\tlong d=a*y;\n\t\tlong e=b*x;\n\t\tlong f=b*y;\n\t\tlong res=Math.max(Math.max(c, e), Math.max(d, f));\n\t\tSystem.out.println(res);\n\t\n\t\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
long a=scan.nextLong();
long b=scan.nextLong();
long x=scan.nextLong();
long y=scan.nextLong();
long c=a*x;
long d=a*y;
long e=b*x;
long f=b*y;
long res=Math.max(Math.max(c, e), Math.max(d, f));
System.out.println(res);
}
}
|
[
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,
41,
13,
4,
18,
18,
36,
13,
41,
13,
4,
18,
18,
36,
13,
41,
13,
4,
18,
18,
36,
13,
41,
13,
20,
17,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
97,
5
],
[
97,
6
],
[
6,
7
],
[
97,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
97,
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
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
18,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
18,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
18,
52
],
[
52,
53
],
[
52,
54
],
[
18,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
18,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
18,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
18,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
81,
83
],
[
18,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
18,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
]
| [
"import java.util.*;\n\n/**\n * B 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 long a = this.sc.nextInt();\n long b = this.sc.nextInt();\n long c = this.sc.nextInt();\n long d = this.sc.nextInt();\n\n long[] p = new long[4];\n p[0] = a * c;\n p[1] = b * c;\n p[2] = a * d;\n p[3] = b * d;\n\n Arrays.sort(p);\n System.out.println(p[3]);\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 long a = this.sc.nextInt();\n long b = this.sc.nextInt();\n long c = this.sc.nextInt();\n long d = this.sc.nextInt();\n\n long[] p = new long[4];\n p[0] = a * c;\n p[1] = b * c;\n p[2] = a * d;\n p[3] = b * d;\n\n Arrays.sort(p);\n System.out.println(p[3]);\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 long a = this.sc.nextInt();\n long b = this.sc.nextInt();\n long c = this.sc.nextInt();\n long d = this.sc.nextInt();\n\n long[] p = new long[4];\n p[0] = a * c;\n p[1] = b * c;\n p[2] = a * d;\n p[3] = b * d;\n\n Arrays.sort(p);\n System.out.println(p[3]);\n }",
"execute",
"{\n this.sc = new Scanner(System.in);\n long a = this.sc.nextInt();\n long b = this.sc.nextInt();\n long c = this.sc.nextInt();\n long d = this.sc.nextInt();\n\n long[] p = new long[4];\n p[0] = a * c;\n p[1] = b * c;\n p[2] = a * d;\n p[3] = b * d;\n\n Arrays.sort(p);\n System.out.println(p[3]);\n }",
"this.sc = new Scanner(System.in)",
"this.sc",
"this",
"this.sc",
"new Scanner(System.in)",
"long a = this.sc.nextInt();",
"a",
"this.sc.nextInt()",
"this.sc.nextInt",
"this.sc",
"this",
"this.sc",
"long b = this.sc.nextInt();",
"b",
"this.sc.nextInt()",
"this.sc.nextInt",
"this.sc",
"this",
"this.sc",
"long c = this.sc.nextInt();",
"c",
"this.sc.nextInt()",
"this.sc.nextInt",
"this.sc",
"this",
"this.sc",
"long d = this.sc.nextInt();",
"d",
"this.sc.nextInt()",
"this.sc.nextInt",
"this.sc",
"this",
"this.sc",
"long[] p = new long[4];",
"p",
"new long[4]",
"4",
"p[0] = a * c",
"p[0]",
"p",
"0",
"a * c",
"a",
"c",
"p[1] = b * c",
"p[1]",
"p",
"1",
"b * c",
"b",
"c",
"p[2] = a * d",
"p[2]",
"p",
"2",
"a * d",
"a",
"d",
"p[3] = b * d",
"p[3]",
"p",
"3",
"b * d",
"b",
"d",
"Arrays.sort(p)",
"Arrays.sort",
"Arrays",
"p",
"System.out.println(p[3])",
"System.out.println",
"System.out",
"System",
"System.out",
"p[3]",
"p",
"3",
"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 long a = this.sc.nextInt();\n long b = this.sc.nextInt();\n long c = this.sc.nextInt();\n long d = this.sc.nextInt();\n\n long[] p = new long[4];\n p[0] = a * c;\n p[1] = b * c;\n p[2] = a * d;\n p[3] = b * d;\n\n Arrays.sort(p);\n System.out.println(p[3]);\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 long a = this.sc.nextInt();\n long b = this.sc.nextInt();\n long c = this.sc.nextInt();\n long d = this.sc.nextInt();\n\n long[] p = new long[4];\n p[0] = a * c;\n p[1] = b * c;\n p[2] = a * d;\n p[3] = b * d;\n\n Arrays.sort(p);\n System.out.println(p[3]);\n }\n}",
"Main"
]
| import java.util.*;
/**
* B 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);
long a = this.sc.nextInt();
long b = this.sc.nextInt();
long c = this.sc.nextInt();
long d = this.sc.nextInt();
long[] p = new long[4];
p[0] = a * c;
p[1] = b * c;
p[2] = a * d;
p[3] = b * d;
Arrays.sort(p);
System.out.println(p[3]);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
39,
2,
13,
13,
2,
13,
13,
2,
13,
13,
2,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.util.*;\n \n \npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\n\t\tlong[] l = {a * c, a * d, b * c, b * d};\n\n\t\tArrays.sort(l);\n\n\t\tSystem.out.println(l[3]);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\n\t\tlong[] l = {a * c, a * d, b * c, b * d};\n\n\t\tArrays.sort(l);\n\n\t\tSystem.out.println(l[3]);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\n\t\tlong[] l = {a * c, a * d, b * c, b * d};\n\n\t\tArrays.sort(l);\n\n\t\tSystem.out.println(l[3]);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\n\t\tlong[] l = {a * c, a * d, b * c, b * d};\n\n\t\tArrays.sort(l);\n\n\t\tSystem.out.println(l[3]);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long[] l = {a * c, a * d, b * c, b * d};",
"l",
"{a * c, a * d, b * c, b * d}",
"a * c",
"a",
"c",
"a * d",
"a",
"d",
"b * c",
"b",
"c",
"b * d",
"b",
"d",
"Arrays.sort(l)",
"Arrays.sort",
"Arrays",
"l",
"System.out.println(l[3])",
"System.out.println",
"System.out",
"System",
"System.out",
"l[3]",
"l",
"3",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\n\t\tlong[] l = {a * c, a * d, b * c, b * d};\n\n\t\tArrays.sort(l);\n\n\t\tSystem.out.println(l[3]);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\n\t\tlong[] l = {a * c, a * d, b * c, b * d};\n\n\t\tArrays.sort(l);\n\n\t\tSystem.out.println(l[3]);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
long[] l = {a * c, a * d, b * c, b * d};
Arrays.sort(l);
System.out.println(l[3]);
}
} |
[
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,
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,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
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
],
[
52,
53
],
[
52,
54
],
[
0,
55
],
[
245,
56
],
[
245,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
59,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
59,
70
],
[
70,
71
],
[
70,
72
],
[
59,
73
],
[
73,
74
],
[
73,
75
],
[
59,
76
],
[
76,
77
],
[
76,
78
],
[
59,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
79,
83
],
[
79,
84
],
[
59,
85
],
[
85,
86
],
[
86,
87
],
[
57,
88
],
[
88,
89
],
[
245,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
104,
105
],
[
97,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
112,
113
],
[
97,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
119,
120
],
[
120,
121
],
[
97,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
127,
128
],
[
128,
129
],
[
97,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
97,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
141,
142
],
[
142,
143
],
[
141,
144
],
[
97,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
151,
152
],
[
150,
153
],
[
97,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
156,
159
],
[
159,
160
],
[
160,
161
],
[
159,
162
],
[
97,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
165,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
97,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
95,
176
],
[
176,
177
],
[
95,
178
],
[
178,
179
],
[
95,
180
],
[
180,
181
],
[
245,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
182,
186
],
[
186,
187
],
[
182,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
194,
195
],
[
194,
196
],
[
188,
197
],
[
197,
198
],
[
182,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
203,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
202,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
216,
217
],
[
212,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
201,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
182,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
230,
233
],
[
233,
234
],
[
182,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
239,
242
],
[
242,
243
],
[
0,
244
],
[
244,
245
],
[
244,
246
]
]
| [
"\nimport java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.math.BigInteger;\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 \tBigInteger a = BigInteger.valueOf(in.nextInt()); \n \tBigInteger b = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger c = BigInteger.valueOf(in.nextInt()); \n \tBigInteger d = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger max_product_pair = a.multiply(c);\n \t\n \tmax_product_pair = max_product_pair.max(a.multiply(c));\n \tmax_product_pair = max_product_pair.max(a.multiply(d));\n \tmax_product_pair = max_product_pair.max(b.multiply(c));\n \tmax_product_pair = max_product_pair.max(b.multiply(d));\n\n \tout.print(max_product_pair);\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}\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.math.BigInteger;",
"BigInteger",
"java.math",
"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 \tBigInteger a = BigInteger.valueOf(in.nextInt()); \n \tBigInteger b = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger c = BigInteger.valueOf(in.nextInt()); \n \tBigInteger d = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger max_product_pair = a.multiply(c);\n \t\n \tmax_product_pair = max_product_pair.max(a.multiply(c));\n \tmax_product_pair = max_product_pair.max(a.multiply(d));\n \tmax_product_pair = max_product_pair.max(b.multiply(c));\n \tmax_product_pair = max_product_pair.max(b.multiply(d));\n\n \tout.print(max_product_pair);\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 \tBigInteger a = BigInteger.valueOf(in.nextInt()); \n \tBigInteger b = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger c = BigInteger.valueOf(in.nextInt()); \n \tBigInteger d = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger max_product_pair = a.multiply(c);\n \t\n \tmax_product_pair = max_product_pair.max(a.multiply(c));\n \tmax_product_pair = max_product_pair.max(a.multiply(d));\n \tmax_product_pair = max_product_pair.max(b.multiply(c));\n \tmax_product_pair = max_product_pair.max(b.multiply(d));\n\n \tout.print(max_product_pair);\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 \tBigInteger a = BigInteger.valueOf(in.nextInt()); \n \tBigInteger b = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger c = BigInteger.valueOf(in.nextInt()); \n \tBigInteger d = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger max_product_pair = a.multiply(c);\n \t\n \tmax_product_pair = max_product_pair.max(a.multiply(c));\n \tmax_product_pair = max_product_pair.max(a.multiply(d));\n \tmax_product_pair = max_product_pair.max(b.multiply(c));\n \tmax_product_pair = max_product_pair.max(b.multiply(d));\n\n \tout.print(max_product_pair);\n }",
"solve",
"{\n\n \tBigInteger a = BigInteger.valueOf(in.nextInt()); \n \tBigInteger b = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger c = BigInteger.valueOf(in.nextInt()); \n \tBigInteger d = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger max_product_pair = a.multiply(c);\n \t\n \tmax_product_pair = max_product_pair.max(a.multiply(c));\n \tmax_product_pair = max_product_pair.max(a.multiply(d));\n \tmax_product_pair = max_product_pair.max(b.multiply(c));\n \tmax_product_pair = max_product_pair.max(b.multiply(d));\n\n \tout.print(max_product_pair);\n }",
"BigInteger a = BigInteger.valueOf(in.nextInt());",
"a",
"BigInteger.valueOf(in.nextInt())",
"BigInteger.valueOf",
"BigInteger",
"in.nextInt()",
"in.nextInt",
"in",
"BigInteger b = BigInteger.valueOf(in.nextInt());",
"b",
"BigInteger.valueOf(in.nextInt())",
"BigInteger.valueOf",
"BigInteger",
"in.nextInt()",
"in.nextInt",
"in",
"BigInteger c = BigInteger.valueOf(in.nextInt());",
"c",
"BigInteger.valueOf(in.nextInt())",
"BigInteger.valueOf",
"BigInteger",
"in.nextInt()",
"in.nextInt",
"in",
"BigInteger d = BigInteger.valueOf(in.nextInt());",
"d",
"BigInteger.valueOf(in.nextInt())",
"BigInteger.valueOf",
"BigInteger",
"in.nextInt()",
"in.nextInt",
"in",
"BigInteger max_product_pair = a.multiply(c);",
"max_product_pair",
"a.multiply(c)",
"a.multiply",
"a",
"c",
"max_product_pair = max_product_pair.max(a.multiply(c))",
"max_product_pair",
"max_product_pair.max(a.multiply(c))",
"max_product_pair.max",
"max_product_pair",
"a.multiply(c)",
"a.multiply",
"a",
"c",
"max_product_pair = max_product_pair.max(a.multiply(d))",
"max_product_pair",
"max_product_pair.max(a.multiply(d))",
"max_product_pair.max",
"max_product_pair",
"a.multiply(d)",
"a.multiply",
"a",
"d",
"max_product_pair = max_product_pair.max(b.multiply(c))",
"max_product_pair",
"max_product_pair.max(b.multiply(c))",
"max_product_pair.max",
"max_product_pair",
"b.multiply(c)",
"b.multiply",
"b",
"c",
"max_product_pair = max_product_pair.max(b.multiply(d))",
"max_product_pair",
"max_product_pair.max(b.multiply(d))",
"max_product_pair.max",
"max_product_pair",
"b.multiply(d)",
"b.multiply",
"b",
"d",
"out.print(max_product_pair)",
"out.print",
"out",
"max_product_pair",
"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 \tBigInteger a = BigInteger.valueOf(in.nextInt()); \n \tBigInteger b = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger c = BigInteger.valueOf(in.nextInt()); \n \tBigInteger d = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger max_product_pair = a.multiply(c);\n \t\n \tmax_product_pair = max_product_pair.max(a.multiply(c));\n \tmax_product_pair = max_product_pair.max(a.multiply(d));\n \tmax_product_pair = max_product_pair.max(b.multiply(c));\n \tmax_product_pair = max_product_pair.max(b.multiply(d));\n\n \tout.print(max_product_pair);\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 \tBigInteger a = BigInteger.valueOf(in.nextInt()); \n \tBigInteger b = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger c = BigInteger.valueOf(in.nextInt()); \n \tBigInteger d = BigInteger.valueOf(in.nextInt()); \n \t\n \tBigInteger max_product_pair = a.multiply(c);\n \t\n \tmax_product_pair = max_product_pair.max(a.multiply(c));\n \tmax_product_pair = max_product_pair.max(a.multiply(d));\n \tmax_product_pair = max_product_pair.max(b.multiply(c));\n \tmax_product_pair = max_product_pair.max(b.multiply(d));\n\n \tout.print(max_product_pair);\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.math.BigInteger;
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) {
BigInteger a = BigInteger.valueOf(in.nextInt());
BigInteger b = BigInteger.valueOf(in.nextInt());
BigInteger c = BigInteger.valueOf(in.nextInt());
BigInteger d = BigInteger.valueOf(in.nextInt());
BigInteger max_product_pair = a.multiply(c);
max_product_pair = max_product_pair.max(a.multiply(c));
max_product_pair = max_product_pair.max(a.multiply(d));
max_product_pair = max_product_pair.max(b.multiply(c));
max_product_pair = max_product_pair.max(b.multiply(d));
out.print(max_product_pair);
}
}
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,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
17,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
2,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
86,
8
],
[
86,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
11,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
11,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
9,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
]
| [
"import java.util.*;\nimport java.io.*;\n\n\npublic class Main{\n\n public static void main(String []args){\n Scanner scanner = new Scanner(System.in);\n long n1= (long)scanner.nextInt();\n long n2= (long)scanner.nextInt();\n long n3= (long)scanner.nextInt();\n long n4= (long)scanner.nextInt();\n \n long arr[] = new long[4];\n \n arr[0] = n1*n3;\n arr[1] = n1*n4;\n arr[2] = n2*n3;\n arr[3] = n2*n4;\n \n \n Arrays.sort(arr);\n \n System.out.println(arr[arr.length-1]);\n \n \n \n //for(int i=0;i<n;i++)\n //int n= scanner.nextInt();\n //System.out.println()\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\n public static void main(String []args){\n Scanner scanner = new Scanner(System.in);\n long n1= (long)scanner.nextInt();\n long n2= (long)scanner.nextInt();\n long n3= (long)scanner.nextInt();\n long n4= (long)scanner.nextInt();\n \n long arr[] = new long[4];\n \n arr[0] = n1*n3;\n arr[1] = n1*n4;\n arr[2] = n2*n3;\n arr[3] = n2*n4;\n \n \n Arrays.sort(arr);\n \n System.out.println(arr[arr.length-1]);\n \n \n \n //for(int i=0;i<n;i++)\n //int n= scanner.nextInt();\n //System.out.println()\n }\n}",
"Main",
"public static void main(String []args){\n Scanner scanner = new Scanner(System.in);\n long n1= (long)scanner.nextInt();\n long n2= (long)scanner.nextInt();\n long n3= (long)scanner.nextInt();\n long n4= (long)scanner.nextInt();\n \n long arr[] = new long[4];\n \n arr[0] = n1*n3;\n arr[1] = n1*n4;\n arr[2] = n2*n3;\n arr[3] = n2*n4;\n \n \n Arrays.sort(arr);\n \n System.out.println(arr[arr.length-1]);\n \n \n \n //for(int i=0;i<n;i++)\n //int n= scanner.nextInt();\n //System.out.println()\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n long n1= (long)scanner.nextInt();\n long n2= (long)scanner.nextInt();\n long n3= (long)scanner.nextInt();\n long n4= (long)scanner.nextInt();\n \n long arr[] = new long[4];\n \n arr[0] = n1*n3;\n arr[1] = n1*n4;\n arr[2] = n2*n3;\n arr[3] = n2*n4;\n \n \n Arrays.sort(arr);\n \n System.out.println(arr[arr.length-1]);\n \n \n \n //for(int i=0;i<n;i++)\n //int n= scanner.nextInt();\n //System.out.println()\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long n1= (long)scanner.nextInt();",
"n1",
"(long)scanner.nextInt()",
"scanner.nextInt",
"scanner",
"long n2= (long)scanner.nextInt();",
"n2",
"(long)scanner.nextInt()",
"scanner.nextInt",
"scanner",
"long n3= (long)scanner.nextInt();",
"n3",
"(long)scanner.nextInt()",
"scanner.nextInt",
"scanner",
"long n4= (long)scanner.nextInt();",
"n4",
"(long)scanner.nextInt()",
"scanner.nextInt",
"scanner",
"long arr[] = new long[4];",
"arr",
"new long[4]",
"4",
"arr[0] = n1*n3",
"arr[0]",
"arr",
"0",
"n1*n3",
"n1",
"n3",
"arr[1] = n1*n4",
"arr[1]",
"arr",
"1",
"n1*n4",
"n1",
"n4",
"arr[2] = n2*n3",
"arr[2]",
"arr",
"2",
"n2*n3",
"n2",
"n3",
"arr[3] = n2*n4",
"arr[3]",
"arr",
"3",
"n2*n4",
"n2",
"n4",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"System.out.println(arr[arr.length-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[arr.length-1]",
"arr",
"arr.length-1",
"arr.length",
"arr",
"arr.length",
"1",
"String []args",
"args",
"public class Main{\n\n public static void main(String []args){\n Scanner scanner = new Scanner(System.in);\n long n1= (long)scanner.nextInt();\n long n2= (long)scanner.nextInt();\n long n3= (long)scanner.nextInt();\n long n4= (long)scanner.nextInt();\n \n long arr[] = new long[4];\n \n arr[0] = n1*n3;\n arr[1] = n1*n4;\n arr[2] = n2*n3;\n arr[3] = n2*n4;\n \n \n Arrays.sort(arr);\n \n System.out.println(arr[arr.length-1]);\n \n \n \n //for(int i=0;i<n;i++)\n //int n= scanner.nextInt();\n //System.out.println()\n }\n}",
"public class Main{\n\n public static void main(String []args){\n Scanner scanner = new Scanner(System.in);\n long n1= (long)scanner.nextInt();\n long n2= (long)scanner.nextInt();\n long n3= (long)scanner.nextInt();\n long n4= (long)scanner.nextInt();\n \n long arr[] = new long[4];\n \n arr[0] = n1*n3;\n arr[1] = n1*n4;\n arr[2] = n2*n3;\n arr[3] = n2*n4;\n \n \n Arrays.sort(arr);\n \n System.out.println(arr[arr.length-1]);\n \n \n \n //for(int i=0;i<n;i++)\n //int n= scanner.nextInt();\n //System.out.println()\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main{
public static void main(String []args){
Scanner scanner = new Scanner(System.in);
long n1= (long)scanner.nextInt();
long n2= (long)scanner.nextInt();
long n3= (long)scanner.nextInt();
long n4= (long)scanner.nextInt();
long arr[] = new long[4];
arr[0] = n1*n3;
arr[1] = n1*n4;
arr[2] = n2*n3;
arr[3] = n2*n4;
Arrays.sort(arr);
System.out.println(arr[arr.length-1]);
//for(int i=0;i<n;i++)
//int n= scanner.nextInt();
//System.out.println()
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
0,
13,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
17,
13,
30,
0,
13,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
111,
5
],
[
111,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
62,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
78,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
94,
98
],
[
8,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
8,
105
],
[
105,
106
],
[
106,
107
],
[
6,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\n\t\tlong x = a * c;\n\t\tlong y = a * d;\n\t\tlong z = b * c;\n\t\tlong w = b * d;\n\t\tlong max = Math.max(x, Math.max(y, Math.max(z, w)));\n\n\t\tif (a <= 0 && 0 <= b) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}\n\n\t\tif (c <= 0 && 0 <= d) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}\n\n\t\tSystem.out.println(max);\n\n\t\tsc.close();\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\n\t\tlong x = a * c;\n\t\tlong y = a * d;\n\t\tlong z = b * c;\n\t\tlong w = b * d;\n\t\tlong max = Math.max(x, Math.max(y, Math.max(z, w)));\n\n\t\tif (a <= 0 && 0 <= b) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}\n\n\t\tif (c <= 0 && 0 <= d) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}\n\n\t\tSystem.out.println(max);\n\n\t\tsc.close();\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\n\t\tlong x = a * c;\n\t\tlong y = a * d;\n\t\tlong z = b * c;\n\t\tlong w = b * d;\n\t\tlong max = Math.max(x, Math.max(y, Math.max(z, w)));\n\n\t\tif (a <= 0 && 0 <= b) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}\n\n\t\tif (c <= 0 && 0 <= d) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}\n\n\t\tSystem.out.println(max);\n\n\t\tsc.close();\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\n\t\tlong x = a * c;\n\t\tlong y = a * d;\n\t\tlong z = b * c;\n\t\tlong w = b * d;\n\t\tlong max = Math.max(x, Math.max(y, Math.max(z, w)));\n\n\t\tif (a <= 0 && 0 <= b) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}\n\n\t\tif (c <= 0 && 0 <= d) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}\n\n\t\tSystem.out.println(max);\n\n\t\tsc.close();\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long x = a * c;",
"x",
"a * c",
"a",
"c",
"long y = a * d;",
"y",
"a * d",
"a",
"d",
"long z = b * c;",
"z",
"b * c",
"b",
"c",
"long w = b * d;",
"w",
"b * d",
"b",
"d",
"long max = Math.max(x, Math.max(y, Math.max(z, w)));",
"max",
"Math.max(x, Math.max(y, Math.max(z, w)))",
"Math.max",
"Math",
"x",
"Math.max(y, Math.max(z, w))",
"Math.max",
"Math",
"y",
"Math.max(z, w)",
"Math.max",
"Math",
"z",
"w",
"if (a <= 0 && 0 <= b) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}",
"a <= 0 && 0 <= b",
"a <= 0",
"a",
"0",
"0 <= b",
"0",
"b",
"{\n\t\t\tmax = Math.max(max, 0);\n\t\t}",
"max = Math.max(max, 0)",
"max",
"Math.max(max, 0)",
"Math.max",
"Math",
"max",
"0",
"if (c <= 0 && 0 <= d) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}",
"c <= 0 && 0 <= d",
"c <= 0",
"c",
"0",
"0 <= d",
"0",
"d",
"{\n\t\t\tmax = Math.max(max, 0);\n\t\t}",
"max = Math.max(max, 0)",
"max",
"Math.max(max, 0)",
"Math.max",
"Math",
"max",
"0",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\n\t\tlong x = a * c;\n\t\tlong y = a * d;\n\t\tlong z = b * c;\n\t\tlong w = b * d;\n\t\tlong max = Math.max(x, Math.max(y, Math.max(z, w)));\n\n\t\tif (a <= 0 && 0 <= b) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}\n\n\t\tif (c <= 0 && 0 <= d) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}\n\n\t\tSystem.out.println(max);\n\n\t\tsc.close();\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\n\t\tlong x = a * c;\n\t\tlong y = a * d;\n\t\tlong z = b * c;\n\t\tlong w = b * d;\n\t\tlong max = Math.max(x, Math.max(y, Math.max(z, w)));\n\n\t\tif (a <= 0 && 0 <= b) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}\n\n\t\tif (c <= 0 && 0 <= d) {\n\t\t\tmax = Math.max(max, 0);\n\t\t}\n\n\t\tSystem.out.println(max);\n\n\t\tsc.close();\n\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextInt();
long b = sc.nextInt();
long c = sc.nextInt();
long d = sc.nextInt();
long x = a * c;
long y = a * d;
long z = b * c;
long w = b * d;
long max = Math.max(x, Math.max(y, Math.max(z, w)));
if (a <= 0 && 0 <= b) {
max = Math.max(max, 0);
}
if (c <= 0 && 0 <= d) {
max = Math.max(max, 0);
}
System.out.println(max);
sc.close();
}
}
|
[
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,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
40,
17,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
13,
4,
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
],
[
89,
14
],
[
89,
15
],
[
15,
16
],
[
15,
17
],
[
89,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
20,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
20,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
20,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
20,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
20,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
20,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
20,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
76,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
81,
85
],
[
18,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
]
| [
"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\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tlong max = -1000000000000000000l;\n\t\tlong ac = a*c;\n\t\tlong bc = b*c;\n\t\tlong cd = b*d;\n\t\tlong da =d* a;\n\t\tSystem.out.println(Math.max(Math.max(ac, bc), Math.max(cd, da)));\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\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tlong max = -1000000000000000000l;\n\t\tlong ac = a*c;\n\t\tlong bc = b*c;\n\t\tlong cd = b*d;\n\t\tlong da =d* a;\n\t\tSystem.out.println(Math.max(Math.max(ac, bc), Math.max(cd, da)));\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\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tlong max = -1000000000000000000l;\n\t\tlong ac = a*c;\n\t\tlong bc = b*c;\n\t\tlong cd = b*d;\n\t\tlong da =d* a;\n\t\tSystem.out.println(Math.max(Math.max(ac, bc), Math.max(cd, da)));\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tlong max = -1000000000000000000l;\n\t\tlong ac = a*c;\n\t\tlong bc = b*c;\n\t\tlong cd = b*d;\n\t\tlong da =d* a;\n\t\tSystem.out.println(Math.max(Math.max(ac, bc), Math.max(cd, da)));\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long max = -1000000000000000000l;",
"max",
"-1000000000000000000l",
"1000000000000000000l",
"long ac = a*c;",
"ac",
"a*c",
"a",
"c",
"long bc = b*c;",
"bc",
"b*c",
"b",
"c",
"long cd = b*d;",
"cd",
"b*d",
"b",
"d",
"long da =d* a;",
"da",
"d* a",
"d",
"a",
"System.out.println(Math.max(Math.max(ac, bc), Math.max(cd, da)))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.max(Math.max(ac, bc), Math.max(cd, da))",
"Math.max",
"Math",
"Math.max(ac, bc)",
"Math.max",
"Math",
"ac",
"bc",
"Math.max(cd, da)",
"Math.max",
"Math",
"cd",
"da",
"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\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tlong max = -1000000000000000000l;\n\t\tlong ac = a*c;\n\t\tlong bc = b*c;\n\t\tlong cd = b*d;\n\t\tlong da =d* a;\n\t\tSystem.out.println(Math.max(Math.max(ac, bc), Math.max(cd, da)));\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\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tlong max = -1000000000000000000l;\n\t\tlong ac = a*c;\n\t\tlong bc = b*c;\n\t\tlong cd = b*d;\n\t\tlong da =d* a;\n\t\tSystem.out.println(Math.max(Math.max(ac, bc), Math.max(cd, da)));\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);
long a = sc.nextInt();
long b = sc.nextInt();
long c = sc.nextInt();
long d = sc.nextInt();
long max = -1000000000000000000l;
long ac = a*c;
long bc = b*c;
long cd = b*d;
long da =d* a;
System.out.println(Math.max(Math.max(ac, bc), Math.max(cd, da)));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
2,
13,
13,
2,
13,
13,
2,
13,
13,
2,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
29,
18,
13,
2,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
139,
23
],
[
139,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
26,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
26,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
63,
65
],
[
55,
66
],
[
66,
67
],
[
66,
68
],
[
24,
69
],
[
69,
70
],
[
139,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
71,
86
],
[
86,
87
],
[
139,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
88,
92
],
[
92,
93
],
[
88,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
94,
100
],
[
100,
101
],
[
88,
102
],
[
102,
103
],
[
102,
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
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
115,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
104,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
88,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
136,
137
],
[
0,
138
],
[
138,
139
],
[
138,
140
]
]
| [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(final String[] args) {\n final FastScanner scanner = new FastScanner(System.in);\n final long a = scanner.nextInt();\n final long b = scanner.nextInt();\n final long c = scanner.nextInt();\n final long d = scanner.nextInt();\n\n System.out.println(max(a * c, a * d, b * c, b * d));\n }\n\n private static long max(final long... l) {\n Arrays.sort(l);\n return l[l.length - 1];\n }\n\n private static class FastScanner {\n private final BufferedReader reader;\n private StringTokenizer tokenizer;\n\n FastScanner(final InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (final IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(final String[] args) {\n final FastScanner scanner = new FastScanner(System.in);\n final long a = scanner.nextInt();\n final long b = scanner.nextInt();\n final long c = scanner.nextInt();\n final long d = scanner.nextInt();\n\n System.out.println(max(a * c, a * d, b * c, b * d));\n }\n\n private static long max(final long... l) {\n Arrays.sort(l);\n return l[l.length - 1];\n }\n\n private static class FastScanner {\n private final BufferedReader reader;\n private StringTokenizer tokenizer;\n\n FastScanner(final InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (final IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n }\n}",
"Main",
"public static void main(final String[] args) {\n final FastScanner scanner = new FastScanner(System.in);\n final long a = scanner.nextInt();\n final long b = scanner.nextInt();\n final long c = scanner.nextInt();\n final long d = scanner.nextInt();\n\n System.out.println(max(a * c, a * d, b * c, b * d));\n }",
"main",
"{\n final FastScanner scanner = new FastScanner(System.in);\n final long a = scanner.nextInt();\n final long b = scanner.nextInt();\n final long c = scanner.nextInt();\n final long d = scanner.nextInt();\n\n System.out.println(max(a * c, a * d, b * c, b * d));\n }",
"final FastScanner scanner = new FastScanner(System.in);",
"scanner",
"new FastScanner(System.in)",
"final long a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"final long b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"final long c = scanner.nextInt();",
"c",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"final long d = scanner.nextInt();",
"d",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(max(a * c, a * d, b * c, b * d))",
"System.out.println",
"System.out",
"System",
"System.out",
"max(a * c, a * d, b * c, b * d)",
"max",
"a * c",
"a",
"c",
"a * d",
"a",
"d",
"b * c",
"b",
"c",
"b * d",
"b",
"d",
"final String[] args",
"args",
"private static long max(final long... l) {\n Arrays.sort(l);\n return l[l.length - 1];\n }",
"max",
"{\n Arrays.sort(l);\n return l[l.length - 1];\n }",
"Arrays.sort(l)",
"Arrays.sort",
"Arrays",
"l",
"return l[l.length - 1];",
"l[l.length - 1]",
"l",
"l.length - 1",
"l.length",
"l",
"l.length",
"1",
"final long... l",
"l",
"private static class FastScanner {\n private final BufferedReader reader;\n private StringTokenizer tokenizer;\n\n FastScanner(final InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (final IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n }",
"FastScanner",
"private final BufferedReader reader;",
"reader",
"private StringTokenizer tokenizer;",
"tokenizer",
"FastScanner(final InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }",
"FastScanner",
"{\n reader = new BufferedReader(new InputStreamReader(in));\n }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"final InputStream in",
"in",
"String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (final 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 (final 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 (final 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 (final IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (final IOException e) {\n throw new RuntimeException(e);\n }",
"catch (final IOException e) {\n throw new RuntimeException(e);\n }",
"final IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public class Main {\n public static void main(final String[] args) {\n final FastScanner scanner = new FastScanner(System.in);\n final long a = scanner.nextInt();\n final long b = scanner.nextInt();\n final long c = scanner.nextInt();\n final long d = scanner.nextInt();\n\n System.out.println(max(a * c, a * d, b * c, b * d));\n }\n\n private static long max(final long... l) {\n Arrays.sort(l);\n return l[l.length - 1];\n }\n\n private static class FastScanner {\n private final BufferedReader reader;\n private StringTokenizer tokenizer;\n\n FastScanner(final InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (final IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n }\n}",
"public class Main {\n public static void main(final String[] args) {\n final FastScanner scanner = new FastScanner(System.in);\n final long a = scanner.nextInt();\n final long b = scanner.nextInt();\n final long c = scanner.nextInt();\n final long d = scanner.nextInt();\n\n System.out.println(max(a * c, a * d, b * c, b * d));\n }\n\n private static long max(final long... l) {\n Arrays.sort(l);\n return l[l.length - 1];\n }\n\n private static class FastScanner {\n private final BufferedReader reader;\n private StringTokenizer tokenizer;\n\n FastScanner(final InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (final IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n }\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Comparator;
import java.util.StringTokenizer;
public class Main {
public static void main(final String[] args) {
final FastScanner scanner = new FastScanner(System.in);
final long a = scanner.nextInt();
final long b = scanner.nextInt();
final long c = scanner.nextInt();
final long d = scanner.nextInt();
System.out.println(max(a * c, a * d, b * c, b * d));
}
private static long max(final long... l) {
Arrays.sort(l);
return l[l.length - 1];
}
private static class FastScanner {
private final BufferedReader reader;
private StringTokenizer tokenizer;
FastScanner(final InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
}
String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (final IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
13,
13,
14,
2,
4,
18,
13,
13,
13,
13,
30,
0,
13,
4,
18,
13,
13,
13,
14,
2,
4,
18,
13,
13,
13,
13,
30,
0,
13,
4,
18,
13,
13,
13,
14,
2,
4,
18,
13,
13,
13,
13,
30,
0,
13,
4,
18,
13,
13,
13,
14,
2,
4,
18,
13,
13,
13,
13,
30,
0,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
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
],
[
221,
14
],
[
221,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
17,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
17,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
44,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
63,
67
],
[
17,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
70,
74
],
[
69,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
79,
83
],
[
17,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
86,
90
],
[
85,
91
],
[
84,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
95,
99
],
[
17,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
102,
106
],
[
101,
107
],
[
100,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
111,
115
],
[
17,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
118,
122
],
[
117,
123
],
[
116,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
127,
131
],
[
17,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
15,
138
],
[
138,
139
],
[
221,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
142,
144
],
[
140,
145
],
[
145,
146
],
[
145,
147
],
[
140,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
151,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
157,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
150,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
140,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
176,
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
],
[
200,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
205,
206
],
[
183,
207
],
[
207,
208
],
[
181,
209
],
[
209,
210
],
[
140,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
215,
218
],
[
218,
219
],
[
0,
220
],
[
220,
221
],
[
220,
222
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\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 long a = fs.nextInt();\n final long b = fs.nextInt();\n final long c = fs.nextInt();\n final long d = fs.nextInt();\n\n\n long answer = 0;\n\n\n if(a>0 && d<0 || b<0 && c>0) {\n \t// MAXが負になるパターン\n \tanswer = Math.multiplyExact(a, c);\n\n }\n\n\n\t\tif(Math.multiplyExact(a, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, c);\n\t\t}\n\t\tif(Math.multiplyExact(a, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, d);\n\t\t}\n\n\t\tif(Math.multiplyExact(b, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, c);\n\t\t}\n\t\tif(Math.multiplyExact(b, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, d);\n\t\t}\n\t\tSystem.out.print(answer);\n\n\n\n\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(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 nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.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 long a = fs.nextInt();\n final long b = fs.nextInt();\n final long c = fs.nextInt();\n final long d = fs.nextInt();\n\n\n long answer = 0;\n\n\n if(a>0 && d<0 || b<0 && c>0) {\n \t// MAXが負になるパターン\n \tanswer = Math.multiplyExact(a, c);\n\n }\n\n\n\t\tif(Math.multiplyExact(a, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, c);\n\t\t}\n\t\tif(Math.multiplyExact(a, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, d);\n\t\t}\n\n\t\tif(Math.multiplyExact(b, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, c);\n\t\t}\n\t\tif(Math.multiplyExact(b, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, d);\n\t\t}\n\t\tSystem.out.print(answer);\n\n\n\n\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(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 nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n final FastScanner fs = new FastScanner();\n final long a = fs.nextInt();\n final long b = fs.nextInt();\n final long c = fs.nextInt();\n final long d = fs.nextInt();\n\n\n long answer = 0;\n\n\n if(a>0 && d<0 || b<0 && c>0) {\n \t// MAXが負になるパターン\n \tanswer = Math.multiplyExact(a, c);\n\n }\n\n\n\t\tif(Math.multiplyExact(a, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, c);\n\t\t}\n\t\tif(Math.multiplyExact(a, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, d);\n\t\t}\n\n\t\tif(Math.multiplyExact(b, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, c);\n\t\t}\n\t\tif(Math.multiplyExact(b, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, d);\n\t\t}\n\t\tSystem.out.print(answer);\n\n\n\n\n }",
"main",
"{\n final FastScanner fs = new FastScanner();\n final long a = fs.nextInt();\n final long b = fs.nextInt();\n final long c = fs.nextInt();\n final long d = fs.nextInt();\n\n\n long answer = 0;\n\n\n if(a>0 && d<0 || b<0 && c>0) {\n \t// MAXが負になるパターン\n \tanswer = Math.multiplyExact(a, c);\n\n }\n\n\n\t\tif(Math.multiplyExact(a, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, c);\n\t\t}\n\t\tif(Math.multiplyExact(a, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, d);\n\t\t}\n\n\t\tif(Math.multiplyExact(b, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, c);\n\t\t}\n\t\tif(Math.multiplyExact(b, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, d);\n\t\t}\n\t\tSystem.out.print(answer);\n\n\n\n\n }",
"final FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"final long a = fs.nextInt();",
"a",
"fs.nextInt()",
"fs.nextInt",
"fs",
"final long b = fs.nextInt();",
"b",
"fs.nextInt()",
"fs.nextInt",
"fs",
"final long c = fs.nextInt();",
"c",
"fs.nextInt()",
"fs.nextInt",
"fs",
"final long d = fs.nextInt();",
"d",
"fs.nextInt()",
"fs.nextInt",
"fs",
"long answer = 0;",
"answer",
"0",
"if(a>0 && d<0 || b<0 && c>0) {\n \t// MAXが負になるパターン\n \tanswer = Math.multiplyExact(a, c);\n\n }",
"a>0 && d<0 || b<0 && c>0",
"a>0 && d<0",
"a>0",
"a",
"0",
"d<0",
"d",
"0",
"b<0 && c>0",
"b<0",
"b",
"0",
"c>0",
"c",
"0",
"{\n \t// MAXが負になるパターン\n \tanswer = Math.multiplyExact(a, c);\n\n }",
"answer = Math.multiplyExact(a, c)",
"answer",
"Math.multiplyExact(a, c)",
"Math.multiplyExact",
"Math",
"a",
"c",
"if(Math.multiplyExact(a, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, c);\n\t\t}",
"Math.multiplyExact(a, c) > answer",
"Math.multiplyExact(a, c)",
"Math.multiplyExact",
"Math",
"a",
"c",
"answer",
"{\n\t\t\tanswer = Math.multiplyExact(a, c);\n\t\t}",
"answer = Math.multiplyExact(a, c)",
"answer",
"Math.multiplyExact(a, c)",
"Math.multiplyExact",
"Math",
"a",
"c",
"if(Math.multiplyExact(a, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, d);\n\t\t}",
"Math.multiplyExact(a, d) > answer",
"Math.multiplyExact(a, d)",
"Math.multiplyExact",
"Math",
"a",
"d",
"answer",
"{\n\t\t\tanswer = Math.multiplyExact(a, d);\n\t\t}",
"answer = Math.multiplyExact(a, d)",
"answer",
"Math.multiplyExact(a, d)",
"Math.multiplyExact",
"Math",
"a",
"d",
"if(Math.multiplyExact(b, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, c);\n\t\t}",
"Math.multiplyExact(b, c) > answer",
"Math.multiplyExact(b, c)",
"Math.multiplyExact",
"Math",
"b",
"c",
"answer",
"{\n\t\t\tanswer = Math.multiplyExact(b, c);\n\t\t}",
"answer = Math.multiplyExact(b, c)",
"answer",
"Math.multiplyExact(b, c)",
"Math.multiplyExact",
"Math",
"b",
"c",
"if(Math.multiplyExact(b, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, d);\n\t\t}",
"Math.multiplyExact(b, d) > answer",
"Math.multiplyExact(b, d)",
"Math.multiplyExact",
"Math",
"b",
"d",
"answer",
"{\n\t\t\tanswer = Math.multiplyExact(b, d);\n\t\t}",
"answer = Math.multiplyExact(b, d)",
"answer",
"Math.multiplyExact(b, d)",
"Math.multiplyExact",
"Math",
"b",
"d",
"System.out.print(answer)",
"System.out.print",
"System.out",
"System",
"System.out",
"answer",
"String[] args",
"args",
"static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(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 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 //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",
"int[] readArray(int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++) { a[i] = nextInt(); }\n return a;\n }",
"readArray",
"{\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 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 final class Main {\n\n public static void main(String[] args) {\n final FastScanner fs = new FastScanner();\n final long a = fs.nextInt();\n final long b = fs.nextInt();\n final long c = fs.nextInt();\n final long d = fs.nextInt();\n\n\n long answer = 0;\n\n\n if(a>0 && d<0 || b<0 && c>0) {\n \t// MAXが負になるパターン\n \tanswer = Math.multiplyExact(a, c);\n\n }\n\n\n\t\tif(Math.multiplyExact(a, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, c);\n\t\t}\n\t\tif(Math.multiplyExact(a, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, d);\n\t\t}\n\n\t\tif(Math.multiplyExact(b, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, c);\n\t\t}\n\t\tif(Math.multiplyExact(b, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, d);\n\t\t}\n\t\tSystem.out.print(answer);\n\n\n\n\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(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 nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"public final class Main {\n\n public static void main(String[] args) {\n final FastScanner fs = new FastScanner();\n final long a = fs.nextInt();\n final long b = fs.nextInt();\n final long c = fs.nextInt();\n final long d = fs.nextInt();\n\n\n long answer = 0;\n\n\n if(a>0 && d<0 || b<0 && c>0) {\n \t// MAXが負になるパターン\n \tanswer = Math.multiplyExact(a, c);\n\n }\n\n\n\t\tif(Math.multiplyExact(a, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, c);\n\t\t}\n\t\tif(Math.multiplyExact(a, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(a, d);\n\t\t}\n\n\t\tif(Math.multiplyExact(b, c) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, c);\n\t\t}\n\t\tif(Math.multiplyExact(b, d) > answer) {\n\t\t\tanswer = Math.multiplyExact(b, d);\n\t\t}\n\t\tSystem.out.print(answer);\n\n\n\n\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n //noinspection CallToPrintStackTrace\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(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 nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public final class Main {
public static void main(String[] args) {
final FastScanner fs = new FastScanner();
final long a = fs.nextInt();
final long b = fs.nextInt();
final long c = fs.nextInt();
final long d = fs.nextInt();
long answer = 0;
if(a>0 && d<0 || b<0 && c>0) {
// MAXが負になるパターン
answer = Math.multiplyExact(a, c);
}
if(Math.multiplyExact(a, c) > answer) {
answer = Math.multiplyExact(a, c);
}
if(Math.multiplyExact(a, d) > answer) {
answer = Math.multiplyExact(a, d);
}
if(Math.multiplyExact(b, c) > answer) {
answer = Math.multiplyExact(b, c);
}
if(Math.multiplyExact(b, d) > answer) {
answer = Math.multiplyExact(b, d);
}
System.out.print(answer);
}
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) {
//noinspection CallToPrintStackTrace
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
final int[] a = new int[n];
for (int i = 0; i < n; i++) { a[i] = nextInt(); }
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
41,
13,
2,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
41,
13,
2,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
41,
13,
2,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
105,
5
],
[
105,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
8,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
53,
57
],
[
8,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
61,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
66,
70
],
[
8,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
74,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
79,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
92,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
97,
101
],
[
6,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
]
| [
"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\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong e = Math.max(a,b) * Math.max(c, d);\n\t\tlong f = Math.max(a,b) * Math.min(c, d);\n\t\tlong g = Math.min(a,b) * Math.max(c, d);\n\t\tlong h = Math.min(a,b) * Math.min(c, d);\n\t\tSystem.out.println(Math.max(Math.max(e,f),Math.max(g, h)));\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong e = Math.max(a,b) * Math.max(c, d);\n\t\tlong f = Math.max(a,b) * Math.min(c, d);\n\t\tlong g = Math.min(a,b) * Math.max(c, d);\n\t\tlong h = Math.min(a,b) * Math.min(c, d);\n\t\tSystem.out.println(Math.max(Math.max(e,f),Math.max(g, h)));\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong e = Math.max(a,b) * Math.max(c, d);\n\t\tlong f = Math.max(a,b) * Math.min(c, d);\n\t\tlong g = Math.min(a,b) * Math.max(c, d);\n\t\tlong h = Math.min(a,b) * Math.min(c, d);\n\t\tSystem.out.println(Math.max(Math.max(e,f),Math.max(g, h)));\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong e = Math.max(a,b) * Math.max(c, d);\n\t\tlong f = Math.max(a,b) * Math.min(c, d);\n\t\tlong g = Math.min(a,b) * Math.max(c, d);\n\t\tlong h = Math.min(a,b) * Math.min(c, d);\n\t\tSystem.out.println(Math.max(Math.max(e,f),Math.max(g, h)));\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long e = Math.max(a,b) * Math.max(c, d);",
"e",
"Math.max(a,b) * Math.max(c, d)",
"Math.max(a,b)",
"Math.max",
"Math",
"a",
"b",
"Math.max(c, d)",
"Math.max",
"Math",
"c",
"d",
"long f = Math.max(a,b) * Math.min(c, d);",
"f",
"Math.max(a,b) * Math.min(c, d)",
"Math.max(a,b)",
"Math.max",
"Math",
"a",
"b",
"Math.min(c, d)",
"Math.min",
"Math",
"c",
"d",
"long g = Math.min(a,b) * Math.max(c, d);",
"g",
"Math.min(a,b) * Math.max(c, d)",
"Math.min(a,b)",
"Math.min",
"Math",
"a",
"b",
"Math.max(c, d)",
"Math.max",
"Math",
"c",
"d",
"long h = Math.min(a,b) * Math.min(c, d);",
"h",
"Math.min(a,b) * Math.min(c, d)",
"Math.min(a,b)",
"Math.min",
"Math",
"a",
"b",
"Math.min(c, d)",
"Math.min",
"Math",
"c",
"d",
"System.out.println(Math.max(Math.max(e,f),Math.max(g, h)))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.max(Math.max(e,f),Math.max(g, h))",
"Math.max",
"Math",
"Math.max(e,f)",
"Math.max",
"Math",
"e",
"f",
"Math.max(g, h)",
"Math.max",
"Math",
"g",
"h",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong e = Math.max(a,b) * Math.max(c, d);\n\t\tlong f = Math.max(a,b) * Math.min(c, d);\n\t\tlong g = Math.min(a,b) * Math.max(c, d);\n\t\tlong h = Math.min(a,b) * Math.min(c, d);\n\t\tSystem.out.println(Math.max(Math.max(e,f),Math.max(g, h)));\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong e = Math.max(a,b) * Math.max(c, d);\n\t\tlong f = Math.max(a,b) * Math.min(c, d);\n\t\tlong g = Math.min(a,b) * Math.max(c, d);\n\t\tlong h = Math.min(a,b) * Math.min(c, d);\n\t\tSystem.out.println(Math.max(Math.max(e,f),Math.max(g, h)));\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
long e = Math.max(a,b) * Math.max(c, d);
long f = Math.max(a,b) * Math.min(c, d);
long g = Math.min(a,b) * Math.max(c, d);
long h = Math.min(a,b) * Math.min(c, d);
System.out.println(Math.max(Math.max(e,f),Math.max(g, h)));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
8,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
8,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long a = Integer.parseInt(scan.next());\n long b = Integer.parseInt(scan.next());\n long c = Integer.parseInt(scan.next());\n long d = Integer.parseInt(scan.next());\n scan.close();\n\n long max = a * c;\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long a = Integer.parseInt(scan.next());\n long b = Integer.parseInt(scan.next());\n long c = Integer.parseInt(scan.next());\n long d = Integer.parseInt(scan.next());\n scan.close();\n\n long max = a * c;\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long a = Integer.parseInt(scan.next());\n long b = Integer.parseInt(scan.next());\n long c = Integer.parseInt(scan.next());\n long d = Integer.parseInt(scan.next());\n scan.close();\n\n long max = a * c;\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long a = Integer.parseInt(scan.next());\n long b = Integer.parseInt(scan.next());\n long c = Integer.parseInt(scan.next());\n long d = Integer.parseInt(scan.next());\n scan.close();\n\n long max = a * c;\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long a = Integer.parseInt(scan.next());",
"a",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"long b = Integer.parseInt(scan.next());",
"b",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"long c = Integer.parseInt(scan.next());",
"c",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"long d = Integer.parseInt(scan.next());",
"d",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"scan.close()",
"scan.close",
"scan",
"long max = a * c;",
"max",
"a * c",
"a",
"c",
"max = Math.max(max, a * d)",
"max",
"Math.max(max, a * d)",
"Math.max",
"Math",
"max",
"a * d",
"a",
"d",
"max = Math.max(max, b * c)",
"max",
"Math.max(max, b * c)",
"Math.max",
"Math",
"max",
"b * c",
"b",
"c",
"max = Math.max(max, b * d)",
"max",
"Math.max(max, b * d)",
"Math.max",
"Math",
"max",
"b * d",
"b",
"d",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long a = Integer.parseInt(scan.next());\n long b = Integer.parseInt(scan.next());\n long c = Integer.parseInt(scan.next());\n long d = Integer.parseInt(scan.next());\n scan.close();\n\n long max = a * c;\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long a = Integer.parseInt(scan.next());\n long b = Integer.parseInt(scan.next());\n long c = Integer.parseInt(scan.next());\n long d = Integer.parseInt(scan.next());\n scan.close();\n\n long max = a * c;\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n }\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long a = Integer.parseInt(scan.next());
long b = Integer.parseInt(scan.next());
long c = Integer.parseInt(scan.next());
long d = Integer.parseInt(scan.next());
scan.close();
long max = a * c;
max = Math.max(max, a * d);
max = Math.max(max, b * c);
max = Math.max(max, b * d);
System.out.println(max);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
30,
29,
2,
4,
13,
2,
13,
17,
4,
13,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
18,
13,
17,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
13,
30,
0,
18,
18,
13,
13,
13,
17,
30,
0,
18,
18,
13,
13,
13,
2,
18,
18,
13,
2,
13,
17,
2,
13,
17,
18,
18,
13,
13,
2,
13,
17,
29,
18,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
20,
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
],
[
280,
5
],
[
280,
6
],
[
6,
7
],
[
6,
8
],
[
280,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
11,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
11,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
11,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
72,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
85,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
11,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
280,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
106,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
115,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
103,
126
],
[
126,
127
],
[
280,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
136,
141
],
[
141,
142
],
[
141,
143
],
[
136,
144
],
[
144,
145
],
[
145,
146
],
[
136,
147
],
[
148,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
149,
155
],
[
130,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
156,
161
],
[
161,
162
],
[
161,
163
],
[
156,
164
],
[
164,
165
],
[
165,
166
],
[
156,
167
],
[
168,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
169,
175
],
[
130,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
176,
181
],
[
181,
182
],
[
181,
183
],
[
176,
184
],
[
184,
185
],
[
185,
186
],
[
176,
187
],
[
188,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
189,
194
],
[
194,
195
],
[
194,
196
],
[
189,
197
],
[
197,
198
],
[
198,
199
],
[
189,
200
],
[
201,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
208,
212
],
[
207,
213
],
[
202,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
215,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
225,
227
],
[
222,
228
],
[
228,
229
],
[
228,
230
],
[
221,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
235,
236
],
[
235,
237
],
[
130,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
128,
244
],
[
244,
245
],
[
128,
246
],
[
246,
247
],
[
280,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
248,
254
],
[
254,
255
],
[
280,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
256,
260
],
[
260,
261
],
[
256,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
265,
269
],
[
264,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
270,
274
],
[
262,
275
],
[
275,
276
],
[
262,
277
],
[
277,
278
],
[
0,
279
],
[
279,
280
],
[
279,
281
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\tpublic static Scanner sc = new Scanner(System.in);\n public void run() throws Exception {\n\n \tScanner sc = new Scanner(System.in);\n \tlong aa[] = new long[4];\n \tlong a = sc.nextLong();\n \tlong b = sc.nextLong();\n \tlong c = sc.nextLong();\n \tlong d = sc.nextLong();\n \taa[0] = a*c;\n \taa[1] = a*d;\n \taa[2] = b*c;\n \taa[3] = b*d;\n\n \tlong res = Long.MIN_VALUE;\n \tfor(int i=0; i<4;i++){\n \t\tif(res<aa[i]){\n \t\t\tres = aa[i];\n \t\t}\n \t}\n\n/* \tint n = 5;\n \t\t\tint []aaa = {2, 0, 9, 0, -5};\n \t\t\tint res = -10000000;\n \t\t\tfor(int i=0; i<n;i++){\n \t\t\t\tif(res<aaa[i]){\n \t\t\t\t\tres = aaa[i];\n \t\t\t\t}\n \t\t\t}*/\n\t\tSystem.out.println(res);\n\t\t\n\t\t\n }\n //再帰\n static long fib(int n){\n\t if (n <= 1){\n\t \treturn 1;\n\t }else{\n\t \treturn fib(n-1) + fib(n-2);\n\t }\n\t}\n\n\n //動的計画法 DP\n static long nCr(int n,int r) {\n \t int dp[][]=new int[2001][2001];\n \t for(int i=0;i<2001;i++) {\n \t dp[0][i]=0;\n \t }\n \t for(int i=0;i<2001;i++) {\n \t dp[i][0]=1;\n \t }\n \t for(int i=1;i<2001;i++) {\n \t for(int j=1;j<2001;j++) {\n \t if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }\n \t }\n \t }\n \t return dp[n][r];\n \t}\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n //2 つの Key をもつ Map.pair は二つの要素を入れる入れ物\n class pair{\n \t int wt,val;\n \t pair(int wt,int val){\n \t this.wt=wt;\n \t this.val=val;\n \t }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static Scanner sc = new Scanner(System.in);\n public void run() throws Exception {\n\n \tScanner sc = new Scanner(System.in);\n \tlong aa[] = new long[4];\n \tlong a = sc.nextLong();\n \tlong b = sc.nextLong();\n \tlong c = sc.nextLong();\n \tlong d = sc.nextLong();\n \taa[0] = a*c;\n \taa[1] = a*d;\n \taa[2] = b*c;\n \taa[3] = b*d;\n\n \tlong res = Long.MIN_VALUE;\n \tfor(int i=0; i<4;i++){\n \t\tif(res<aa[i]){\n \t\t\tres = aa[i];\n \t\t}\n \t}\n\n/* \tint n = 5;\n \t\t\tint []aaa = {2, 0, 9, 0, -5};\n \t\t\tint res = -10000000;\n \t\t\tfor(int i=0; i<n;i++){\n \t\t\t\tif(res<aaa[i]){\n \t\t\t\t\tres = aaa[i];\n \t\t\t\t}\n \t\t\t}*/\n\t\tSystem.out.println(res);\n\t\t\n\t\t\n }\n //再帰\n static long fib(int n){\n\t if (n <= 1){\n\t \treturn 1;\n\t }else{\n\t \treturn fib(n-1) + fib(n-2);\n\t }\n\t}\n\n\n //動的計画法 DP\n static long nCr(int n,int r) {\n \t int dp[][]=new int[2001][2001];\n \t for(int i=0;i<2001;i++) {\n \t dp[0][i]=0;\n \t }\n \t for(int i=0;i<2001;i++) {\n \t dp[i][0]=1;\n \t }\n \t for(int i=1;i<2001;i++) {\n \t for(int j=1;j<2001;j++) {\n \t if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }\n \t }\n \t }\n \t return dp[n][r];\n \t}\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n //2 つの Key をもつ Map.pair は二つの要素を入れる入れ物\n class pair{\n \t int wt,val;\n \t pair(int wt,int val){\n \t this.wt=wt;\n \t this.val=val;\n \t }\n }\n}",
"Main",
"public static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public void run() throws Exception {\n\n \tScanner sc = new Scanner(System.in);\n \tlong aa[] = new long[4];\n \tlong a = sc.nextLong();\n \tlong b = sc.nextLong();\n \tlong c = sc.nextLong();\n \tlong d = sc.nextLong();\n \taa[0] = a*c;\n \taa[1] = a*d;\n \taa[2] = b*c;\n \taa[3] = b*d;\n\n \tlong res = Long.MIN_VALUE;\n \tfor(int i=0; i<4;i++){\n \t\tif(res<aa[i]){\n \t\t\tres = aa[i];\n \t\t}\n \t}\n\n/* \tint n = 5;\n \t\t\tint []aaa = {2, 0, 9, 0, -5};\n \t\t\tint res = -10000000;\n \t\t\tfor(int i=0; i<n;i++){\n \t\t\t\tif(res<aaa[i]){\n \t\t\t\t\tres = aaa[i];\n \t\t\t\t}\n \t\t\t}*/\n\t\tSystem.out.println(res);\n\t\t\n\t\t\n }",
"run",
"{\n\n \tScanner sc = new Scanner(System.in);\n \tlong aa[] = new long[4];\n \tlong a = sc.nextLong();\n \tlong b = sc.nextLong();\n \tlong c = sc.nextLong();\n \tlong d = sc.nextLong();\n \taa[0] = a*c;\n \taa[1] = a*d;\n \taa[2] = b*c;\n \taa[3] = b*d;\n\n \tlong res = Long.MIN_VALUE;\n \tfor(int i=0; i<4;i++){\n \t\tif(res<aa[i]){\n \t\t\tres = aa[i];\n \t\t}\n \t}\n\n/* \tint n = 5;\n \t\t\tint []aaa = {2, 0, 9, 0, -5};\n \t\t\tint res = -10000000;\n \t\t\tfor(int i=0; i<n;i++){\n \t\t\t\tif(res<aaa[i]){\n \t\t\t\t\tres = aaa[i];\n \t\t\t\t}\n \t\t\t}*/\n\t\tSystem.out.println(res);\n\t\t\n\t\t\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long aa[] = new long[4];",
"aa",
"new long[4]",
"4",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"aa[0] = a*c",
"aa[0]",
"aa",
"0",
"a*c",
"a",
"c",
"aa[1] = a*d",
"aa[1]",
"aa",
"1",
"a*d",
"a",
"d",
"aa[2] = b*c",
"aa[2]",
"aa",
"2",
"b*c",
"b",
"c",
"aa[3] = b*d",
"aa[3]",
"aa",
"3",
"b*d",
"b",
"d",
"long res = Long.MIN_VALUE;",
"res",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"for(int i=0; i<4;i++){\n \t\tif(res<aa[i]){\n \t\t\tres = aa[i];\n \t\t}\n \t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<4",
"i",
"4",
"i++",
"i++",
"i",
"{\n \t\tif(res<aa[i]){\n \t\t\tres = aa[i];\n \t\t}\n \t}",
"{\n \t\tif(res<aa[i]){\n \t\t\tres = aa[i];\n \t\t}\n \t}",
"if(res<aa[i]){\n \t\t\tres = aa[i];\n \t\t}",
"res<aa[i]",
"res",
"aa[i]",
"aa",
"i",
"{\n \t\t\tres = aa[i];\n \t\t}",
"res = aa[i]",
"res",
"aa[i]",
"aa",
"i",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"//再帰\n static long fib(int n){\n\t if (n <= 1){\n\t \treturn 1;\n\t }else{\n\t \treturn fib(n-1) + fib(n-2);\n\t }\n\t}",
"fib",
"{\n\t if (n <= 1){\n\t \treturn 1;\n\t }else{\n\t \treturn fib(n-1) + fib(n-2);\n\t }\n\t}",
"if (n <= 1){\n\t \treturn 1;\n\t }else{\n\t \treturn fib(n-1) + fib(n-2);\n\t }",
"n <= 1",
"n",
"1",
"{\n\t \treturn 1;\n\t }",
"return 1;",
"1",
"{\n\t \treturn fib(n-1) + fib(n-2);\n\t }",
"return fib(n-1) + fib(n-2);",
"fib(n-1) + fib(n-2)",
"fib(n-1)",
"fib",
"n-1",
"n",
"1",
"fib(n-2)",
"fib",
"n-2",
"n",
"2",
"int n",
"n",
"//動的計画法 DP\n static long nCr(int n,int r) {\n \t int dp[][]=new int[2001][2001];\n \t for(int i=0;i<2001;i++) {\n \t dp[0][i]=0;\n \t }\n \t for(int i=0;i<2001;i++) {\n \t dp[i][0]=1;\n \t }\n \t for(int i=1;i<2001;i++) {\n \t for(int j=1;j<2001;j++) {\n \t if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }\n \t }\n \t }\n \t return dp[n][r];\n \t}",
"nCr",
"{\n \t int dp[][]=new int[2001][2001];\n \t for(int i=0;i<2001;i++) {\n \t dp[0][i]=0;\n \t }\n \t for(int i=0;i<2001;i++) {\n \t dp[i][0]=1;\n \t }\n \t for(int i=1;i<2001;i++) {\n \t for(int j=1;j<2001;j++) {\n \t if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }\n \t }\n \t }\n \t return dp[n][r];\n \t}",
"int dp[][]=new int[2001][2001];",
"dp",
"new int[2001][2001]",
"2001",
"2001",
"for(int i=0;i<2001;i++) {\n \t dp[0][i]=0;\n \t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<2001",
"i",
"2001",
"i++",
"i++",
"i",
"{\n \t dp[0][i]=0;\n \t }",
"{\n \t dp[0][i]=0;\n \t }",
"dp[0][i]=0",
"dp[0][i]",
"dp[0]",
"dp",
"0",
"i",
"0",
"for(int i=0;i<2001;i++) {\n \t dp[i][0]=1;\n \t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<2001",
"i",
"2001",
"i++",
"i++",
"i",
"{\n \t dp[i][0]=1;\n \t }",
"{\n \t dp[i][0]=1;\n \t }",
"dp[i][0]=1",
"dp[i][0]",
"dp[i]",
"dp",
"i",
"0",
"1",
"for(int i=1;i<2001;i++) {\n \t for(int j=1;j<2001;j++) {\n \t if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }\n \t }\n \t }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<2001",
"i",
"2001",
"i++",
"i++",
"i",
"{\n \t for(int j=1;j<2001;j++) {\n \t if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }\n \t }\n \t }",
"{\n \t for(int j=1;j<2001;j++) {\n \t if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }\n \t }\n \t }",
"for(int j=1;j<2001;j++) {\n \t if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }\n \t }",
"int j=1;",
"int j=1;",
"j",
"1",
"j<2001",
"j",
"2001",
"j++",
"j++",
"j",
"{\n \t if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }\n \t }",
"{\n \t if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }\n \t }",
"if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }",
"i==j",
"i",
"j",
"{\n \t dp[i][j]=1;\n \t }",
"dp[i][j]=1",
"dp[i][j]",
"dp[i]",
"dp",
"i",
"j",
"1",
"{\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }",
"dp[i][j]=dp[i-1][j-1]+dp[i][j-1]",
"dp[i][j]",
"dp[i]",
"dp",
"i",
"j",
"dp[i-1][j-1]+dp[i][j-1]",
"dp[i-1][j-1]",
"dp[i-1]",
"dp",
"i-1",
"i",
"1",
"j-1",
"j",
"1",
"dp[i][j-1]",
"dp[i]",
"dp",
"i",
"j-1",
"j",
"1",
"return dp[n][r];",
"dp[n][r]",
"dp[n]",
"dp",
"n",
"r",
"int n",
"n",
"int r",
"r",
"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",
"class pair{\n \t int wt,val;\n \t pair(int wt,int val){\n \t this.wt=wt;\n \t this.val=val;\n \t }\n }",
"pair",
"int wt",
"wt",
"val;",
"val",
"pair(int wt,int val){\n \t this.wt=wt;\n \t this.val=val;\n \t }",
"pair",
"{\n \t this.wt=wt;\n \t this.val=val;\n \t }",
"this.wt=wt",
"this.wt",
"this",
"this.wt",
"wt",
"this.val=val",
"this.val",
"this",
"this.val",
"val",
"int wt",
"wt",
"int val",
"val",
"public class Main {\n\tpublic static Scanner sc = new Scanner(System.in);\n public void run() throws Exception {\n\n \tScanner sc = new Scanner(System.in);\n \tlong aa[] = new long[4];\n \tlong a = sc.nextLong();\n \tlong b = sc.nextLong();\n \tlong c = sc.nextLong();\n \tlong d = sc.nextLong();\n \taa[0] = a*c;\n \taa[1] = a*d;\n \taa[2] = b*c;\n \taa[3] = b*d;\n\n \tlong res = Long.MIN_VALUE;\n \tfor(int i=0; i<4;i++){\n \t\tif(res<aa[i]){\n \t\t\tres = aa[i];\n \t\t}\n \t}\n\n/* \tint n = 5;\n \t\t\tint []aaa = {2, 0, 9, 0, -5};\n \t\t\tint res = -10000000;\n \t\t\tfor(int i=0; i<n;i++){\n \t\t\t\tif(res<aaa[i]){\n \t\t\t\t\tres = aaa[i];\n \t\t\t\t}\n \t\t\t}*/\n\t\tSystem.out.println(res);\n\t\t\n\t\t\n }\n //再帰\n static long fib(int n){\n\t if (n <= 1){\n\t \treturn 1;\n\t }else{\n\t \treturn fib(n-1) + fib(n-2);\n\t }\n\t}\n\n\n //動的計画法 DP\n static long nCr(int n,int r) {\n \t int dp[][]=new int[2001][2001];\n \t for(int i=0;i<2001;i++) {\n \t dp[0][i]=0;\n \t }\n \t for(int i=0;i<2001;i++) {\n \t dp[i][0]=1;\n \t }\n \t for(int i=1;i<2001;i++) {\n \t for(int j=1;j<2001;j++) {\n \t if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }\n \t }\n \t }\n \t return dp[n][r];\n \t}\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n //2 つの Key をもつ Map.pair は二つの要素を入れる入れ物\n class pair{\n \t int wt,val;\n \t pair(int wt,int val){\n \t this.wt=wt;\n \t this.val=val;\n \t }\n }\n}",
"public class Main {\n\tpublic static Scanner sc = new Scanner(System.in);\n public void run() throws Exception {\n\n \tScanner sc = new Scanner(System.in);\n \tlong aa[] = new long[4];\n \tlong a = sc.nextLong();\n \tlong b = sc.nextLong();\n \tlong c = sc.nextLong();\n \tlong d = sc.nextLong();\n \taa[0] = a*c;\n \taa[1] = a*d;\n \taa[2] = b*c;\n \taa[3] = b*d;\n\n \tlong res = Long.MIN_VALUE;\n \tfor(int i=0; i<4;i++){\n \t\tif(res<aa[i]){\n \t\t\tres = aa[i];\n \t\t}\n \t}\n\n/* \tint n = 5;\n \t\t\tint []aaa = {2, 0, 9, 0, -5};\n \t\t\tint res = -10000000;\n \t\t\tfor(int i=0; i<n;i++){\n \t\t\t\tif(res<aaa[i]){\n \t\t\t\t\tres = aaa[i];\n \t\t\t\t}\n \t\t\t}*/\n\t\tSystem.out.println(res);\n\t\t\n\t\t\n }\n //再帰\n static long fib(int n){\n\t if (n <= 1){\n\t \treturn 1;\n\t }else{\n\t \treturn fib(n-1) + fib(n-2);\n\t }\n\t}\n\n\n //動的計画法 DP\n static long nCr(int n,int r) {\n \t int dp[][]=new int[2001][2001];\n \t for(int i=0;i<2001;i++) {\n \t dp[0][i]=0;\n \t }\n \t for(int i=0;i<2001;i++) {\n \t dp[i][0]=1;\n \t }\n \t for(int i=1;i<2001;i++) {\n \t for(int j=1;j<2001;j++) {\n \t if(i==j) {\n \t dp[i][j]=1;\n \t }else {\n \t dp[i][j]=dp[i-1][j-1]+dp[i][j-1];\n \t }\n \t }\n \t }\n \t return dp[n][r];\n \t}\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n //2 つの Key をもつ Map.pair は二つの要素を入れる入れ物\n class pair{\n \t int wt,val;\n \t pair(int wt,int val){\n \t this.wt=wt;\n \t this.val=val;\n \t }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static Scanner sc = new Scanner(System.in);
public void run() throws Exception {
Scanner sc = new Scanner(System.in);
long aa[] = new long[4];
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
aa[0] = a*c;
aa[1] = a*d;
aa[2] = b*c;
aa[3] = b*d;
long res = Long.MIN_VALUE;
for(int i=0; i<4;i++){
if(res<aa[i]){
res = aa[i];
}
}
/* int n = 5;
int []aaa = {2, 0, 9, 0, -5};
int res = -10000000;
for(int i=0; i<n;i++){
if(res<aaa[i]){
res = aaa[i];
}
}*/
System.out.println(res);
}
//再帰
static long fib(int n){
if (n <= 1){
return 1;
}else{
return fib(n-1) + fib(n-2);
}
}
//動的計画法 DP
static long nCr(int n,int r) {
int dp[][]=new int[2001][2001];
for(int i=0;i<2001;i++) {
dp[0][i]=0;
}
for(int i=0;i<2001;i++) {
dp[i][0]=1;
}
for(int i=1;i<2001;i++) {
for(int j=1;j<2001;j++) {
if(i==j) {
dp[i][j]=1;
}else {
dp[i][j]=dp[i-1][j-1]+dp[i][j-1];
}
}
}
return dp[n][r];
}
public static void main(String[] args) throws Exception {
new Main().run();
}
//2 つの Key をもつ Map.pair は二つの要素を入れる入れ物
class pair{
int wt,val;
pair(int wt,int val){
this.wt=wt;
this.val=val;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
38,
5,
13,
30,
29,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
41,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
7,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
15,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
20,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
20,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
43,
49
],
[
49,
50
],
[
49,
51
],
[
20,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
20,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
68,
72
],
[
7,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
73,
82
],
[
82,
83
]
]
| [
"import java.util.*;\nimport java.math.*;\n\nclass Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tvoid solve() {\n\t\ttry {\n\t\t\tlong a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();\n\t\t\tlong r1 = Math.max(a * c, a * d);\n\t\t\tlong r2 = Math.max(b * c, b * d);\n\t\t\tSystem.out.println(Math.max(r1, r2));\n\t\t} catch (Exception e) {\n\t\t\treturn;\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tMain ob = new Main();\n\t\tob.solve();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\n\tvoid solve() {\n\t\ttry {\n\t\t\tlong a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();\n\t\t\tlong r1 = Math.max(a * c, a * d);\n\t\t\tlong r2 = Math.max(b * c, b * d);\n\t\t\tSystem.out.println(Math.max(r1, r2));\n\t\t} catch (Exception e) {\n\t\t\treturn;\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tMain ob = new Main();\n\t\tob.solve();\n\t}\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"void solve() {\n\t\ttry {\n\t\t\tlong a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();\n\t\t\tlong r1 = Math.max(a * c, a * d);\n\t\t\tlong r2 = Math.max(b * c, b * d);\n\t\t\tSystem.out.println(Math.max(r1, r2));\n\t\t} catch (Exception e) {\n\t\t\treturn;\n\t\t}\n\t}",
"solve",
"{\n\t\ttry {\n\t\t\tlong a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();\n\t\t\tlong r1 = Math.max(a * c, a * d);\n\t\t\tlong r2 = Math.max(b * c, b * d);\n\t\t\tSystem.out.println(Math.max(r1, r2));\n\t\t} catch (Exception e) {\n\t\t\treturn;\n\t\t}\n\t}",
"try {\n\t\t\tlong a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();\n\t\t\tlong r1 = Math.max(a * c, a * d);\n\t\t\tlong r2 = Math.max(b * c, b * d);\n\t\t\tSystem.out.println(Math.max(r1, r2));\n\t\t} catch (Exception e) {\n\t\t\treturn;\n\t\t}",
"catch (Exception e) {\n\t\t\treturn;\n\t\t}",
"Exception e",
"{\n\t\t\treturn;\n\t\t}",
"return;",
"{\n\t\t\tlong a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();\n\t\t\tlong r1 = Math.max(a * c, a * d);\n\t\t\tlong r2 = Math.max(b * c, b * d);\n\t\t\tSystem.out.println(Math.max(r1, r2));\n\t\t}",
"long a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"c = sc.nextInt()",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long r1 = Math.max(a * c, a * d);",
"r1",
"Math.max(a * c, a * d)",
"Math.max",
"Math",
"a * c",
"a",
"c",
"a * d",
"a",
"d",
"long r2 = Math.max(b * c, b * d);",
"r2",
"Math.max(b * c, b * d)",
"Math.max",
"Math",
"b * c",
"b",
"c",
"b * d",
"b",
"d",
"System.out.println(Math.max(r1, r2))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.max(r1, r2)",
"Math.max",
"Math",
"r1",
"r2",
"public static void main(String[] args) {\n\t\tMain ob = new Main();\n\t\tob.solve();\n\t}",
"main",
"{\n\t\tMain ob = new Main();\n\t\tob.solve();\n\t}",
"Main ob = new Main();",
"ob",
"new Main()",
"ob.solve()",
"ob.solve",
"ob",
"String[] args",
"args"
]
| import java.util.*;
import java.math.*;
class Main {
static Scanner sc = new Scanner(System.in);
void solve() {
try {
long a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), d = sc.nextInt();
long r1 = Math.max(a * c, a * d);
long r2 = Math.max(b * c, b * d);
System.out.println(Math.max(r1, r2));
} catch (Exception e) {
return;
}
}
public static void main(String[] args) {
Main ob = new Main();
ob.solve();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
13,
13,
13,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
41,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
13,
23,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
90,
5
],
[
90,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
35,
40
],
[
35,
41
],
[
6,
42
],
[
42,
43
],
[
90,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
48,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
68,
69
],
[
68,
70
],
[
48,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
76,
80
],
[
46,
81
],
[
81,
82
],
[
46,
83
],
[
83,
84
],
[
46,
85
],
[
85,
86
],
[
46,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
]
| [
"//package Test;\n\nimport java.util.*;\n\npublic class Main {\n\n static class Solution {\n\n void solve(long a, long b, long c, long d){\n long ans1 = Math.max(a * c, a * d);\n long ans2 = Math.max(b * c, b * d);\n System.out.println(Math.max(ans1, ans2));\n }\n }\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n Solution solution = new Solution();\n solution.solve(a, b, c, d);\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n static class Solution {\n\n void solve(long a, long b, long c, long d){\n long ans1 = Math.max(a * c, a * d);\n long ans2 = Math.max(b * c, b * d);\n System.out.println(Math.max(ans1, ans2));\n }\n }\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n Solution solution = new Solution();\n solution.solve(a, b, c, d);\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n Solution solution = new Solution();\n solution.solve(a, b, c, d);\n\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n Solution solution = new Solution();\n solution.solve(a, b, c, d);\n\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long a = scanner.nextLong();",
"a",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long b = scanner.nextLong();",
"b",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long c = scanner.nextLong();",
"c",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"long d = scanner.nextLong();",
"d",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"Solution solution = new Solution();",
"solution",
"new Solution()",
"solution.solve(a, b, c, d)",
"solution.solve",
"solution",
"a",
"b",
"c",
"d",
"String[] args",
"args",
"static class Solution {\n\n void solve(long a, long b, long c, long d){\n long ans1 = Math.max(a * c, a * d);\n long ans2 = Math.max(b * c, b * d);\n System.out.println(Math.max(ans1, ans2));\n }\n }",
"Solution",
"void solve(long a, long b, long c, long d){\n long ans1 = Math.max(a * c, a * d);\n long ans2 = Math.max(b * c, b * d);\n System.out.println(Math.max(ans1, ans2));\n }",
"solve",
"{\n long ans1 = Math.max(a * c, a * d);\n long ans2 = Math.max(b * c, b * d);\n System.out.println(Math.max(ans1, ans2));\n }",
"long ans1 = Math.max(a * c, a * d);",
"ans1",
"Math.max(a * c, a * d)",
"Math.max",
"Math",
"a * c",
"a",
"c",
"a * d",
"a",
"d",
"long ans2 = Math.max(b * c, b * d);",
"ans2",
"Math.max(b * c, b * d)",
"Math.max",
"Math",
"b * c",
"b",
"c",
"b * d",
"b",
"d",
"System.out.println(Math.max(ans1, ans2))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.max(ans1, ans2)",
"Math.max",
"Math",
"ans1",
"ans2",
"long a",
"a",
"long b",
"b",
"long c",
"c",
"long d",
"d",
"public class Main {\n\n static class Solution {\n\n void solve(long a, long b, long c, long d){\n long ans1 = Math.max(a * c, a * d);\n long ans2 = Math.max(b * c, b * d);\n System.out.println(Math.max(ans1, ans2));\n }\n }\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n Solution solution = new Solution();\n solution.solve(a, b, c, d);\n\n }\n}",
"public class Main {\n\n static class Solution {\n\n void solve(long a, long b, long c, long d){\n long ans1 = Math.max(a * c, a * d);\n long ans2 = Math.max(b * c, b * d);\n System.out.println(Math.max(ans1, ans2));\n }\n }\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextLong();\n long b = scanner.nextLong();\n long c = scanner.nextLong();\n long d = scanner.nextLong();\n Solution solution = new Solution();\n solution.solve(a, b, c, d);\n\n }\n}",
"Main"
]
| //package Test;
import java.util.*;
public class Main {
static class Solution {
void solve(long a, long b, long c, long d){
long ans1 = Math.max(a * c, a * d);
long ans2 = Math.max(b * c, b * d);
System.out.println(Math.max(ans1, ans2));
}
}
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
long a = scanner.nextLong();
long b = scanner.nextLong();
long c = scanner.nextLong();
long d = scanner.nextLong();
Solution solution = new Solution();
solution.solve(a, b, c, d);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
13,
41,
13,
4,
18,
13,
13,
13,
41,
13,
4,
18,
13,
13,
13,
41,
13,
4,
18,
13,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
2,
13,
13,
2,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
329,
23
],
[
329,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
46,
51
],
[
26,
52
],
[
52,
53
],
[
53,
54
],
[
24,
55
],
[
55,
56
],
[
329,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
61,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
61,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
84,
88
],
[
61,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
91,
95
],
[
61,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
98,
102
],
[
61,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
105,
109
],
[
61,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
122,
124
],
[
119,
125
],
[
125,
126
],
[
125,
127
],
[
116,
128
],
[
128,
129
],
[
128,
130
],
[
113,
131
],
[
131,
132
],
[
131,
133
],
[
59,
134
],
[
134,
135
],
[
59,
136
],
[
136,
137
],
[
59,
138
],
[
138,
139
],
[
329,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
140,
144
],
[
144,
145
],
[
144,
146
],
[
140,
148
],
[
148,
149
],
[
140,
150
],
[
150,
151
],
[
140,
152
],
[
152,
153
],
[
140,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
154,
162
],
[
162,
163
],
[
140,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
167,
172
],
[
172,
173
],
[
173,
174
],
[
166,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
183,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
192,
195
],
[
179,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
166,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
140,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
211,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
211,
225
],
[
225,
226
],
[
225,
227
],
[
211,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
232,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
211,
241
],
[
241,
242
],
[
241,
243
],
[
211,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
244,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
255
],
[
255,
256
],
[
255,
257
],
[
250,
258
],
[
258,
259
],
[
259,
260
],
[
249,
261
],
[
261,
262
],
[
261,
263
],
[
249,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
266,
268
],
[
249,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
211,
273
],
[
273,
274
],
[
274,
275
],
[
274,
276
],
[
140,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
286,
289
],
[
279,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
277,
294
],
[
294,
295
],
[
140,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
299,
300
],
[
303,
301
],
[
313,
302
],
[
310,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
303,
307
],
[
307,
308
],
[
307,
309
],
[
310,
310
],
[
310,
311
],
[
310,
312
],
[
313,
313
],
[
313,
314
],
[
313,
315
],
[
303,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
296,
320
],
[
320,
321
],
[
140,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
0,
328
],
[
328,
329
],
[
328,
330
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BProductMax {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int a = in.nextInt();\n int b = in.nextInt();\n int c = in.nextInt();\n int d = in.nextInt();\n\n long max1 = Math.max(a, b);\n long max2 = Math.max(c, d);\n long min1 = Math.min(a, b);\n long min2 = Math.min(c, d);\n\n out.println(Math.max(Math.max(Math.max(max1 * max2, max1 * min2), max2 * min1), min1 * min2));\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 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",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BProductMax {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int a = in.nextInt();\n int b = in.nextInt();\n int c = in.nextInt();\n int d = in.nextInt();\n\n long max1 = Math.max(a, b);\n long max2 = Math.max(c, d);\n long min1 = Math.min(a, b);\n long min2 = Math.min(c, d);\n\n out.println(Math.max(Math.max(Math.max(max1 * max2, max1 * min2), max2 * min1), min1 * min2));\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 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}",
"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 BProductMax solver = new BProductMax();\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 BProductMax solver = new BProductMax();\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)",
"BProductMax solver = new BProductMax();",
"solver",
"new BProductMax()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class BProductMax {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int a = in.nextInt();\n int b = in.nextInt();\n int c = in.nextInt();\n int d = in.nextInt();\n\n long max1 = Math.max(a, b);\n long max2 = Math.max(c, d);\n long min1 = Math.min(a, b);\n long min2 = Math.min(c, d);\n\n out.println(Math.max(Math.max(Math.max(max1 * max2, max1 * min2), max2 * min1), min1 * min2));\n }\n\n }",
"BProductMax",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n int a = in.nextInt();\n int b = in.nextInt();\n int c = in.nextInt();\n int d = in.nextInt();\n\n long max1 = Math.max(a, b);\n long max2 = Math.max(c, d);\n long min1 = Math.min(a, b);\n long min2 = Math.min(c, d);\n\n out.println(Math.max(Math.max(Math.max(max1 * max2, max1 * min2), max2 * min1), min1 * min2));\n }",
"solve",
"{\n int a = in.nextInt();\n int b = in.nextInt();\n int c = in.nextInt();\n int d = in.nextInt();\n\n long max1 = Math.max(a, b);\n long max2 = Math.max(c, d);\n long min1 = Math.min(a, b);\n long min2 = Math.min(c, d);\n\n out.println(Math.max(Math.max(Math.max(max1 * max2, max1 * min2), max2 * min1), min1 * min2));\n }",
"int a = in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int b = in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"int c = in.nextInt();",
"c",
"in.nextInt()",
"in.nextInt",
"in",
"int d = in.nextInt();",
"d",
"in.nextInt()",
"in.nextInt",
"in",
"long max1 = Math.max(a, b);",
"max1",
"Math.max(a, b)",
"Math.max",
"Math",
"a",
"b",
"long max2 = Math.max(c, d);",
"max2",
"Math.max(c, d)",
"Math.max",
"Math",
"c",
"d",
"long min1 = Math.min(a, b);",
"min1",
"Math.min(a, b)",
"Math.min",
"Math",
"a",
"b",
"long min2 = Math.min(c, d);",
"min2",
"Math.min(c, d)",
"Math.min",
"Math",
"c",
"d",
"out.println(Math.max(Math.max(Math.max(max1 * max2, max1 * min2), max2 * min1), min1 * min2))",
"out.println",
"out",
"Math.max(Math.max(Math.max(max1 * max2, max1 * min2), max2 * min1), min1 * min2)",
"Math.max",
"Math",
"Math.max(Math.max(max1 * max2, max1 * min2), max2 * min1)",
"Math.max",
"Math",
"Math.max(max1 * max2, max1 * min2)",
"Math.max",
"Math",
"max1 * max2",
"max1",
"max2",
"max1 * min2",
"max1",
"min2",
"max2 * min1",
"max2",
"min1",
"min1 * min2",
"min1",
"min2",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"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 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 }",
"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 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",
"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 BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BProductMax {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int a = in.nextInt();\n int b = in.nextInt();\n int c = in.nextInt();\n int d = in.nextInt();\n\n long max1 = Math.max(a, b);\n long max2 = Math.max(c, d);\n long min1 = Math.min(a, b);\n long min2 = Math.min(c, d);\n\n out.println(Math.max(Math.max(Math.max(max1 * max2, max1 * min2), max2 * min1), min1 * min2));\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 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}",
"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 BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BProductMax {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int a = in.nextInt();\n int b = in.nextInt();\n int c = in.nextInt();\n int d = in.nextInt();\n\n long max1 = Math.max(a, b);\n long max2 = Math.max(c, d);\n long min1 = Math.min(a, b);\n long min2 = Math.min(c, d);\n\n out.println(Math.max(Math.max(Math.max(max1 * max2, max1 * min2), max2 * min1), min1 * min2));\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 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}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
BProductMax solver = new BProductMax();
solver.solve(1, in, out);
out.close();
}
static class BProductMax {
public void solve(int testNumber, InputReader in, PrintWriter out) {
int a = in.nextInt();
int b = in.nextInt();
int c = in.nextInt();
int d = in.nextInt();
long max1 = Math.max(a, b);
long max2 = Math.max(c, d);
long min1 = Math.min(a, b);
long min2 = Math.min(c, d);
out.println(Math.max(Math.max(Math.max(max1 * max2, max1 * min2), max2 * min1), min1 * min2));
}
}
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 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);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
4,
18,
13,
13,
13,
41,
13,
4,
18,
13,
13,
13,
42,
2,
2,
13,
13,
17,
30,
0,
13,
2,
13,
13,
0,
13,
13,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
42,
2,
40,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
0,
13,
2,
13,
13,
0,
13,
2,
13,
13,
0,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
13,
0,
13,
4,
18,
13,
13,
13,
4,
18,
13,
4,
18,
13,
13,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
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,
18,
13,
13,
13,
29,
2,
13,
18,
13,
13,
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
],
[
378,
8
],
[
378,
9
],
[
9,
10
],
[
378,
11
],
[
11,
12
],
[
378,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
18,
22
],
[
15,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
15,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
36,
42
],
[
42,
43
],
[
42,
44
],
[
36,
45
],
[
45,
46
],
[
45,
47
],
[
15,
48
],
[
48,
49
],
[
13,
50
],
[
50,
51
],
[
13,
52
],
[
52,
53
],
[
378,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
56,
63
],
[
63,
64
],
[
63,
65
],
[
56,
66
],
[
66,
67
],
[
66,
68
],
[
56,
69
],
[
69,
70
],
[
56,
71
],
[
71,
72
],
[
56,
73
],
[
73,
74
],
[
56,
75
],
[
75,
76
],
[
56,
77
],
[
77,
78
],
[
56,
79
],
[
79,
80
],
[
56,
81
],
[
81,
82
],
[
56,
83
],
[
83,
84
],
[
56,
85
],
[
85,
86
],
[
56,
87
],
[
87,
88
],
[
56,
89
],
[
89,
90
],
[
56,
91
],
[
91,
92
],
[
56,
93
],
[
93,
94
],
[
56,
95
],
[
95,
96
],
[
56,
97
],
[
97,
98
],
[
56,
99
],
[
99,
100
],
[
56,
101
],
[
101,
102
],
[
56,
103
],
[
103,
104
],
[
56,
105
],
[
105,
106
],
[
56,
107
],
[
107,
108
],
[
56,
109
],
[
109,
110
],
[
56,
111
],
[
111,
112
],
[
56,
113
],
[
113,
114
],
[
56,
115
],
[
115,
116
],
[
56,
117
],
[
117,
118
],
[
117,
119
],
[
56,
120
],
[
120,
121
],
[
120,
122
],
[
56,
123
],
[
123,
124
],
[
123,
125
],
[
56,
126
],
[
126,
127
],
[
126,
128
],
[
56,
129
],
[
129,
130
],
[
129,
131
],
[
56,
132
],
[
132,
133
],
[
132,
134
],
[
56,
135
],
[
135,
136
],
[
135,
137
],
[
56,
138
],
[
138,
139
],
[
138,
140
],
[
56,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
141,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
150,
153
],
[
149,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
154,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
154,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
154,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
154,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
177,
179
],
[
154,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
182,
184
],
[
154,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
187,
189
],
[
154,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
192,
194
],
[
154,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
197,
200
],
[
197,
201
],
[
154,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
204,
207
],
[
204,
208
],
[
154,
209
],
[
209,
210
],
[
210,
211
],
[
209,
212
],
[
212,
213
],
[
213,
214
],
[
212,
215
],
[
212,
216
],
[
154,
217
],
[
217,
218
],
[
218,
219
],
[
154,
220
],
[
220,
221
],
[
221,
222
],
[
154,
223
],
[
223,
224
],
[
224,
225
],
[
154,
226
],
[
226,
227
],
[
227,
228
],
[
154,
229
],
[
229,
230
],
[
230,
231
],
[
56,
232
],
[
232,
233
],
[
233,
234
],
[
56,
235
],
[
235,
236
],
[
236,
237
],
[
54,
238
],
[
238,
239
],
[
378,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
240,
244
],
[
244,
245
],
[
240,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
240,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
255,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
265,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
254,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
240,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
284,
287
],
[
287,
288
],
[
240,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
293,
296
],
[
296,
297
],
[
240,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
302,
305
],
[
305,
306
],
[
240,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
309,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
317,
318
],
[
318,
319
],
[
313,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
324,
325
],
[
309,
326
],
[
326,
327
],
[
378,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
328,
332
],
[
332,
333
],
[
328,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
338,
340
],
[
337,
341
],
[
336,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
342,
346
],
[
334,
347
],
[
347,
348
],
[
334,
349
],
[
349,
350
],
[
328,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
355,
359
],
[
354,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
363,
364
],
[
363,
365
],
[
353,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
367,
371
],
[
371,
372
],
[
371,
373
],
[
351,
374
],
[
374,
375
],
[
328,
376
],
[
0,
377
],
[
377,
378
],
[
377,
379
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main\n{\n static class Reader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n \n\t\tpublic Reader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tString next() {\n\t\t\twhile (st == null || !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\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\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n \n\t}\n static class Ele implements Comparable<Ele> \n { \n public int x,y; \n Ele(int x,int y) \n { \n this.x=x;this.y=y; \n } \n public int compareTo(Ele ob) { \n if(ob.x!=x)return x-ob.x;\n return this.y-ob.y; \n } \n }\n int a[][];int b[][];\n \n long gcd(long a,long b)\n {\n long min=Math.min(a,b);\n long max=Math.max(a,b);\n while (max%min!=0)\n {\n a=max%min;\n max=min;min=a;\n }\n return min;\n }\n\tpublic static void main(String[] args) throws IOException \n\t{\n\t\tReader sc=new Reader();Main G=new Main();\n\t\tPrintWriter o = new PrintWriter(System.out);\n\t\tint t=1;//t=sc.nextInt();\n\t\tlong x,x0,x1,x2;long y,y0,y1,y2;int s,s0,s1,s2;\n\t\tint n,m;int a[],b[],in[],in1[];\n\t\tlong k,l;boolean b1,b2;String ss1[],ss;\n\t\t//long l;long a[]; \n\t\tArrayList<ArrayList<Integer>> ll=new ArrayList<>();\n\t\tArrayList<Integer> a1=new ArrayList<>();\n\t\tArrayList<Integer> a2=new ArrayList<>();\n\t\tArrayList<Integer> a3=new ArrayList<>();\n\t\tArrayDeque<Integer> deq=new ArrayDeque<>();\n\t\tTreeSet<Integer> h0=new TreeSet<>();\n\t\tTreeSet<Integer> h1=new TreeSet<>();\n\t\tHashMap<Integer,Integer> h=new HashMap<>();\n\t\ttry{\n\t\twhile (t-->0)\n\t\t{\n\t\t x=sc.nextLong();x0=sc.nextLong();\n\t\t x1=sc.nextLong();x2=sc.nextLong();\n\t\t y=x*x1;y0=x*x2;y1=x0*x1;y2=x0*x2;\n\t\t k=Math.max(y,y0);l=Math.max(y1,y2);\n\t\t o.println(Math.max(k,l));\n\t\t //o.println(h);\n\t\t //o.println(x2);\n\t\t //o.println();\n\t\t h0.clear();ll.clear();a1.clear();a2.clear();h1.clear();\n\t\t}\n\t\t}\n\t\tcatch (Throwable e)\n\t\t{\n\t\t e.printStackTrace();\n\t\t}\n\t\t//o.println(\"HI\");\n\t\t\n o.flush();\n o.close();\n\t}\n} ",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n static class Reader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n \n\t\tpublic Reader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tString next() {\n\t\t\twhile (st == null || !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\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\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n \n\t}\n static class Ele implements Comparable<Ele> \n { \n public int x,y; \n Ele(int x,int y) \n { \n this.x=x;this.y=y; \n } \n public int compareTo(Ele ob) { \n if(ob.x!=x)return x-ob.x;\n return this.y-ob.y; \n } \n }\n int a[][];int b[][];\n \n long gcd(long a,long b)\n {\n long min=Math.min(a,b);\n long max=Math.max(a,b);\n while (max%min!=0)\n {\n a=max%min;\n max=min;min=a;\n }\n return min;\n }\n\tpublic static void main(String[] args) throws IOException \n\t{\n\t\tReader sc=new Reader();Main G=new Main();\n\t\tPrintWriter o = new PrintWriter(System.out);\n\t\tint t=1;//t=sc.nextInt();\n\t\tlong x,x0,x1,x2;long y,y0,y1,y2;int s,s0,s1,s2;\n\t\tint n,m;int a[],b[],in[],in1[];\n\t\tlong k,l;boolean b1,b2;String ss1[],ss;\n\t\t//long l;long a[]; \n\t\tArrayList<ArrayList<Integer>> ll=new ArrayList<>();\n\t\tArrayList<Integer> a1=new ArrayList<>();\n\t\tArrayList<Integer> a2=new ArrayList<>();\n\t\tArrayList<Integer> a3=new ArrayList<>();\n\t\tArrayDeque<Integer> deq=new ArrayDeque<>();\n\t\tTreeSet<Integer> h0=new TreeSet<>();\n\t\tTreeSet<Integer> h1=new TreeSet<>();\n\t\tHashMap<Integer,Integer> h=new HashMap<>();\n\t\ttry{\n\t\twhile (t-->0)\n\t\t{\n\t\t x=sc.nextLong();x0=sc.nextLong();\n\t\t x1=sc.nextLong();x2=sc.nextLong();\n\t\t y=x*x1;y0=x*x2;y1=x0*x1;y2=x0*x2;\n\t\t k=Math.max(y,y0);l=Math.max(y1,y2);\n\t\t o.println(Math.max(k,l));\n\t\t //o.println(h);\n\t\t //o.println(x2);\n\t\t //o.println();\n\t\t h0.clear();ll.clear();a1.clear();a2.clear();h1.clear();\n\t\t}\n\t\t}\n\t\tcatch (Throwable e)\n\t\t{\n\t\t e.printStackTrace();\n\t\t}\n\t\t//o.println(\"HI\");\n\t\t\n o.flush();\n o.close();\n\t}\n}",
"Main",
"int a[][];",
"a",
"int b[][];",
"b",
"long gcd(long a,long b)\n {\n long min=Math.min(a,b);\n long max=Math.max(a,b);\n while (max%min!=0)\n {\n a=max%min;\n max=min;min=a;\n }\n return min;\n }",
"gcd",
"{\n long min=Math.min(a,b);\n long max=Math.max(a,b);\n while (max%min!=0)\n {\n a=max%min;\n max=min;min=a;\n }\n return min;\n }",
"long min=Math.min(a,b);",
"min",
"Math.min(a,b)",
"Math.min",
"Math",
"a",
"b",
"long max=Math.max(a,b);",
"max",
"Math.max(a,b)",
"Math.max",
"Math",
"a",
"b",
"while (max%min!=0)\n {\n a=max%min;\n max=min;min=a;\n }",
"max%min!=0",
"max%min",
"max",
"min",
"0",
"{\n a=max%min;\n max=min;min=a;\n }",
"a=max%min",
"a",
"max%min",
"max",
"min",
"max=min",
"max",
"min",
"min=a",
"min",
"a",
"return min;",
"min",
"long a",
"a",
"long b",
"b",
"public static void main(String[] args) throws IOException \n\t{\n\t\tReader sc=new Reader();Main G=new Main();\n\t\tPrintWriter o = new PrintWriter(System.out);\n\t\tint t=1;//t=sc.nextInt();\n\t\tlong x,x0,x1,x2;long y,y0,y1,y2;int s,s0,s1,s2;\n\t\tint n,m;int a[],b[],in[],in1[];\n\t\tlong k,l;boolean b1,b2;String ss1[],ss;\n\t\t//long l;long a[]; \n\t\tArrayList<ArrayList<Integer>> ll=new ArrayList<>();\n\t\tArrayList<Integer> a1=new ArrayList<>();\n\t\tArrayList<Integer> a2=new ArrayList<>();\n\t\tArrayList<Integer> a3=new ArrayList<>();\n\t\tArrayDeque<Integer> deq=new ArrayDeque<>();\n\t\tTreeSet<Integer> h0=new TreeSet<>();\n\t\tTreeSet<Integer> h1=new TreeSet<>();\n\t\tHashMap<Integer,Integer> h=new HashMap<>();\n\t\ttry{\n\t\twhile (t-->0)\n\t\t{\n\t\t x=sc.nextLong();x0=sc.nextLong();\n\t\t x1=sc.nextLong();x2=sc.nextLong();\n\t\t y=x*x1;y0=x*x2;y1=x0*x1;y2=x0*x2;\n\t\t k=Math.max(y,y0);l=Math.max(y1,y2);\n\t\t o.println(Math.max(k,l));\n\t\t //o.println(h);\n\t\t //o.println(x2);\n\t\t //o.println();\n\t\t h0.clear();ll.clear();a1.clear();a2.clear();h1.clear();\n\t\t}\n\t\t}\n\t\tcatch (Throwable e)\n\t\t{\n\t\t e.printStackTrace();\n\t\t}\n\t\t//o.println(\"HI\");\n\t\t\n o.flush();\n o.close();\n\t}",
"main",
"{\n\t\tReader sc=new Reader();Main G=new Main();\n\t\tPrintWriter o = new PrintWriter(System.out);\n\t\tint t=1;//t=sc.nextInt();\n\t\tlong x,x0,x1,x2;long y,y0,y1,y2;int s,s0,s1,s2;\n\t\tint n,m;int a[],b[],in[],in1[];\n\t\tlong k,l;boolean b1,b2;String ss1[],ss;\n\t\t//long l;long a[]; \n\t\tArrayList<ArrayList<Integer>> ll=new ArrayList<>();\n\t\tArrayList<Integer> a1=new ArrayList<>();\n\t\tArrayList<Integer> a2=new ArrayList<>();\n\t\tArrayList<Integer> a3=new ArrayList<>();\n\t\tArrayDeque<Integer> deq=new ArrayDeque<>();\n\t\tTreeSet<Integer> h0=new TreeSet<>();\n\t\tTreeSet<Integer> h1=new TreeSet<>();\n\t\tHashMap<Integer,Integer> h=new HashMap<>();\n\t\ttry{\n\t\twhile (t-->0)\n\t\t{\n\t\t x=sc.nextLong();x0=sc.nextLong();\n\t\t x1=sc.nextLong();x2=sc.nextLong();\n\t\t y=x*x1;y0=x*x2;y1=x0*x1;y2=x0*x2;\n\t\t k=Math.max(y,y0);l=Math.max(y1,y2);\n\t\t o.println(Math.max(k,l));\n\t\t //o.println(h);\n\t\t //o.println(x2);\n\t\t //o.println();\n\t\t h0.clear();ll.clear();a1.clear();a2.clear();h1.clear();\n\t\t}\n\t\t}\n\t\tcatch (Throwable e)\n\t\t{\n\t\t e.printStackTrace();\n\t\t}\n\t\t//o.println(\"HI\");\n\t\t\n o.flush();\n o.close();\n\t}",
"Reader sc=new Reader();",
"sc",
"new Reader()",
"Main G=new Main();",
"G",
"new Main()",
"PrintWriter o = new PrintWriter(System.out);",
"o",
"new PrintWriter(System.out)",
"int t=1;",
"t",
"1",
"long x",
"x",
"x0",
"x0",
"x1",
"x1",
"x2;",
"x2",
"long y",
"y",
"y0",
"y0",
"y1",
"y1",
"y2;",
"y2",
"int s",
"s",
"s0",
"s0",
"s1",
"s1",
"s2;",
"s2",
"int n",
"n",
"m;",
"m",
"int a[]",
"a",
"b[]",
"b",
"in[]",
"in",
"in1[];",
"in1",
"long k",
"k",
"l;",
"l",
"boolean b1",
"b1",
"b2;",
"b2",
"String ss1[]",
"ss1",
"ss;",
"ss",
"ArrayList<ArrayList<Integer>> ll=new ArrayList<>();",
"ll",
"new ArrayList<>()",
"ArrayList<Integer> a1=new ArrayList<>();",
"a1",
"new ArrayList<>()",
"ArrayList<Integer> a2=new ArrayList<>();",
"a2",
"new ArrayList<>()",
"ArrayList<Integer> a3=new ArrayList<>();",
"a3",
"new ArrayList<>()",
"ArrayDeque<Integer> deq=new ArrayDeque<>();",
"deq",
"new ArrayDeque<>()",
"TreeSet<Integer> h0=new TreeSet<>();",
"h0",
"new TreeSet<>()",
"TreeSet<Integer> h1=new TreeSet<>();",
"h1",
"new TreeSet<>()",
"HashMap<Integer,Integer> h=new HashMap<>();",
"h",
"new HashMap<>()",
"try{\n\t\twhile (t-->0)\n\t\t{\n\t\t x=sc.nextLong();x0=sc.nextLong();\n\t\t x1=sc.nextLong();x2=sc.nextLong();\n\t\t y=x*x1;y0=x*x2;y1=x0*x1;y2=x0*x2;\n\t\t k=Math.max(y,y0);l=Math.max(y1,y2);\n\t\t o.println(Math.max(k,l));\n\t\t //o.println(h);\n\t\t //o.println(x2);\n\t\t //o.println();\n\t\t h0.clear();ll.clear();a1.clear();a2.clear();h1.clear();\n\t\t}\n\t\t}\n\t\tcatch (Throwable e)\n\t\t{\n\t\t e.printStackTrace();\n\t\t}",
"catch (Throwable e)\n\t\t{\n\t\t e.printStackTrace();\n\t\t}",
"Throwable e",
"{\n\t\t e.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\twhile (t-->0)\n\t\t{\n\t\t x=sc.nextLong();x0=sc.nextLong();\n\t\t x1=sc.nextLong();x2=sc.nextLong();\n\t\t y=x*x1;y0=x*x2;y1=x0*x1;y2=x0*x2;\n\t\t k=Math.max(y,y0);l=Math.max(y1,y2);\n\t\t o.println(Math.max(k,l));\n\t\t //o.println(h);\n\t\t //o.println(x2);\n\t\t //o.println();\n\t\t h0.clear();ll.clear();a1.clear();a2.clear();h1.clear();\n\t\t}\n\t\t}",
"while (t-->0)\n\t\t{\n\t\t x=sc.nextLong();x0=sc.nextLong();\n\t\t x1=sc.nextLong();x2=sc.nextLong();\n\t\t y=x*x1;y0=x*x2;y1=x0*x1;y2=x0*x2;\n\t\t k=Math.max(y,y0);l=Math.max(y1,y2);\n\t\t o.println(Math.max(k,l));\n\t\t //o.println(h);\n\t\t //o.println(x2);\n\t\t //o.println();\n\t\t h0.clear();ll.clear();a1.clear();a2.clear();h1.clear();\n\t\t}",
"t-->0",
"t--",
"t",
"0",
"{\n\t\t x=sc.nextLong();x0=sc.nextLong();\n\t\t x1=sc.nextLong();x2=sc.nextLong();\n\t\t y=x*x1;y0=x*x2;y1=x0*x1;y2=x0*x2;\n\t\t k=Math.max(y,y0);l=Math.max(y1,y2);\n\t\t o.println(Math.max(k,l));\n\t\t //o.println(h);\n\t\t //o.println(x2);\n\t\t //o.println();\n\t\t h0.clear();ll.clear();a1.clear();a2.clear();h1.clear();\n\t\t}",
"x=sc.nextLong()",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"x0=sc.nextLong()",
"x0",
"sc.nextLong()",
"sc.nextLong",
"sc",
"x1=sc.nextLong()",
"x1",
"sc.nextLong()",
"sc.nextLong",
"sc",
"x2=sc.nextLong()",
"x2",
"sc.nextLong()",
"sc.nextLong",
"sc",
"y=x*x1",
"y",
"x*x1",
"x",
"x1",
"y0=x*x2",
"y0",
"x*x2",
"x",
"x2",
"y1=x0*x1",
"y1",
"x0*x1",
"x0",
"x1",
"y2=x0*x2",
"y2",
"x0*x2",
"x0",
"x2",
"k=Math.max(y,y0)",
"k",
"Math.max(y,y0)",
"Math.max",
"Math",
"y",
"y0",
"l=Math.max(y1,y2)",
"l",
"Math.max(y1,y2)",
"Math.max",
"Math",
"y1",
"y2",
"o.println(Math.max(k,l))",
"o.println",
"o",
"Math.max(k,l)",
"Math.max",
"Math",
"k",
"l",
"h0.clear()",
"h0.clear",
"h0",
"ll.clear()",
"ll.clear",
"ll",
"a1.clear()",
"a1.clear",
"a1",
"a2.clear()",
"a2.clear",
"a2",
"h1.clear()",
"h1.clear",
"h1",
"o.flush()",
"o.flush",
"o",
"o.close()",
"o.close",
"o",
"String[] args",
"args",
"static class Reader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n \n\t\tpublic Reader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tString next() {\n\t\t\twhile (st == null || !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\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\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n \n\t}",
"Reader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public Reader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"Reader",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n\t\t\twhile (st == null || !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\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (st == null || !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\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (st == null || !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\t}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\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\t}",
"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",
"double nextDouble() {\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",
"String nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}",
"nextLine",
"{\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}",
"String str = \"\";",
"str",
"\"\"",
"try {\n\t\t\t\tstr = 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\tstr = br.readLine();\n\t\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"static class Ele implements Comparable<Ele> \n { \n public int x,y; \n Ele(int x,int y) \n { \n this.x=x;this.y=y; \n } \n public int compareTo(Ele ob) { \n if(ob.x!=x)return x-ob.x;\n return this.y-ob.y; \n } \n }",
"Ele",
"public int x",
"x",
"y;",
"y",
"Ele(int x,int y) \n { \n this.x=x;this.y=y; \n }",
"Ele",
"{ \n this.x=x;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(Ele ob) { \n if(ob.x!=x)return x-ob.x;\n return this.y-ob.y; \n }",
"compareTo",
"{ \n if(ob.x!=x)return x-ob.x;\n return this.y-ob.y; \n }",
"if(ob.x!=x)return x-ob.x;",
"ob.x!=x",
"ob.x",
"ob",
"ob.x",
"x",
"return x-ob.x;",
"x-ob.x",
"x",
"ob.x",
"ob",
"ob.x",
"return this.y-ob.y;",
"this.y-ob.y",
"this.y",
"this",
"this.y",
"ob.y",
"ob",
"ob.y",
"Ele ob",
"ob",
"Comparable",
"public class Main\n{\n static class Reader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n \n\t\tpublic Reader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tString next() {\n\t\t\twhile (st == null || !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\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\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n \n\t}\n static class Ele implements Comparable<Ele> \n { \n public int x,y; \n Ele(int x,int y) \n { \n this.x=x;this.y=y; \n } \n public int compareTo(Ele ob) { \n if(ob.x!=x)return x-ob.x;\n return this.y-ob.y; \n } \n }\n int a[][];int b[][];\n \n long gcd(long a,long b)\n {\n long min=Math.min(a,b);\n long max=Math.max(a,b);\n while (max%min!=0)\n {\n a=max%min;\n max=min;min=a;\n }\n return min;\n }\n\tpublic static void main(String[] args) throws IOException \n\t{\n\t\tReader sc=new Reader();Main G=new Main();\n\t\tPrintWriter o = new PrintWriter(System.out);\n\t\tint t=1;//t=sc.nextInt();\n\t\tlong x,x0,x1,x2;long y,y0,y1,y2;int s,s0,s1,s2;\n\t\tint n,m;int a[],b[],in[],in1[];\n\t\tlong k,l;boolean b1,b2;String ss1[],ss;\n\t\t//long l;long a[]; \n\t\tArrayList<ArrayList<Integer>> ll=new ArrayList<>();\n\t\tArrayList<Integer> a1=new ArrayList<>();\n\t\tArrayList<Integer> a2=new ArrayList<>();\n\t\tArrayList<Integer> a3=new ArrayList<>();\n\t\tArrayDeque<Integer> deq=new ArrayDeque<>();\n\t\tTreeSet<Integer> h0=new TreeSet<>();\n\t\tTreeSet<Integer> h1=new TreeSet<>();\n\t\tHashMap<Integer,Integer> h=new HashMap<>();\n\t\ttry{\n\t\twhile (t-->0)\n\t\t{\n\t\t x=sc.nextLong();x0=sc.nextLong();\n\t\t x1=sc.nextLong();x2=sc.nextLong();\n\t\t y=x*x1;y0=x*x2;y1=x0*x1;y2=x0*x2;\n\t\t k=Math.max(y,y0);l=Math.max(y1,y2);\n\t\t o.println(Math.max(k,l));\n\t\t //o.println(h);\n\t\t //o.println(x2);\n\t\t //o.println();\n\t\t h0.clear();ll.clear();a1.clear();a2.clear();h1.clear();\n\t\t}\n\t\t}\n\t\tcatch (Throwable e)\n\t\t{\n\t\t e.printStackTrace();\n\t\t}\n\t\t//o.println(\"HI\");\n\t\t\n o.flush();\n o.close();\n\t}\n}",
"public class Main\n{\n static class Reader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n \n\t\tpublic Reader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tString next() {\n\t\t\twhile (st == null || !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\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\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n \n\t}\n static class Ele implements Comparable<Ele> \n { \n public int x,y; \n Ele(int x,int y) \n { \n this.x=x;this.y=y; \n } \n public int compareTo(Ele ob) { \n if(ob.x!=x)return x-ob.x;\n return this.y-ob.y; \n } \n }\n int a[][];int b[][];\n \n long gcd(long a,long b)\n {\n long min=Math.min(a,b);\n long max=Math.max(a,b);\n while (max%min!=0)\n {\n a=max%min;\n max=min;min=a;\n }\n return min;\n }\n\tpublic static void main(String[] args) throws IOException \n\t{\n\t\tReader sc=new Reader();Main G=new Main();\n\t\tPrintWriter o = new PrintWriter(System.out);\n\t\tint t=1;//t=sc.nextInt();\n\t\tlong x,x0,x1,x2;long y,y0,y1,y2;int s,s0,s1,s2;\n\t\tint n,m;int a[],b[],in[],in1[];\n\t\tlong k,l;boolean b1,b2;String ss1[],ss;\n\t\t//long l;long a[]; \n\t\tArrayList<ArrayList<Integer>> ll=new ArrayList<>();\n\t\tArrayList<Integer> a1=new ArrayList<>();\n\t\tArrayList<Integer> a2=new ArrayList<>();\n\t\tArrayList<Integer> a3=new ArrayList<>();\n\t\tArrayDeque<Integer> deq=new ArrayDeque<>();\n\t\tTreeSet<Integer> h0=new TreeSet<>();\n\t\tTreeSet<Integer> h1=new TreeSet<>();\n\t\tHashMap<Integer,Integer> h=new HashMap<>();\n\t\ttry{\n\t\twhile (t-->0)\n\t\t{\n\t\t x=sc.nextLong();x0=sc.nextLong();\n\t\t x1=sc.nextLong();x2=sc.nextLong();\n\t\t y=x*x1;y0=x*x2;y1=x0*x1;y2=x0*x2;\n\t\t k=Math.max(y,y0);l=Math.max(y1,y2);\n\t\t o.println(Math.max(k,l));\n\t\t //o.println(h);\n\t\t //o.println(x2);\n\t\t //o.println();\n\t\t h0.clear();ll.clear();a1.clear();a2.clear();h1.clear();\n\t\t}\n\t\t}\n\t\tcatch (Throwable e)\n\t\t{\n\t\t e.printStackTrace();\n\t\t}\n\t\t//o.println(\"HI\");\n\t\t\n o.flush();\n o.close();\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main
{
static class Reader {
BufferedReader br;
StringTokenizer st;
public Reader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
static class Ele implements Comparable<Ele>
{
public int x,y;
Ele(int x,int y)
{
this.x=x;this.y=y;
}
public int compareTo(Ele ob) {
if(ob.x!=x)return x-ob.x;
return this.y-ob.y;
}
}
int a[][];int b[][];
long gcd(long a,long b)
{
long min=Math.min(a,b);
long max=Math.max(a,b);
while (max%min!=0)
{
a=max%min;
max=min;min=a;
}
return min;
}
public static void main(String[] args) throws IOException
{
Reader sc=new Reader();Main G=new Main();
PrintWriter o = new PrintWriter(System.out);
int t=1;//t=sc.nextInt();
long x,x0,x1,x2;long y,y0,y1,y2;int s,s0,s1,s2;
int n,m;int a[],b[],in[],in1[];
long k,l;boolean b1,b2;String ss1[],ss;
//long l;long a[];
ArrayList<ArrayList<Integer>> ll=new ArrayList<>();
ArrayList<Integer> a1=new ArrayList<>();
ArrayList<Integer> a2=new ArrayList<>();
ArrayList<Integer> a3=new ArrayList<>();
ArrayDeque<Integer> deq=new ArrayDeque<>();
TreeSet<Integer> h0=new TreeSet<>();
TreeSet<Integer> h1=new TreeSet<>();
HashMap<Integer,Integer> h=new HashMap<>();
try{
while (t-->0)
{
x=sc.nextLong();x0=sc.nextLong();
x1=sc.nextLong();x2=sc.nextLong();
y=x*x1;y0=x*x2;y1=x0*x1;y2=x0*x2;
k=Math.max(y,y0);l=Math.max(y1,y2);
o.println(Math.max(k,l));
//o.println(h);
//o.println(x2);
//o.println();
h0.clear();ll.clear();a1.clear();a2.clear();h1.clear();
}
}
catch (Throwable e)
{
e.printStackTrace();
}
//o.println("HI");
o.flush();
o.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
16,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
16,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
42,
48
],
[
48,
49
],
[
48,
50
],
[
39,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
16,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \twhile(sc.hasNext()){\n \tlong a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong ans = Math.max(Math.max(a*c,a*d), Math.max(b*c, b*d));\n \tSystem.out.println(ans);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \twhile(sc.hasNext()){\n \tlong a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong ans = Math.max(Math.max(a*c,a*d), Math.max(b*c, b*d));\n \tSystem.out.println(ans);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \twhile(sc.hasNext()){\n \tlong a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong ans = Math.max(Math.max(a*c,a*d), Math.max(b*c, b*d));\n \tSystem.out.println(ans);\n }\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n \twhile(sc.hasNext()){\n \tlong a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong ans = Math.max(Math.max(a*c,a*d), Math.max(b*c, b*d));\n \tSystem.out.println(ans);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n \tlong a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong ans = Math.max(Math.max(a*c,a*d), Math.max(b*c, b*d));\n \tSystem.out.println(ans);\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n \tlong a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong ans = Math.max(Math.max(a*c,a*d), Math.max(b*c, b*d));\n \tSystem.out.println(ans);\n }",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long ans = Math.max(Math.max(a*c,a*d), Math.max(b*c, b*d));",
"ans",
"Math.max(Math.max(a*c,a*d), Math.max(b*c, b*d))",
"Math.max",
"Math",
"Math.max(a*c,a*d)",
"Math.max",
"Math",
"a*c",
"a",
"c",
"a*d",
"a",
"d",
"Math.max(b*c, b*d)",
"Math.max",
"Math",
"b*c",
"b",
"c",
"b*d",
"b",
"d",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \twhile(sc.hasNext()){\n \tlong a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong ans = Math.max(Math.max(a*c,a*d), Math.max(b*c, b*d));\n \tSystem.out.println(ans);\n }\n }\n}",
"public class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \twhile(sc.hasNext()){\n \tlong a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong ans = Math.max(Math.max(a*c,a*d), Math.max(b*c, b*d));\n \tSystem.out.println(ans);\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
long a = sc.nextInt();
long b = sc.nextInt();
long c = sc.nextInt();
long d = sc.nextInt();
long ans = Math.max(Math.max(a*c,a*d), Math.max(b*c, b*d));
System.out.println(ans);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
62,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.util.Scanner;\n \npublic class Main {\n \n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n \n\t\tlong bc = (long)b*c;\n\t\tlong bd = (long)b*d;\n\t\tlong ad = (long)a*d;\n\t\tlong ac = (long)a*c;\n\t\t\n\t\tlong ans = Math.max(bc, Math.max(bd, Math.max(ad, ac)));\n\t\tSystem.out.println(ans);\n\t}\n \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n \n\t\tlong bc = (long)b*c;\n\t\tlong bd = (long)b*d;\n\t\tlong ad = (long)a*d;\n\t\tlong ac = (long)a*c;\n\t\t\n\t\tlong ans = Math.max(bc, Math.max(bd, Math.max(ad, ac)));\n\t\tSystem.out.println(ans);\n\t}\n \n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n \n\t\tlong bc = (long)b*c;\n\t\tlong bd = (long)b*d;\n\t\tlong ad = (long)a*d;\n\t\tlong ac = (long)a*c;\n\t\t\n\t\tlong ans = Math.max(bc, Math.max(bd, Math.max(ad, ac)));\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n \n\t\tlong bc = (long)b*c;\n\t\tlong bd = (long)b*d;\n\t\tlong ad = (long)a*d;\n\t\tlong ac = (long)a*c;\n\t\t\n\t\tlong ans = Math.max(bc, Math.max(bd, Math.max(ad, ac)));\n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long bc = (long)b*c;",
"bc",
"(long)b*c",
"(long)b",
"c",
"long bd = (long)b*d;",
"bd",
"(long)b*d",
"(long)b",
"d",
"long ad = (long)a*d;",
"ad",
"(long)a*d",
"(long)a",
"d",
"long ac = (long)a*c;",
"ac",
"(long)a*c",
"(long)a",
"c",
"long ans = Math.max(bc, Math.max(bd, Math.max(ad, ac)));",
"ans",
"Math.max(bc, Math.max(bd, Math.max(ad, ac)))",
"Math.max",
"Math",
"bc",
"Math.max(bd, Math.max(ad, ac))",
"Math.max",
"Math",
"bd",
"Math.max(ad, ac)",
"Math.max",
"Math",
"ad",
"ac",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n \n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n \n\t\tlong bc = (long)b*c;\n\t\tlong bd = (long)b*d;\n\t\tlong ad = (long)a*d;\n\t\tlong ac = (long)a*c;\n\t\t\n\t\tlong ans = Math.max(bc, Math.max(bd, Math.max(ad, ac)));\n\t\tSystem.out.println(ans);\n\t}\n \n}",
"public class Main {\n \n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n \n\t\tlong bc = (long)b*c;\n\t\tlong bd = (long)b*d;\n\t\tlong ad = (long)a*d;\n\t\tlong ac = (long)a*c;\n\t\t\n\t\tlong ans = Math.max(bc, Math.max(bd, Math.max(ad, ac)));\n\t\tSystem.out.println(ans);\n\t}\n \n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int d = sc.nextInt();
long bc = (long)b*c;
long bd = (long)b*d;
long ad = (long)a*d;
long ac = (long)a*c;
long ans = Math.max(bc, Math.max(bd, Math.max(ad, ac)));
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
0,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
2,
13,
13,
13,
0,
13,
4,
18,
13,
2,
13,
13,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
2,
13,
17,
2,
13,
17,
0,
13,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
36,
42
],
[
42,
43
],
[
42,
44
],
[
8,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
8,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
56,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
63,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
81,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextInt();\n long b = scanner.nextInt();\n long c = scanner.nextInt();\n long d = scanner.nextInt();\n long ans;\n ans = Math.max(a * c, b * d);\n ans = Math.max(a * d, ans);\n ans = Math.max(b * c, ans);\n if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) ans = Math.max(0, ans);\n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextInt();\n long b = scanner.nextInt();\n long c = scanner.nextInt();\n long d = scanner.nextInt();\n long ans;\n ans = Math.max(a * c, b * d);\n ans = Math.max(a * d, ans);\n ans = Math.max(b * c, ans);\n if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) ans = Math.max(0, ans);\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextInt();\n long b = scanner.nextInt();\n long c = scanner.nextInt();\n long d = scanner.nextInt();\n long ans;\n ans = Math.max(a * c, b * d);\n ans = Math.max(a * d, ans);\n ans = Math.max(b * c, ans);\n if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) ans = Math.max(0, ans);\n System.out.println(ans);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextInt();\n long b = scanner.nextInt();\n long c = scanner.nextInt();\n long d = scanner.nextInt();\n long ans;\n ans = Math.max(a * c, b * d);\n ans = Math.max(a * d, ans);\n ans = Math.max(b * c, ans);\n if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) ans = Math.max(0, ans);\n System.out.println(ans);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"long b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"long c = scanner.nextInt();",
"c",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"long d = scanner.nextInt();",
"d",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"long ans;",
"ans",
"ans = Math.max(a * c, b * d)",
"ans",
"Math.max(a * c, b * d)",
"Math.max",
"Math",
"a * c",
"a",
"c",
"b * d",
"b",
"d",
"ans = Math.max(a * d, ans)",
"ans",
"Math.max(a * d, ans)",
"Math.max",
"Math",
"a * d",
"a",
"d",
"ans",
"ans = Math.max(b * c, ans)",
"ans",
"Math.max(b * c, ans)",
"Math.max",
"Math",
"b * c",
"b",
"c",
"ans",
"if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) ans = Math.max(0, ans);",
"(a <= 0 && b >= 0) || (c <= 0 && d >= 0)",
"(a <= 0 && b >= 0)",
"a <= 0",
"a",
"0",
"b >= 0",
"b",
"0",
"(c <= 0 && d >= 0)",
"c <= 0",
"c",
"0",
"d >= 0",
"d",
"0",
"ans = Math.max(0, ans)",
"ans",
"Math.max(0, ans)",
"Math.max",
"Math",
"0",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextInt();\n long b = scanner.nextInt();\n long c = scanner.nextInt();\n long d = scanner.nextInt();\n long ans;\n ans = Math.max(a * c, b * d);\n ans = Math.max(a * d, ans);\n ans = Math.max(b * c, ans);\n if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) ans = Math.max(0, ans);\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextInt();\n long b = scanner.nextInt();\n long c = scanner.nextInt();\n long d = scanner.nextInt();\n long ans;\n ans = Math.max(a * c, b * d);\n ans = Math.max(a * d, ans);\n ans = Math.max(b * c, ans);\n if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) ans = Math.max(0, ans);\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
long a = scanner.nextInt();
long b = scanner.nextInt();
long c = scanner.nextInt();
long d = scanner.nextInt();
long ans;
ans = Math.max(a * c, b * d);
ans = Math.max(a * d, ans);
ans = Math.max(b * c, ans);
if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) ans = Math.max(0, ans);
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
13,
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
],
[
244,
8
],
[
244,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
11,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
11,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
11,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
69,
73
],
[
11,
74
],
[
74,
75
],
[
75,
76
],
[
11,
77
],
[
77,
78
],
[
78,
79
],
[
9,
80
],
[
80,
81
],
[
244,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
84,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
93,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
105,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
105,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
121,
123
],
[
105,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
84,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
82,
133
],
[
133,
134
],
[
0,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
137,
139
],
[
135,
140
],
[
140,
141
],
[
140,
142
],
[
135,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
146,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
151,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
145,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
135,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
172,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
168,
185
],
[
185,
186
],
[
135,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
191,
194
],
[
194,
195
],
[
135,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
200,
203
],
[
203,
204
],
[
135,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
209,
212
],
[
212,
213
],
[
135,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
221,
226
],
[
226,
227
],
[
226,
228
],
[
221,
229
],
[
229,
230
],
[
230,
231
],
[
221,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
233,
237
],
[
237,
238
],
[
216,
239
],
[
239,
240
],
[
214,
241
],
[
241,
242
],
[
0,
243
],
[
243,
244
],
[
243,
245
]
]
| [
"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 \n long a=fs.nextLong(),b=fs.nextLong(),c=fs.nextLong(),d=fs.nextLong();\n \n long p1=a*c,p2=a*d,p3=b*c,p4=b*d;\n \n out.println(Math.max(p1,Math.max(p2,Math.max(p3,p4)))); \n \n \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 \n long a=fs.nextLong(),b=fs.nextLong(),c=fs.nextLong(),d=fs.nextLong();\n \n long p1=a*c,p2=a*d,p3=b*c,p4=b*d;\n \n out.println(Math.max(p1,Math.max(p2,Math.max(p3,p4)))); \n \n \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 \n long a=fs.nextLong(),b=fs.nextLong(),c=fs.nextLong(),d=fs.nextLong();\n \n long p1=a*c,p2=a*d,p3=b*c,p4=b*d;\n \n out.println(Math.max(p1,Math.max(p2,Math.max(p3,p4)))); \n \n \n out.flush();\n out.close();\n }",
"main",
"{\n FastScanner fs=new FastScanner(); \n PrintWriter out=new PrintWriter(System.out);\n \n long a=fs.nextLong(),b=fs.nextLong(),c=fs.nextLong(),d=fs.nextLong();\n \n long p1=a*c,p2=a*d,p3=b*c,p4=b*d;\n \n out.println(Math.max(p1,Math.max(p2,Math.max(p3,p4)))); \n \n \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)",
"long a=fs.nextLong()",
"a",
"fs.nextLong()",
"fs.nextLong",
"fs",
"b=fs.nextLong()",
"b",
"fs.nextLong()",
"fs.nextLong",
"fs",
"c=fs.nextLong()",
"c",
"fs.nextLong()",
"fs.nextLong",
"fs",
"d=fs.nextLong();",
"d",
"fs.nextLong()",
"fs.nextLong",
"fs",
"long p1=a*c",
"p1",
"a*c",
"a",
"c",
"p2=a*d",
"p2",
"a*d",
"a",
"d",
"p3=b*c",
"p3",
"b*c",
"b",
"c",
"p4=b*d;",
"p4",
"b*d",
"b",
"d",
"out.println(Math.max(p1,Math.max(p2,Math.max(p3,p4))))",
"out.println",
"out",
"Math.max(p1,Math.max(p2,Math.max(p3,p4)))",
"Math.max",
"Math",
"p1",
"Math.max(p2,Math.max(p3,p4))",
"Math.max",
"Math",
"p2",
"Math.max(p3,p4)",
"Math.max",
"Math",
"p3",
"p4",
"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 \n long a=fs.nextLong(),b=fs.nextLong(),c=fs.nextLong(),d=fs.nextLong();\n \n long p1=a*c,p2=a*d,p3=b*c,p4=b*d;\n \n out.println(Math.max(p1,Math.max(p2,Math.max(p3,p4)))); \n \n \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 \n long a=fs.nextLong(),b=fs.nextLong(),c=fs.nextLong(),d=fs.nextLong();\n \n long p1=a*c,p2=a*d,p3=b*c,p4=b*d;\n \n out.println(Math.max(p1,Math.max(p2,Math.max(p3,p4)))); \n \n \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);
long a=fs.nextLong(),b=fs.nextLong(),c=fs.nextLong(),d=fs.nextLong();
long p1=a*c,p2=a*d,p3=b*c,p4=b*d;
out.println(Math.max(p1,Math.max(p2,Math.max(p3,p4))));
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,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
41,
13,
4,
18,
13,
13,
13,
41,
13,
4,
18,
13,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
13,
0,
13,
4,
18,
13,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
13,
0,
13,
4,
18,
13,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
13,
0,
13,
4,
18,
13,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
4,
18,
13,
13,
4,
18,
13,
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,
2,
13,
2,
4,
18,
13,
2,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
369,
11
],
[
369,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
14,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
14,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
14,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
14,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
14,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
71,
75
],
[
14,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
78,
82
],
[
14,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
14,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
94,
98
],
[
14,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
101,
105
],
[
14,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
108,
112
],
[
112,
113
],
[
112,
114
],
[
14,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
117,
121
],
[
14,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
124,
128
],
[
14,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
131,
135
],
[
135,
136
],
[
135,
137
],
[
14,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
14,
142
],
[
142,
143
],
[
143,
144
],
[
12,
145
],
[
145,
146
],
[
369,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
152,
154
],
[
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
],
[
168,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
172,
176
],
[
176,
177
],
[
176,
178
],
[
167,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
181,
183
],
[
167,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
184,
188
],
[
188,
189
],
[
188,
190
],
[
167,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
191,
195
],
[
147,
196
],
[
196,
197
],
[
369,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
198,
202
],
[
202,
203
],
[
198,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
204,
210
],
[
210,
211
],
[
198,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
215,
224
],
[
224,
225
],
[
224,
226
],
[
214,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
198,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
235,
238
],
[
238,
239
],
[
198,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
244,
247
],
[
247,
248
],
[
198,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
198,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
258,
263
],
[
263,
264
],
[
263,
265
],
[
258,
266
],
[
266,
267
],
[
266,
268
],
[
258,
269
],
[
269,
270
],
[
269,
271
],
[
258,
272
],
[
272,
273
],
[
272,
274
],
[
258,
275
],
[
275,
276
],
[
275,
277
],
[
258,
278
],
[
278,
279
],
[
278,
280
],
[
258,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
283,
286
],
[
282,
287
],
[
281,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
288,
292
],
[
292,
293
],
[
258,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
294,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
302,
303
],
[
294,
304
],
[
304,
305
],
[
305,
306
],
[
294,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
310,
313
],
[
309,
314
],
[
308,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
319,
320
],
[
318,
321
],
[
321,
322
],
[
322,
323
],
[
315,
324
],
[
324,
325
],
[
324,
326
],
[
315,
327
],
[
327,
328
],
[
327,
329
],
[
308,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
331,
334
],
[
334,
335
],
[
335,
336
],
[
334,
337
],
[
330,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
340,
342
],
[
258,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
346,
349
],
[
349,
350
],
[
350,
351
],
[
345,
352
],
[
258,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
356,
360
],
[
198,
361
],
[
361,
362
],
[
361,
363
],
[
363,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
0,
368
],
[
368,
369
],
[
368,
370
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.util.Arrays;\npublic class Main {\n\n\tpublic static void main (String [] args) throws IOException\n\n\t{\n\t\tScanner s=new Scanner(System.in);\n\t\tPrintWriter pw=new PrintWriter(System.out);\n\n\t\tint a=s.nextInt(),b=s.nextInt(),c=s.nextInt(),d=s.nextInt();\n\t\tlong max=Long.MIN_VALUE;\n\t\tint x=Math.max(a,b);\n\t\tlong y=Math.max(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\t\tx=Math.min(a,b);\n\t\ty=Math.min(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\t\tx=Math.min(a,b);\n\t\ty=Math.max(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\n\t\tx=Math.max(a,b);\n\t\ty=Math.min(c,d);\n\t\tmax=Math.max(max,x*y);\n\t\tpw.println(max);\n\n\n\t\tpw.flush();\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\tpublic static void shuffle(int[] a)\n\t{\n\t\tint n = a.length;\n\t\tfor(int i = 0; i < n; i++)\n\t\t{\n\t\t\tint r = i + (int)(Math.random() * (n - i));\n\t\t\tint tmp = a[i];\n\t\t\ta[i] = a[r];\n\t\t\ta[r] = tmp;\n\t\t}\n\t}\n\n\t/*\n\n\t try {\n\t\t Thread.sleep(2000);\n\t\t} catch(InterruptedException ex) {\n\t\t Thread.currentThread().interrupt();\n\t\t}\n\n\t */\n\n\n\n\tstatic class Scanner\n{\n\tStringTokenizer st;\n\tBufferedReader br;\n\n\tpublic Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n\tpublic String next() throws IOException\n\t{\n\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\treturn st.nextToken();\n\t}\n\n\tpublic int nextInt() throws IOException {return Integer.parseInt(next());}\n\n\tpublic long nextLong() throws IOException {return Long.parseLong(next());}\n\n\tpublic String nextLine() throws IOException {return br.readLine();}\n\n\tpublic double nextDouble() throws IOException\n\t{\n\t\tString x = next();\n\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\tdouble res = 0, f = 1;\n\t\tboolean dec = false, neg = false;\n\t\tint start = 0;\n\t\tif(x.charAt(0) == '-')\n\t\t{\n\t\t\tneg = true;\n\t\t\tstart++;\n\t\t}\n\t\tfor(int i = start; i < x.length(); i++)\n\t\t\tif(x.charAt(i) == '.')\n\t\t\t{\n\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\tdec = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\tif(dec)\n\t\t\t\t\tf *= 10;\n\t\t\t}\n\t\tres += Long.parseLong(sb.toString()) / f;\n\t\treturn res * (neg?-1:1);\n\t}\n\n\tpublic boolean ready() throws IOException {return br.ready();}\n\n\n}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n\tpublic static void main (String [] args) throws IOException\n\n\t{\n\t\tScanner s=new Scanner(System.in);\n\t\tPrintWriter pw=new PrintWriter(System.out);\n\n\t\tint a=s.nextInt(),b=s.nextInt(),c=s.nextInt(),d=s.nextInt();\n\t\tlong max=Long.MIN_VALUE;\n\t\tint x=Math.max(a,b);\n\t\tlong y=Math.max(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\t\tx=Math.min(a,b);\n\t\ty=Math.min(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\t\tx=Math.min(a,b);\n\t\ty=Math.max(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\n\t\tx=Math.max(a,b);\n\t\ty=Math.min(c,d);\n\t\tmax=Math.max(max,x*y);\n\t\tpw.println(max);\n\n\n\t\tpw.flush();\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\tpublic static void shuffle(int[] a)\n\t{\n\t\tint n = a.length;\n\t\tfor(int i = 0; i < n; i++)\n\t\t{\n\t\t\tint r = i + (int)(Math.random() * (n - i));\n\t\t\tint tmp = a[i];\n\t\t\ta[i] = a[r];\n\t\t\ta[r] = tmp;\n\t\t}\n\t}\n\n\t/*\n\n\t try {\n\t\t Thread.sleep(2000);\n\t\t} catch(InterruptedException ex) {\n\t\t Thread.currentThread().interrupt();\n\t\t}\n\n\t */\n\n\n\n\tstatic class Scanner\n{\n\tStringTokenizer st;\n\tBufferedReader br;\n\n\tpublic Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n\tpublic String next() throws IOException\n\t{\n\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\treturn st.nextToken();\n\t}\n\n\tpublic int nextInt() throws IOException {return Integer.parseInt(next());}\n\n\tpublic long nextLong() throws IOException {return Long.parseLong(next());}\n\n\tpublic String nextLine() throws IOException {return br.readLine();}\n\n\tpublic double nextDouble() throws IOException\n\t{\n\t\tString x = next();\n\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\tdouble res = 0, f = 1;\n\t\tboolean dec = false, neg = false;\n\t\tint start = 0;\n\t\tif(x.charAt(0) == '-')\n\t\t{\n\t\t\tneg = true;\n\t\t\tstart++;\n\t\t}\n\t\tfor(int i = start; i < x.length(); i++)\n\t\t\tif(x.charAt(i) == '.')\n\t\t\t{\n\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\tdec = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\tif(dec)\n\t\t\t\t\tf *= 10;\n\t\t\t}\n\t\tres += Long.parseLong(sb.toString()) / f;\n\t\treturn res * (neg?-1:1);\n\t}\n\n\tpublic boolean ready() throws IOException {return br.ready();}\n\n\n}\n}",
"Main",
"public static void main (String [] args) throws IOException\n\n\t{\n\t\tScanner s=new Scanner(System.in);\n\t\tPrintWriter pw=new PrintWriter(System.out);\n\n\t\tint a=s.nextInt(),b=s.nextInt(),c=s.nextInt(),d=s.nextInt();\n\t\tlong max=Long.MIN_VALUE;\n\t\tint x=Math.max(a,b);\n\t\tlong y=Math.max(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\t\tx=Math.min(a,b);\n\t\ty=Math.min(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\t\tx=Math.min(a,b);\n\t\ty=Math.max(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\n\t\tx=Math.max(a,b);\n\t\ty=Math.min(c,d);\n\t\tmax=Math.max(max,x*y);\n\t\tpw.println(max);\n\n\n\t\tpw.flush();\n\n}",
"main",
"{\n\t\tScanner s=new Scanner(System.in);\n\t\tPrintWriter pw=new PrintWriter(System.out);\n\n\t\tint a=s.nextInt(),b=s.nextInt(),c=s.nextInt(),d=s.nextInt();\n\t\tlong max=Long.MIN_VALUE;\n\t\tint x=Math.max(a,b);\n\t\tlong y=Math.max(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\t\tx=Math.min(a,b);\n\t\ty=Math.min(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\t\tx=Math.min(a,b);\n\t\ty=Math.max(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\n\t\tx=Math.max(a,b);\n\t\ty=Math.min(c,d);\n\t\tmax=Math.max(max,x*y);\n\t\tpw.println(max);\n\n\n\t\tpw.flush();\n\n}",
"Scanner s=new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"PrintWriter pw=new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"int a=s.nextInt()",
"a",
"s.nextInt()",
"s.nextInt",
"s",
"b=s.nextInt()",
"b",
"s.nextInt()",
"s.nextInt",
"s",
"c=s.nextInt()",
"c",
"s.nextInt()",
"s.nextInt",
"s",
"d=s.nextInt();",
"d",
"s.nextInt()",
"s.nextInt",
"s",
"long max=Long.MIN_VALUE;",
"max",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"int x=Math.max(a,b);",
"x",
"Math.max(a,b)",
"Math.max",
"Math",
"a",
"b",
"long y=Math.max(c,d);",
"y",
"Math.max(c,d)",
"Math.max",
"Math",
"c",
"d",
"max=Math.max(max,x*y)",
"max",
"Math.max(max,x*y)",
"Math.max",
"Math",
"max",
"x*y",
"x",
"y",
"x=Math.min(a,b)",
"x",
"Math.min(a,b)",
"Math.min",
"Math",
"a",
"b",
"y=Math.min(c,d)",
"y",
"Math.min(c,d)",
"Math.min",
"Math",
"c",
"d",
"max=Math.max(max,x*y)",
"max",
"Math.max(max,x*y)",
"Math.max",
"Math",
"max",
"x*y",
"x",
"y",
"x=Math.min(a,b)",
"x",
"Math.min(a,b)",
"Math.min",
"Math",
"a",
"b",
"y=Math.max(c,d)",
"y",
"Math.max(c,d)",
"Math.max",
"Math",
"c",
"d",
"max=Math.max(max,x*y)",
"max",
"Math.max(max,x*y)",
"Math.max",
"Math",
"max",
"x*y",
"x",
"y",
"x=Math.max(a,b)",
"x",
"Math.max(a,b)",
"Math.max",
"Math",
"a",
"b",
"y=Math.min(c,d)",
"y",
"Math.min(c,d)",
"Math.min",
"Math",
"c",
"d",
"max=Math.max(max,x*y)",
"max",
"Math.max(max,x*y)",
"Math.max",
"Math",
"max",
"x*y",
"x",
"y",
"pw.println(max)",
"pw.println",
"pw",
"max",
"pw.flush()",
"pw.flush",
"pw",
"String [] args",
"args",
"public static void shuffle(int[] a)\n\t{\n\t\tint n = a.length;\n\t\tfor(int i = 0; i < n; i++)\n\t\t{\n\t\t\tint r = i + (int)(Math.random() * (n - i));\n\t\t\tint tmp = a[i];\n\t\t\ta[i] = a[r];\n\t\t\ta[r] = tmp;\n\t\t}\n\t}",
"shuffle",
"{\n\t\tint n = a.length;\n\t\tfor(int i = 0; i < n; i++)\n\t\t{\n\t\t\tint r = i + (int)(Math.random() * (n - i));\n\t\t\tint tmp = a[i];\n\t\t\ta[i] = a[r];\n\t\t\ta[r] = tmp;\n\t\t}\n\t}",
"int n = a.length;",
"n",
"a.length",
"a",
"a.length",
"for(int i = 0; i < n; i++)\n\t\t{\n\t\t\tint r = i + (int)(Math.random() * (n - i));\n\t\t\tint tmp = a[i];\n\t\t\ta[i] = a[r];\n\t\t\ta[r] = tmp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tint r = i + (int)(Math.random() * (n - i));\n\t\t\tint tmp = a[i];\n\t\t\ta[i] = a[r];\n\t\t\ta[r] = tmp;\n\t\t}",
"{\n\t\t\tint r = i + (int)(Math.random() * (n - i));\n\t\t\tint tmp = a[i];\n\t\t\ta[i] = a[r];\n\t\t\ta[r] = tmp;\n\t\t}",
"int r = i + (int)(Math.random() * (n - i));",
"r",
"i + (int)(Math.random() * (n - i))",
"i",
"(int)(Math.random() * (n - i))",
"Math.random()",
"Math.random",
"Math",
"(n - i)",
"n",
"i",
"int tmp = a[i];",
"tmp",
"a[i]",
"a",
"i",
"a[i] = a[r]",
"a[i]",
"a",
"i",
"a[r]",
"a",
"r",
"a[r] = tmp",
"a[r]",
"a",
"r",
"tmp",
"int[] a",
"a",
"static class Scanner\n{\n\tStringTokenizer st;\n\tBufferedReader br;\n\n\tpublic Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n\tpublic String next() throws IOException\n\t{\n\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\treturn st.nextToken();\n\t}\n\n\tpublic int nextInt() throws IOException {return Integer.parseInt(next());}\n\n\tpublic long nextLong() throws IOException {return Long.parseLong(next());}\n\n\tpublic String nextLine() throws IOException {return br.readLine();}\n\n\tpublic double nextDouble() throws IOException\n\t{\n\t\tString x = next();\n\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\tdouble res = 0, f = 1;\n\t\tboolean dec = false, neg = false;\n\t\tint start = 0;\n\t\tif(x.charAt(0) == '-')\n\t\t{\n\t\t\tneg = true;\n\t\t\tstart++;\n\t\t}\n\t\tfor(int i = start; i < x.length(); i++)\n\t\t\tif(x.charAt(i) == '.')\n\t\t\t{\n\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\tdec = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\tif(dec)\n\t\t\t\t\tf *= 10;\n\t\t\t}\n\t\tres += Long.parseLong(sb.toString()) / f;\n\t\treturn res * (neg?-1:1);\n\t}\n\n\tpublic boolean ready() throws IOException {return br.ready();}\n\n\n}",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}",
"Scanner",
"{\tbr = new BufferedReader(new InputStreamReader(s));}",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() throws IOException\n\t{\n\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\treturn st.nextToken();\n\t}",
"next",
"{\n\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\treturn st.nextToken();\n\t}",
"while (st == null || !st.hasMoreTokens())\n\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 nextInt() throws IOException {return Integer.parseInt(next());}",
"nextInt",
"{return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public String nextLine() throws IOException {return br.readLine();}",
"nextLine",
"{return br.readLine();}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public double nextDouble() throws IOException\n\t{\n\t\tString x = next();\n\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\tdouble res = 0, f = 1;\n\t\tboolean dec = false, neg = false;\n\t\tint start = 0;\n\t\tif(x.charAt(0) == '-')\n\t\t{\n\t\t\tneg = true;\n\t\t\tstart++;\n\t\t}\n\t\tfor(int i = start; i < x.length(); i++)\n\t\t\tif(x.charAt(i) == '.')\n\t\t\t{\n\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\tdec = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\tif(dec)\n\t\t\t\t\tf *= 10;\n\t\t\t}\n\t\tres += Long.parseLong(sb.toString()) / f;\n\t\treturn res * (neg?-1:1);\n\t}",
"nextDouble",
"{\n\t\tString x = next();\n\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\tdouble res = 0, f = 1;\n\t\tboolean dec = false, neg = false;\n\t\tint start = 0;\n\t\tif(x.charAt(0) == '-')\n\t\t{\n\t\t\tneg = true;\n\t\t\tstart++;\n\t\t}\n\t\tfor(int i = start; i < x.length(); i++)\n\t\t\tif(x.charAt(i) == '.')\n\t\t\t{\n\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\tdec = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\tif(dec)\n\t\t\t\t\tf *= 10;\n\t\t\t}\n\t\tres += Long.parseLong(sb.toString()) / f;\n\t\treturn res * (neg?-1:1);\n\t}",
"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\t\t{\n\t\t\tneg = true;\n\t\t\tstart++;\n\t\t}",
"x.charAt(0) == '-'",
"x.charAt(0)",
"x.charAt",
"x",
"0",
"'-'",
"{\n\t\t\tneg = true;\n\t\t\tstart++;\n\t\t}",
"neg = true",
"neg",
"true",
"start++",
"start",
"for(int i = start; i < x.length(); i++)\n\t\t\tif(x.charAt(i) == '.')\n\t\t\t{\n\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\tdec = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\tif(dec)\n\t\t\t\t\tf *= 10;\n\t\t\t}",
"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\t\t\t{\n\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\tdec = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\tif(dec)\n\t\t\t\t\tf *= 10;\n\t\t\t}",
"if(x.charAt(i) == '.')\n\t\t\t{\n\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\tdec = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\tif(dec)\n\t\t\t\t\tf *= 10;\n\t\t\t}",
"x.charAt(i) == '.'",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"'.'",
"{\n\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\tdec = true;\n\t\t\t}",
"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\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\tif(dec)\n\t\t\t\t\tf *= 10;\n\t\t\t}",
"sb.append(x.charAt(i))",
"sb.append",
"sb",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"if(dec)\n\t\t\t\t\tf *= 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 {return br.ready();}",
"ready",
"{return br.ready();}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public class Main {\n\n\tpublic static void main (String [] args) throws IOException\n\n\t{\n\t\tScanner s=new Scanner(System.in);\n\t\tPrintWriter pw=new PrintWriter(System.out);\n\n\t\tint a=s.nextInt(),b=s.nextInt(),c=s.nextInt(),d=s.nextInt();\n\t\tlong max=Long.MIN_VALUE;\n\t\tint x=Math.max(a,b);\n\t\tlong y=Math.max(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\t\tx=Math.min(a,b);\n\t\ty=Math.min(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\t\tx=Math.min(a,b);\n\t\ty=Math.max(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\n\t\tx=Math.max(a,b);\n\t\ty=Math.min(c,d);\n\t\tmax=Math.max(max,x*y);\n\t\tpw.println(max);\n\n\n\t\tpw.flush();\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\tpublic static void shuffle(int[] a)\n\t{\n\t\tint n = a.length;\n\t\tfor(int i = 0; i < n; i++)\n\t\t{\n\t\t\tint r = i + (int)(Math.random() * (n - i));\n\t\t\tint tmp = a[i];\n\t\t\ta[i] = a[r];\n\t\t\ta[r] = tmp;\n\t\t}\n\t}\n\n\t/*\n\n\t try {\n\t\t Thread.sleep(2000);\n\t\t} catch(InterruptedException ex) {\n\t\t Thread.currentThread().interrupt();\n\t\t}\n\n\t */\n\n\n\n\tstatic class Scanner\n{\n\tStringTokenizer st;\n\tBufferedReader br;\n\n\tpublic Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n\tpublic String next() throws IOException\n\t{\n\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\treturn st.nextToken();\n\t}\n\n\tpublic int nextInt() throws IOException {return Integer.parseInt(next());}\n\n\tpublic long nextLong() throws IOException {return Long.parseLong(next());}\n\n\tpublic String nextLine() throws IOException {return br.readLine();}\n\n\tpublic double nextDouble() throws IOException\n\t{\n\t\tString x = next();\n\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\tdouble res = 0, f = 1;\n\t\tboolean dec = false, neg = false;\n\t\tint start = 0;\n\t\tif(x.charAt(0) == '-')\n\t\t{\n\t\t\tneg = true;\n\t\t\tstart++;\n\t\t}\n\t\tfor(int i = start; i < x.length(); i++)\n\t\t\tif(x.charAt(i) == '.')\n\t\t\t{\n\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\tdec = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\tif(dec)\n\t\t\t\t\tf *= 10;\n\t\t\t}\n\t\tres += Long.parseLong(sb.toString()) / f;\n\t\treturn res * (neg?-1:1);\n\t}\n\n\tpublic boolean ready() throws IOException {return br.ready();}\n\n\n}\n}",
"public class Main {\n\n\tpublic static void main (String [] args) throws IOException\n\n\t{\n\t\tScanner s=new Scanner(System.in);\n\t\tPrintWriter pw=new PrintWriter(System.out);\n\n\t\tint a=s.nextInt(),b=s.nextInt(),c=s.nextInt(),d=s.nextInt();\n\t\tlong max=Long.MIN_VALUE;\n\t\tint x=Math.max(a,b);\n\t\tlong y=Math.max(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\t\tx=Math.min(a,b);\n\t\ty=Math.min(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\t\tx=Math.min(a,b);\n\t\ty=Math.max(c,d);\n\t\tmax=Math.max(max,x*y);\n\n\n\t\tx=Math.max(a,b);\n\t\ty=Math.min(c,d);\n\t\tmax=Math.max(max,x*y);\n\t\tpw.println(max);\n\n\n\t\tpw.flush();\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\tpublic static void shuffle(int[] a)\n\t{\n\t\tint n = a.length;\n\t\tfor(int i = 0; i < n; i++)\n\t\t{\n\t\t\tint r = i + (int)(Math.random() * (n - i));\n\t\t\tint tmp = a[i];\n\t\t\ta[i] = a[r];\n\t\t\ta[r] = tmp;\n\t\t}\n\t}\n\n\t/*\n\n\t try {\n\t\t Thread.sleep(2000);\n\t\t} catch(InterruptedException ex) {\n\t\t Thread.currentThread().interrupt();\n\t\t}\n\n\t */\n\n\n\n\tstatic class Scanner\n{\n\tStringTokenizer st;\n\tBufferedReader br;\n\n\tpublic Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n\tpublic String next() throws IOException\n\t{\n\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\treturn st.nextToken();\n\t}\n\n\tpublic int nextInt() throws IOException {return Integer.parseInt(next());}\n\n\tpublic long nextLong() throws IOException {return Long.parseLong(next());}\n\n\tpublic String nextLine() throws IOException {return br.readLine();}\n\n\tpublic double nextDouble() throws IOException\n\t{\n\t\tString x = next();\n\t\tStringBuilder sb = new StringBuilder(\"0\");\n\t\tdouble res = 0, f = 1;\n\t\tboolean dec = false, neg = false;\n\t\tint start = 0;\n\t\tif(x.charAt(0) == '-')\n\t\t{\n\t\t\tneg = true;\n\t\t\tstart++;\n\t\t}\n\t\tfor(int i = start; i < x.length(); i++)\n\t\t\tif(x.charAt(i) == '.')\n\t\t\t{\n\t\t\t\tres = Long.parseLong(sb.toString());\n\t\t\t\tsb = new StringBuilder(\"0\");\n\t\t\t\tdec = true;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append(x.charAt(i));\n\t\t\t\tif(dec)\n\t\t\t\t\tf *= 10;\n\t\t\t}\n\t\tres += Long.parseLong(sb.toString()) / f;\n\t\treturn res * (neg?-1:1);\n\t}\n\n\tpublic boolean ready() throws IOException {return br.ready();}\n\n\n}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.util.Arrays;
public class Main {
public static void main (String [] args) throws IOException
{
Scanner s=new Scanner(System.in);
PrintWriter pw=new PrintWriter(System.out);
int a=s.nextInt(),b=s.nextInt(),c=s.nextInt(),d=s.nextInt();
long max=Long.MIN_VALUE;
int x=Math.max(a,b);
long y=Math.max(c,d);
max=Math.max(max,x*y);
x=Math.min(a,b);
y=Math.min(c,d);
max=Math.max(max,x*y);
x=Math.min(a,b);
y=Math.max(c,d);
max=Math.max(max,x*y);
x=Math.max(a,b);
y=Math.min(c,d);
max=Math.max(max,x*y);
pw.println(max);
pw.flush();
}
public static void shuffle(int[] a)
{
int n = a.length;
for(int i = 0; i < n; i++)
{
int r = i + (int)(Math.random() * (n - i));
int tmp = a[i];
a[i] = a[r];
a[r] = tmp;
}
}
/*
try {
Thread.sleep(2000);
} catch(InterruptedException ex) {
Thread.currentThread().interrupt();
}
*/
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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
79,
8
],
[
79,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
11,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
11,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
11,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
11,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
71,
75
],
[
9,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n long a1 = (long)a*c;\n long a2 = (long)a*d;\n long a3 = (long)b*c;\n long a4 = (long)b*d;\n //System.out.println(a1+\" \"+a2+\" \"+a3+\" \"+a4+\" \");\n System.out.println(Math.max(a1,Math.max(a2,Math.max(a3,a4))));\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 Scanner sc = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n long a1 = (long)a*c;\n long a2 = (long)a*d;\n long a3 = (long)b*c;\n long a4 = (long)b*d;\n //System.out.println(a1+\" \"+a2+\" \"+a3+\" \"+a4+\" \");\n System.out.println(Math.max(a1,Math.max(a2,Math.max(a3,a4))));\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n long a1 = (long)a*c;\n long a2 = (long)a*d;\n long a3 = (long)b*c;\n long a4 = (long)b*d;\n //System.out.println(a1+\" \"+a2+\" \"+a3+\" \"+a4+\" \");\n System.out.println(Math.max(a1,Math.max(a2,Math.max(a3,a4))));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n long a1 = (long)a*c;\n long a2 = (long)a*d;\n long a3 = (long)b*c;\n long a4 = (long)b*d;\n //System.out.println(a1+\" \"+a2+\" \"+a3+\" \"+a4+\" \");\n System.out.println(Math.max(a1,Math.max(a2,Math.max(a3,a4))));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long a1 = (long)a*c;",
"a1",
"(long)a*c",
"(long)a",
"c",
"long a2 = (long)a*d;",
"a2",
"(long)a*d",
"(long)a",
"d",
"long a3 = (long)b*c;",
"a3",
"(long)b*c",
"(long)b",
"c",
"long a4 = (long)b*d;",
"a4",
"(long)b*d",
"(long)b",
"d",
"System.out.println(Math.max(a1,Math.max(a2,Math.max(a3,a4))))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.max(a1,Math.max(a2,Math.max(a3,a4)))",
"Math.max",
"Math",
"a1",
"Math.max(a2,Math.max(a3,a4))",
"Math.max",
"Math",
"a2",
"Math.max(a3,a4)",
"Math.max",
"Math",
"a3",
"a4",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n long a1 = (long)a*c;\n long a2 = (long)a*d;\n long a3 = (long)b*c;\n long a4 = (long)b*d;\n //System.out.println(a1+\" \"+a2+\" \"+a3+\" \"+a4+\" \");\n System.out.println(Math.max(a1,Math.max(a2,Math.max(a3,a4))));\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n List<Integer> list = new ArrayList<Integer>();\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n long a1 = (long)a*c;\n long a2 = (long)a*d;\n long a3 = (long)b*c;\n long a4 = (long)b*d;\n //System.out.println(a1+\" \"+a2+\" \"+a3+\" \"+a4+\" \");\n System.out.println(Math.max(a1,Math.max(a2,Math.max(a3,a4))));\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
List<Integer> list = new ArrayList<Integer>();
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int d = sc.nextInt();
long a1 = (long)a*c;
long a2 = (long)a*d;
long a3 = (long)b*c;
long a4 = (long)b*d;
//System.out.println(a1+" "+a2+" "+a3+" "+a4+" ");
System.out.println(Math.max(a1,Math.max(a2,Math.max(a3,a4))));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
17,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
106,
5
],
[
106,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
8,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
8,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
69,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
82,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
8,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
8,
100
],
[
100,
101
],
[
101,
102
],
[
6,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong a = stdIn.nextLong();\n\t\tlong b = stdIn.nextLong();\n\t\tlong c = stdIn.nextLong();\n\t\tlong d = stdIn.nextLong();\n\t\tlong ans[] = new long[4];\n\t\tans[0] = a*c;\n\t\tans[1] = a*d;\n\t\tans[2] = b*c;\n\t\tans[3] = b*d;\n\t\tlong max = ans[0];\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tif(max <= ans[i]){\n\t\t\t\tmax = ans[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);\n\t\tstdIn.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong a = stdIn.nextLong();\n\t\tlong b = stdIn.nextLong();\n\t\tlong c = stdIn.nextLong();\n\t\tlong d = stdIn.nextLong();\n\t\tlong ans[] = new long[4];\n\t\tans[0] = a*c;\n\t\tans[1] = a*d;\n\t\tans[2] = b*c;\n\t\tans[3] = b*d;\n\t\tlong max = ans[0];\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tif(max <= ans[i]){\n\t\t\t\tmax = ans[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);\n\t\tstdIn.close();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong a = stdIn.nextLong();\n\t\tlong b = stdIn.nextLong();\n\t\tlong c = stdIn.nextLong();\n\t\tlong d = stdIn.nextLong();\n\t\tlong ans[] = new long[4];\n\t\tans[0] = a*c;\n\t\tans[1] = a*d;\n\t\tans[2] = b*c;\n\t\tans[3] = b*d;\n\t\tlong max = ans[0];\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tif(max <= ans[i]){\n\t\t\t\tmax = ans[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);\n\t\tstdIn.close();\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong a = stdIn.nextLong();\n\t\tlong b = stdIn.nextLong();\n\t\tlong c = stdIn.nextLong();\n\t\tlong d = stdIn.nextLong();\n\t\tlong ans[] = new long[4];\n\t\tans[0] = a*c;\n\t\tans[1] = a*d;\n\t\tans[2] = b*c;\n\t\tans[3] = b*d;\n\t\tlong max = ans[0];\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tif(max <= ans[i]){\n\t\t\t\tmax = ans[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);\n\t\tstdIn.close();\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"long a = stdIn.nextLong();",
"a",
"stdIn.nextLong()",
"stdIn.nextLong",
"stdIn",
"long b = stdIn.nextLong();",
"b",
"stdIn.nextLong()",
"stdIn.nextLong",
"stdIn",
"long c = stdIn.nextLong();",
"c",
"stdIn.nextLong()",
"stdIn.nextLong",
"stdIn",
"long d = stdIn.nextLong();",
"d",
"stdIn.nextLong()",
"stdIn.nextLong",
"stdIn",
"long ans[] = new long[4];",
"ans",
"new long[4]",
"4",
"ans[0] = a*c",
"ans[0]",
"ans",
"0",
"a*c",
"a",
"c",
"ans[1] = a*d",
"ans[1]",
"ans",
"1",
"a*d",
"a",
"d",
"ans[2] = b*c",
"ans[2]",
"ans",
"2",
"b*c",
"b",
"c",
"ans[3] = b*d",
"ans[3]",
"ans",
"3",
"b*d",
"b",
"d",
"long max = ans[0];",
"max",
"ans[0]",
"ans",
"0",
"for(int i = 0; i < 4; i++){\n\t\t\tif(max <= ans[i]){\n\t\t\t\tmax = ans[i];\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 4",
"i",
"4",
"i++",
"i++",
"i",
"{\n\t\t\tif(max <= ans[i]){\n\t\t\t\tmax = ans[i];\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(max <= ans[i]){\n\t\t\t\tmax = ans[i];\n\t\t\t}\n\t\t}",
"if(max <= ans[i]){\n\t\t\t\tmax = ans[i];\n\t\t\t}",
"max <= ans[i]",
"max",
"ans[i]",
"ans",
"i",
"{\n\t\t\t\tmax = ans[i];\n\t\t\t}",
"max = ans[i]",
"max",
"ans[i]",
"ans",
"i",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"stdIn.close()",
"stdIn.close",
"stdIn",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong a = stdIn.nextLong();\n\t\tlong b = stdIn.nextLong();\n\t\tlong c = stdIn.nextLong();\n\t\tlong d = stdIn.nextLong();\n\t\tlong ans[] = new long[4];\n\t\tans[0] = a*c;\n\t\tans[1] = a*d;\n\t\tans[2] = b*c;\n\t\tans[3] = b*d;\n\t\tlong max = ans[0];\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tif(max <= ans[i]){\n\t\t\t\tmax = ans[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);\n\t\tstdIn.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tlong a = stdIn.nextLong();\n\t\tlong b = stdIn.nextLong();\n\t\tlong c = stdIn.nextLong();\n\t\tlong d = stdIn.nextLong();\n\t\tlong ans[] = new long[4];\n\t\tans[0] = a*c;\n\t\tans[1] = a*d;\n\t\tans[2] = b*c;\n\t\tans[3] = b*d;\n\t\tlong max = ans[0];\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tif(max <= ans[i]){\n\t\t\t\tmax = ans[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);\n\t\tstdIn.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
long a = stdIn.nextLong();
long b = stdIn.nextLong();
long c = stdIn.nextLong();
long d = stdIn.nextLong();
long ans[] = new long[4];
ans[0] = a*c;
ans[1] = a*d;
ans[2] = b*c;
ans[3] = b*d;
long max = ans[0];
for(int i = 0; i < 4; i++){
if(max <= ans[i]){
max = ans[i];
}
}
System.out.println(max);
stdIn.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
2,
2,
17,
13,
13,
41,
13,
2,
2,
17,
13,
13,
41,
13,
2,
2,
17,
13,
13,
41,
13,
2,
2,
17,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
0,
13,
20,
13,
4,
18,
13,
13,
13,
0,
13,
20,
13,
4,
18,
13,
13,
40,
17,
0,
18,
13,
13,
17,
41,
13,
20,
4,
18,
13,
20,
42,
40,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
18,
13,
18,
13,
13,
18,
13,
13,
9,
28,
13,
18,
13,
18,
13,
13,
30,
30,
14,
2,
18,
13,
18,
13,
13,
2,
18,
13,
13,
18,
13,
13,
30,
4,
18,
13,
20,
0,
18,
13,
18,
13,
13,
18,
13,
13,
23,
13,
6,
13,
12,
13,
30,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
13,
18,
13,
13,
23,
13,
13,
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,
4,
13,
12,
13,
30,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
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
],
[
319,
26
],
[
319,
27
],
[
27,
28
],
[
319,
29
],
[
29,
30
],
[
319,
31
],
[
31,
32
],
[
319,
33
],
[
33,
34
],
[
319,
35
],
[
35,
36
],
[
319,
37
],
[
37,
38
],
[
319,
39
],
[
39,
40
],
[
319,
41
],
[
41,
42
],
[
41,
43
],
[
319,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
53,
54
],
[
46,
55
],
[
55,
56
],
[
46,
57
],
[
57,
58
],
[
46,
59
],
[
59,
60
],
[
46,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
46,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
46,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
46,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
46,
81
],
[
81,
82
],
[
81,
83
],
[
84,
84
],
[
84,
85
],
[
84,
86
],
[
84,
87
],
[
46,
88
],
[
88,
89
],
[
88,
90
],
[
91,
91
],
[
91,
92
],
[
91,
93
],
[
91,
94
],
[
46,
95
],
[
95,
96
],
[
95,
97
],
[
98,
98
],
[
98,
99
],
[
98,
100
],
[
98,
101
],
[
46,
102
],
[
102,
103
],
[
102,
104
],
[
105,
105
],
[
105,
106
],
[
105,
107
],
[
105,
108
],
[
46,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
112,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
116,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
120,
124
],
[
46,
125
],
[
125,
126
],
[
126,
127
],
[
44,
128
],
[
128,
129
],
[
319,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
137,
141
],
[
132,
142
],
[
142,
143
],
[
142,
144
],
[
132,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
146,
150
],
[
150,
151
],
[
132,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
132,
157
],
[
157,
158
],
[
157,
159
],
[
132,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
132,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
164,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
169,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
179,
181
],
[
176,
182
],
[
182,
183
],
[
182,
184
],
[
175,
185
],
[
169,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
190,
192
],
[
186,
193
],
[
194,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
199,
201
],
[
196,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
206,
208
],
[
195,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
210,
213
],
[
209,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
217,
219
],
[
214,
220
],
[
220,
221
],
[
220,
222
],
[
130,
223
],
[
223,
224
],
[
319,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
230,
233
],
[
227,
234
],
[
234,
235
],
[
227,
236
],
[
236,
237
],
[
225,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
244,
246
],
[
238,
247
],
[
247,
248
],
[
225,
249
],
[
225,
250
],
[
319,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
251,
255
],
[
255,
256
],
[
251,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
257,
263
],
[
263,
264
],
[
251,
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
],
[
277,
279
],
[
267,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
251,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
288,
291
],
[
291,
292
],
[
251,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
297,
300
],
[
300,
301
],
[
251,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
306,
309
],
[
309,
310
],
[
251,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
0,
318
],
[
318,
319
],
[
318,
320
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.PriorityQueue;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tstatic Scanner sc;\n\tstatic PrintWriter out;\n\tstatic ArrayList<Edge> adj[];\n\tstatic int V,E;\n\tstatic int[] dist;\n\tstatic int[] parent;\n\tstatic final int oo = (int) 1e9;\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO Auto-generated method stub\n\t\tsc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tint a,b,c,d;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = sc.nextInt();\n\t\td = sc.nextInt();\n\t\tlong c1 = 1l*a*c;\n\t\tlong c2 = 1l*a*d;\n\t\tlong c3 = 1l*b*c;\n\t\tlong c4 = 1l*b*d;\n\t\tout.println(Math.max(c1, Math.max(c2, Math.max(c3, c4))));\n\t\tout.close();\n\t}\n\tstatic void dijkstra(int src) {\n\t\tdist = new int[V];\n\t\tArrays.fill(dist, oo);\n\t\tparent = new int[V];\n\t\tArrays.fill(parent, -1);\n\t\tdist[src] = 0;\n\t\tPriorityQueue<Edge> pq = new PriorityQueue<>();\n\t\tpq.add(new Edge(src,0));\n\t\twhile(!pq.isEmpty()) {\n\t\t\tEdge e = pq.poll();\n\t\t\tif(dist[e.x] < e.y)\n\t\t\t\tcontinue;\n//\t\t\tif(e.x == dest)\n//\t\t\t\treturn e.y;\n\t\t\tfor(Edge e2:adj[e.x]) {\n\t\t\t\tif(dist[e2.x] > e2.y+e.y) {\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\treturn -1;\n\t}\n\tstatic class Edge extends java.awt.Point implements Comparable<Edge>{\t\t\n\t\tpublic Edge(int u, int val) {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t\tsuper(u, val);\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(Edge e) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\treturn y - e.y;\n\t\t}\t\t\n\t}\n\tstatic class Scanner{\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\tpublic Scanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}\n\t\tprivate String next() throws Exception{\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 nextInt() throws Exception{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic long nextLong() throws Exception{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic double nextDouble() throws Exception{\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\t\tpublic String nextLine() throws Exception {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"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.Arrays;",
"Arrays",
"java.util",
"import java.util.PriorityQueue;",
"PriorityQueue",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tstatic Scanner sc;\n\tstatic PrintWriter out;\n\tstatic ArrayList<Edge> adj[];\n\tstatic int V,E;\n\tstatic int[] dist;\n\tstatic int[] parent;\n\tstatic final int oo = (int) 1e9;\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO Auto-generated method stub\n\t\tsc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tint a,b,c,d;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = sc.nextInt();\n\t\td = sc.nextInt();\n\t\tlong c1 = 1l*a*c;\n\t\tlong c2 = 1l*a*d;\n\t\tlong c3 = 1l*b*c;\n\t\tlong c4 = 1l*b*d;\n\t\tout.println(Math.max(c1, Math.max(c2, Math.max(c3, c4))));\n\t\tout.close();\n\t}\n\tstatic void dijkstra(int src) {\n\t\tdist = new int[V];\n\t\tArrays.fill(dist, oo);\n\t\tparent = new int[V];\n\t\tArrays.fill(parent, -1);\n\t\tdist[src] = 0;\n\t\tPriorityQueue<Edge> pq = new PriorityQueue<>();\n\t\tpq.add(new Edge(src,0));\n\t\twhile(!pq.isEmpty()) {\n\t\t\tEdge e = pq.poll();\n\t\t\tif(dist[e.x] < e.y)\n\t\t\t\tcontinue;\n//\t\t\tif(e.x == dest)\n//\t\t\t\treturn e.y;\n\t\t\tfor(Edge e2:adj[e.x]) {\n\t\t\t\tif(dist[e2.x] > e2.y+e.y) {\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\treturn -1;\n\t}\n\tstatic class Edge extends java.awt.Point implements Comparable<Edge>{\t\t\n\t\tpublic Edge(int u, int val) {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t\tsuper(u, val);\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(Edge e) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\treturn y - e.y;\n\t\t}\t\t\n\t}\n\tstatic class Scanner{\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\tpublic Scanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}\n\t\tprivate String next() throws Exception{\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 nextInt() throws Exception{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic long nextLong() throws Exception{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic double nextDouble() throws Exception{\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\t\tpublic String nextLine() throws Exception {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t}\n}",
"Main",
"static Scanner sc;",
"sc",
"static PrintWriter out;",
"out",
"static ArrayList<Edge> adj[];",
"adj",
"static int V",
"V",
"E;",
"E",
"static int[] dist;",
"dist",
"static int[] parent;",
"parent",
"static final int oo = (int) 1e9;",
"oo",
"(int) 1e9",
"public static void main(String[] args) throws Exception {\n\t\t// TODO Auto-generated method stub\n\t\tsc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tint a,b,c,d;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = sc.nextInt();\n\t\td = sc.nextInt();\n\t\tlong c1 = 1l*a*c;\n\t\tlong c2 = 1l*a*d;\n\t\tlong c3 = 1l*b*c;\n\t\tlong c4 = 1l*b*d;\n\t\tout.println(Math.max(c1, Math.max(c2, Math.max(c3, c4))));\n\t\tout.close();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tsc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tint a,b,c,d;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = sc.nextInt();\n\t\td = sc.nextInt();\n\t\tlong c1 = 1l*a*c;\n\t\tlong c2 = 1l*a*d;\n\t\tlong c3 = 1l*b*c;\n\t\tlong c4 = 1l*b*d;\n\t\tout.println(Math.max(c1, Math.max(c2, Math.max(c3, c4))));\n\t\tout.close();\n\t}",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"int a",
"a",
"b",
"b",
"c",
"c",
"d;",
"d",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"c = sc.nextInt()",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"d = sc.nextInt()",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c1 = 1l*a*c;",
"c1",
"1l*a*c",
"1l*a*c",
"1l",
"a",
"c",
"long c2 = 1l*a*d;",
"c2",
"1l*a*d",
"1l*a*d",
"1l",
"a",
"d",
"long c3 = 1l*b*c;",
"c3",
"1l*b*c",
"1l*b*c",
"1l",
"b",
"c",
"long c4 = 1l*b*d;",
"c4",
"1l*b*d",
"1l*b*d",
"1l",
"b",
"d",
"out.println(Math.max(c1, Math.max(c2, Math.max(c3, c4))))",
"out.println",
"out",
"Math.max(c1, Math.max(c2, Math.max(c3, c4)))",
"Math.max",
"Math",
"c1",
"Math.max(c2, Math.max(c3, c4))",
"Math.max",
"Math",
"c2",
"Math.max(c3, c4)",
"Math.max",
"Math",
"c3",
"c4",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static void dijkstra(int src) {\n\t\tdist = new int[V];\n\t\tArrays.fill(dist, oo);\n\t\tparent = new int[V];\n\t\tArrays.fill(parent, -1);\n\t\tdist[src] = 0;\n\t\tPriorityQueue<Edge> pq = new PriorityQueue<>();\n\t\tpq.add(new Edge(src,0));\n\t\twhile(!pq.isEmpty()) {\n\t\t\tEdge e = pq.poll();\n\t\t\tif(dist[e.x] < e.y)\n\t\t\t\tcontinue;\n//\t\t\tif(e.x == dest)\n//\t\t\t\treturn e.y;\n\t\t\tfor(Edge e2:adj[e.x]) {\n\t\t\t\tif(dist[e2.x] > e2.y+e.y) {\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\treturn -1;\n\t}",
"dijkstra",
"{\n\t\tdist = new int[V];\n\t\tArrays.fill(dist, oo);\n\t\tparent = new int[V];\n\t\tArrays.fill(parent, -1);\n\t\tdist[src] = 0;\n\t\tPriorityQueue<Edge> pq = new PriorityQueue<>();\n\t\tpq.add(new Edge(src,0));\n\t\twhile(!pq.isEmpty()) {\n\t\t\tEdge e = pq.poll();\n\t\t\tif(dist[e.x] < e.y)\n\t\t\t\tcontinue;\n//\t\t\tif(e.x == dest)\n//\t\t\t\treturn e.y;\n\t\t\tfor(Edge e2:adj[e.x]) {\n\t\t\t\tif(dist[e2.x] > e2.y+e.y) {\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\treturn -1;\n\t}",
"dist = new int[V]",
"dist",
"new int[V]",
"V",
"Arrays.fill(dist, oo)",
"Arrays.fill",
"Arrays",
"dist",
"oo",
"parent = new int[V]",
"parent",
"new int[V]",
"V",
"Arrays.fill(parent, -1)",
"Arrays.fill",
"Arrays",
"parent",
"-1",
"1",
"dist[src] = 0",
"dist[src]",
"dist",
"src",
"0",
"PriorityQueue<Edge> pq = new PriorityQueue<>();",
"pq",
"new PriorityQueue<>()",
"pq.add(new Edge(src,0))",
"pq.add",
"pq",
"new Edge(src,0)",
"while(!pq.isEmpty()) {\n\t\t\tEdge e = pq.poll();\n\t\t\tif(dist[e.x] < e.y)\n\t\t\t\tcontinue;\n//\t\t\tif(e.x == dest)\n//\t\t\t\treturn e.y;\n\t\t\tfor(Edge e2:adj[e.x]) {\n\t\t\t\tif(dist[e2.x] > e2.y+e.y) {\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"!pq.isEmpty()",
"pq.isEmpty()",
"pq.isEmpty",
"pq",
"{\n\t\t\tEdge e = pq.poll();\n\t\t\tif(dist[e.x] < e.y)\n\t\t\t\tcontinue;\n//\t\t\tif(e.x == dest)\n//\t\t\t\treturn e.y;\n\t\t\tfor(Edge e2:adj[e.x]) {\n\t\t\t\tif(dist[e2.x] > e2.y+e.y) {\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"Edge e = pq.poll();",
"e",
"pq.poll()",
"pq.poll",
"pq",
"if(dist[e.x] < e.y)\n\t\t\t\tcontinue;",
"dist[e.x] < e.y",
"dist[e.x]",
"dist",
"e.x",
"e",
"e.x",
"e.y",
"e",
"e.y",
"continue;",
"for(Edge e2:adj[e.x]) {\n\t\t\t\tif(dist[e2.x] > e2.y+e.y) {\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}\n\t\t\t}",
"Edge e2",
"adj[e.x]",
"adj",
"e.x",
"e",
"e.x",
"{\n\t\t\t\tif(dist[e2.x] > e2.y+e.y) {\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(dist[e2.x] > e2.y+e.y) {\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}\n\t\t\t}",
"if(dist[e2.x] > e2.y+e.y) {\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}",
"dist[e2.x] > e2.y+e.y",
"dist[e2.x]",
"dist",
"e2.x",
"e2",
"e2.x",
"e2.y+e.y",
"e2.y",
"e2",
"e2.y",
"e.y",
"e",
"e.y",
"{\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}",
"pq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y))",
"pq.add",
"pq",
"new Edge(e2.x,dist[e2.x] = e2.y+e.y)",
"parent[e2.x] = e.x",
"parent[e2.x]",
"parent",
"e2.x",
"e2",
"e2.x",
"e.x",
"e",
"e.x",
"int src",
"src",
"static class Edge extends java.awt.Point implements Comparable<Edge>{\t\t\n\t\tpublic Edge(int u, int val) {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t\tsuper(u, val);\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(Edge e) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\treturn y - e.y;\n\t\t}\t\t\n\t}",
"Edge",
"public Edge(int u, int val) {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t\tsuper(u, val);\n\t\t}",
"Edge",
"{\n\t\t\t// TODO Auto-generated constructor stub\n\t\t\tsuper(u, val);\n\t\t}",
"super(u, val)",
"super",
"u",
"val",
"int u",
"u",
"int val",
"val",
"@Override\n\t\tpublic int compareTo(Edge e) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\treturn y - e.y;\n\t\t}",
"compareTo",
"{\n\t\t\t// TODO Auto-generated method stub\n\t\t\treturn y - e.y;\n\t\t}",
"return y - e.y;",
"y - e.y",
"y",
"e.y",
"e",
"e.y",
"Edge e",
"e",
"Point",
"Comparable",
"static class Scanner{\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\tpublic Scanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}\n\t\tprivate String next() throws Exception{\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 nextInt() throws Exception{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic long nextLong() throws Exception{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic double nextDouble() throws Exception{\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\t\tpublic String nextLine() throws Exception {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t}",
"Scanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public Scanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}",
"Scanner",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(in))",
"br",
"new BufferedReader(new InputStreamReader(in))",
"InputStream in",
"in",
"private String next() throws Exception{\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 nextInt() throws Exception{\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 long nextLong() throws Exception{\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 double nextDouble() throws Exception{\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 String nextLine() throws Exception {\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 class Main {\n\tstatic Scanner sc;\n\tstatic PrintWriter out;\n\tstatic ArrayList<Edge> adj[];\n\tstatic int V,E;\n\tstatic int[] dist;\n\tstatic int[] parent;\n\tstatic final int oo = (int) 1e9;\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO Auto-generated method stub\n\t\tsc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tint a,b,c,d;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = sc.nextInt();\n\t\td = sc.nextInt();\n\t\tlong c1 = 1l*a*c;\n\t\tlong c2 = 1l*a*d;\n\t\tlong c3 = 1l*b*c;\n\t\tlong c4 = 1l*b*d;\n\t\tout.println(Math.max(c1, Math.max(c2, Math.max(c3, c4))));\n\t\tout.close();\n\t}\n\tstatic void dijkstra(int src) {\n\t\tdist = new int[V];\n\t\tArrays.fill(dist, oo);\n\t\tparent = new int[V];\n\t\tArrays.fill(parent, -1);\n\t\tdist[src] = 0;\n\t\tPriorityQueue<Edge> pq = new PriorityQueue<>();\n\t\tpq.add(new Edge(src,0));\n\t\twhile(!pq.isEmpty()) {\n\t\t\tEdge e = pq.poll();\n\t\t\tif(dist[e.x] < e.y)\n\t\t\t\tcontinue;\n//\t\t\tif(e.x == dest)\n//\t\t\t\treturn e.y;\n\t\t\tfor(Edge e2:adj[e.x]) {\n\t\t\t\tif(dist[e2.x] > e2.y+e.y) {\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\treturn -1;\n\t}\n\tstatic class Edge extends java.awt.Point implements Comparable<Edge>{\t\t\n\t\tpublic Edge(int u, int val) {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t\tsuper(u, val);\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(Edge e) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\treturn y - e.y;\n\t\t}\t\t\n\t}\n\tstatic class Scanner{\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\tpublic Scanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}\n\t\tprivate String next() throws Exception{\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 nextInt() throws Exception{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic long nextLong() throws Exception{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic double nextDouble() throws Exception{\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\t\tpublic String nextLine() throws Exception {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t}\n}",
"public class Main {\n\tstatic Scanner sc;\n\tstatic PrintWriter out;\n\tstatic ArrayList<Edge> adj[];\n\tstatic int V,E;\n\tstatic int[] dist;\n\tstatic int[] parent;\n\tstatic final int oo = (int) 1e9;\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO Auto-generated method stub\n\t\tsc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tint a,b,c,d;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tc = sc.nextInt();\n\t\td = sc.nextInt();\n\t\tlong c1 = 1l*a*c;\n\t\tlong c2 = 1l*a*d;\n\t\tlong c3 = 1l*b*c;\n\t\tlong c4 = 1l*b*d;\n\t\tout.println(Math.max(c1, Math.max(c2, Math.max(c3, c4))));\n\t\tout.close();\n\t}\n\tstatic void dijkstra(int src) {\n\t\tdist = new int[V];\n\t\tArrays.fill(dist, oo);\n\t\tparent = new int[V];\n\t\tArrays.fill(parent, -1);\n\t\tdist[src] = 0;\n\t\tPriorityQueue<Edge> pq = new PriorityQueue<>();\n\t\tpq.add(new Edge(src,0));\n\t\twhile(!pq.isEmpty()) {\n\t\t\tEdge e = pq.poll();\n\t\t\tif(dist[e.x] < e.y)\n\t\t\t\tcontinue;\n//\t\t\tif(e.x == dest)\n//\t\t\t\treturn e.y;\n\t\t\tfor(Edge e2:adj[e.x]) {\n\t\t\t\tif(dist[e2.x] > e2.y+e.y) {\n\t\t\t\t\tpq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));\n\t\t\t\t\tparent[e2.x] = e.x;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\treturn -1;\n\t}\n\tstatic class Edge extends java.awt.Point implements Comparable<Edge>{\t\t\n\t\tpublic Edge(int u, int val) {\n\t\t\t// TODO Auto-generated constructor stub\n\t\t\tsuper(u, val);\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(Edge e) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\treturn y - e.y;\n\t\t}\t\t\n\t}\n\tstatic class Scanner{\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\tpublic Scanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}\n\t\tprivate String next() throws Exception{\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 nextInt() throws Exception{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic long nextLong() throws Exception{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic double nextDouble() throws Exception{\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\t\tpublic String nextLine() throws Exception {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.PriorityQueue;
import java.util.StringTokenizer;
public class Main {
static Scanner sc;
static PrintWriter out;
static ArrayList<Edge> adj[];
static int V,E;
static int[] dist;
static int[] parent;
static final int oo = (int) 1e9;
public static void main(String[] args) throws Exception {
// TODO Auto-generated method stub
sc = new Scanner(System.in);
out = new PrintWriter(System.out);
int a,b,c,d;
a = sc.nextInt();
b = sc.nextInt();
c = sc.nextInt();
d = sc.nextInt();
long c1 = 1l*a*c;
long c2 = 1l*a*d;
long c3 = 1l*b*c;
long c4 = 1l*b*d;
out.println(Math.max(c1, Math.max(c2, Math.max(c3, c4))));
out.close();
}
static void dijkstra(int src) {
dist = new int[V];
Arrays.fill(dist, oo);
parent = new int[V];
Arrays.fill(parent, -1);
dist[src] = 0;
PriorityQueue<Edge> pq = new PriorityQueue<>();
pq.add(new Edge(src,0));
while(!pq.isEmpty()) {
Edge e = pq.poll();
if(dist[e.x] < e.y)
continue;
// if(e.x == dest)
// return e.y;
for(Edge e2:adj[e.x]) {
if(dist[e2.x] > e2.y+e.y) {
pq.add(new Edge(e2.x,dist[e2.x] = e2.y+e.y));
parent[e2.x] = e.x;
}
}
}
// return -1;
}
static class Edge extends java.awt.Point implements Comparable<Edge>{
public Edge(int u, int val) {
// TODO Auto-generated constructor stub
super(u, val);
}
@Override
public int compareTo(Edge e) {
// TODO Auto-generated method stub
return y - e.y;
}
}
static class Scanner{
BufferedReader br;
StringTokenizer st;
public Scanner(InputStream in) {
br = new BufferedReader(new InputStreamReader(in));
}
private String next() throws Exception{
while(st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public int nextInt() throws Exception{
return Integer.parseInt(next());
}
public long nextLong() throws Exception{
return Long.parseLong(next());
}
public double nextDouble() throws Exception{
return Double.parseDouble(next());
}
public String nextLine() throws Exception {
return br.readLine();
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
170,
14
],
[
170,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
17,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
17,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
17,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
17,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
17,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
74,
78
],
[
15,
79
],
[
79,
80
],
[
170,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
81,
85
],
[
85,
86
],
[
81,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
81,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
96,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
106,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
95,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
81,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
128,
129
],
[
81,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
81,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
146,
147
],
[
81,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
154,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
150,
167
],
[
167,
168
],
[
0,
169
],
[
169,
170
],
[
169,
171
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastReader fs = new FastReader();\n long a = fs.nextInt();\n long b = fs.nextInt();\n long c = fs.nextInt();\n long d = fs.nextInt();\n long a1 = a * c;\n long a2 = a * d;\n long a3 = b * c;\n long a4 = b * d;\n System.out.println(Math.max(a1, Math.max(a2,Math.max(a3,a4))));\n\n\n\n }\n\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"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\n public static void main(String[] args) {\n FastReader fs = new FastReader();\n long a = fs.nextInt();\n long b = fs.nextInt();\n long c = fs.nextInt();\n long d = fs.nextInt();\n long a1 = a * c;\n long a2 = a * d;\n long a3 = b * c;\n long a4 = b * d;\n System.out.println(Math.max(a1, Math.max(a2,Math.max(a3,a4))));\n\n\n\n }\n\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n FastReader fs = new FastReader();\n long a = fs.nextInt();\n long b = fs.nextInt();\n long c = fs.nextInt();\n long d = fs.nextInt();\n long a1 = a * c;\n long a2 = a * d;\n long a3 = b * c;\n long a4 = b * d;\n System.out.println(Math.max(a1, Math.max(a2,Math.max(a3,a4))));\n\n\n\n }",
"main",
"{\n FastReader fs = new FastReader();\n long a = fs.nextInt();\n long b = fs.nextInt();\n long c = fs.nextInt();\n long d = fs.nextInt();\n long a1 = a * c;\n long a2 = a * d;\n long a3 = b * c;\n long a4 = b * d;\n System.out.println(Math.max(a1, Math.max(a2,Math.max(a3,a4))));\n\n\n\n }",
"FastReader fs = new FastReader();",
"fs",
"new FastReader()",
"long a = fs.nextInt();",
"a",
"fs.nextInt()",
"fs.nextInt",
"fs",
"long b = fs.nextInt();",
"b",
"fs.nextInt()",
"fs.nextInt",
"fs",
"long c = fs.nextInt();",
"c",
"fs.nextInt()",
"fs.nextInt",
"fs",
"long d = fs.nextInt();",
"d",
"fs.nextInt()",
"fs.nextInt",
"fs",
"long a1 = a * c;",
"a1",
"a * c",
"a",
"c",
"long a2 = a * d;",
"a2",
"a * d",
"a",
"d",
"long a3 = b * c;",
"a3",
"b * c",
"b",
"c",
"long a4 = b * d;",
"a4",
"b * d",
"b",
"d",
"System.out.println(Math.max(a1, Math.max(a2,Math.max(a3,a4))))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.max(a1, Math.max(a2,Math.max(a3,a4)))",
"Math.max",
"Math",
"a1",
"Math.max(a2,Math.max(a3,a4))",
"Math.max",
"Math",
"a2",
"Math.max(a3,a4)",
"Math.max",
"Math",
"a3",
"a4",
"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\n public static void main(String[] args) {\n FastReader fs = new FastReader();\n long a = fs.nextInt();\n long b = fs.nextInt();\n long c = fs.nextInt();\n long d = fs.nextInt();\n long a1 = a * c;\n long a2 = a * d;\n long a3 = b * c;\n long a4 = b * d;\n System.out.println(Math.max(a1, Math.max(a2,Math.max(a3,a4))));\n\n\n\n }\n\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n FastReader fs = new FastReader();\n long a = fs.nextInt();\n long b = fs.nextInt();\n long c = fs.nextInt();\n long d = fs.nextInt();\n long a1 = a * c;\n long a2 = a * d;\n long a3 = b * c;\n long a4 = b * d;\n System.out.println(Math.max(a1, Math.max(a2,Math.max(a3,a4))));\n\n\n\n }\n\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"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) {
FastReader fs = new FastReader();
long a = fs.nextInt();
long b = fs.nextInt();
long c = fs.nextInt();
long d = fs.nextInt();
long a1 = a * c;
long a2 = a * d;
long a3 = b * c;
long a4 = b * d;
System.out.println(Math.max(a1, Math.max(a2,Math.max(a3,a4))));
}
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,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
39,
13,
13,
13,
13,
41,
13,
17,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
18,
13,
13,
18,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
99,
5
],
[
99,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
34,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
72,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
8,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
6,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong []arr = {a,b,c,d};\n\t\tlong total = 0;\n\t\tlong max = Long.MIN_VALUE;\n\t\tfor(int i = 0 ; i < 2; i++)\n\t\t{\n\t\t\tfor(int j = 2; j<4; j++)\n\t\t\t{\n\t\t\t\t\ttotal = arr[i] * arr[j];\n\t\t\t\t\n\t\t\t\tif(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong []arr = {a,b,c,d};\n\t\tlong total = 0;\n\t\tlong max = Long.MIN_VALUE;\n\t\tfor(int i = 0 ; i < 2; i++)\n\t\t{\n\t\t\tfor(int j = 2; j<4; j++)\n\t\t\t{\n\t\t\t\t\ttotal = arr[i] * arr[j];\n\t\t\t\t\n\t\t\t\tif(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong []arr = {a,b,c,d};\n\t\tlong total = 0;\n\t\tlong max = Long.MIN_VALUE;\n\t\tfor(int i = 0 ; i < 2; i++)\n\t\t{\n\t\t\tfor(int j = 2; j<4; j++)\n\t\t\t{\n\t\t\t\t\ttotal = arr[i] * arr[j];\n\t\t\t\t\n\t\t\t\tif(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong []arr = {a,b,c,d};\n\t\tlong total = 0;\n\t\tlong max = Long.MIN_VALUE;\n\t\tfor(int i = 0 ; i < 2; i++)\n\t\t{\n\t\t\tfor(int j = 2; j<4; j++)\n\t\t\t{\n\t\t\t\t\ttotal = arr[i] * arr[j];\n\t\t\t\t\n\t\t\t\tif(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long []arr = {a,b,c,d};",
"arr",
"{a,b,c,d}",
"a",
"b",
"c",
"d",
"long total = 0;",
"total",
"0",
"long max = Long.MIN_VALUE;",
"max",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"for(int i = 0 ; i < 2; i++)\n\t\t{\n\t\t\tfor(int j = 2; j<4; j++)\n\t\t\t{\n\t\t\t\t\ttotal = arr[i] * arr[j];\n\t\t\t\t\n\t\t\t\tif(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 2",
"i",
"2",
"i++",
"i++",
"i",
"{\n\t\t\tfor(int j = 2; j<4; j++)\n\t\t\t{\n\t\t\t\t\ttotal = arr[i] * arr[j];\n\t\t\t\t\n\t\t\t\tif(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j = 2; j<4; j++)\n\t\t\t{\n\t\t\t\t\ttotal = arr[i] * arr[j];\n\t\t\t\t\n\t\t\t\tif(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}",
"for(int j = 2; j<4; j++)\n\t\t\t{\n\t\t\t\t\ttotal = arr[i] * arr[j];\n\t\t\t\t\n\t\t\t\tif(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}",
"int j = 2;",
"int j = 2;",
"j",
"2",
"j<4",
"j",
"4",
"j++",
"j++",
"j",
"{\n\t\t\t\t\ttotal = arr[i] * arr[j];\n\t\t\t\t\n\t\t\t\tif(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}",
"{\n\t\t\t\t\ttotal = arr[i] * arr[j];\n\t\t\t\t\n\t\t\t\tif(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}",
"total = arr[i] * arr[j]",
"total",
"arr[i] * arr[j]",
"arr[i]",
"arr",
"i",
"arr[j]",
"arr",
"j",
"if(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}",
"total > max",
"total",
"max",
"{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}",
"max = total",
"max",
"total",
"System.out.println(max)",
"System.out.println",
"System.out",
"System",
"System.out",
"max",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong []arr = {a,b,c,d};\n\t\tlong total = 0;\n\t\tlong max = Long.MIN_VALUE;\n\t\tfor(int i = 0 ; i < 2; i++)\n\t\t{\n\t\t\tfor(int j = 2; j<4; j++)\n\t\t\t{\n\t\t\t\t\ttotal = arr[i] * arr[j];\n\t\t\t\t\n\t\t\t\tif(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong []arr = {a,b,c,d};\n\t\tlong total = 0;\n\t\tlong max = Long.MIN_VALUE;\n\t\tfor(int i = 0 ; i < 2; i++)\n\t\t{\n\t\t\tfor(int j = 2; j<4; j++)\n\t\t\t{\n\t\t\t\t\ttotal = arr[i] * arr[j];\n\t\t\t\t\n\t\t\t\tif(total > max)\n\t\t\t\t{\n\t\t\t\t\tmax = total;\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(max);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
long []arr = {a,b,c,d};
long total = 0;
long max = Long.MIN_VALUE;
for(int i = 0 ; i < 2; i++)
{
for(int j = 2; j<4; j++)
{
total = arr[i] * arr[j];
if(total > max)
{
max = total;
}
}
}
System.out.println(max);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
40,
17,
14,
2,
2,
13,
13,
13,
30,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
13,
30,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
13,
30,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
13,
30,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
72,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
6,
90
],
[
90,
91
]
]
| [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n \n long currentMax = -9223372036854775807L;\n\n if (a*c > currentMax) {\n currentMax = a*c;\n }\n\n if (a*d > currentMax) {\n currentMax = a*d;\n }\n\n if (b*c > currentMax) {\n currentMax = b*c;\n }\n\n if (b*d > currentMax) {\n currentMax = b*d;\n }\n\n System.out.println(currentMax);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n \n long currentMax = -9223372036854775807L;\n\n if (a*c > currentMax) {\n currentMax = a*c;\n }\n\n if (a*d > currentMax) {\n currentMax = a*d;\n }\n\n if (b*c > currentMax) {\n currentMax = b*c;\n }\n\n if (b*d > currentMax) {\n currentMax = b*d;\n }\n\n System.out.println(currentMax);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n \n long currentMax = -9223372036854775807L;\n\n if (a*c > currentMax) {\n currentMax = a*c;\n }\n\n if (a*d > currentMax) {\n currentMax = a*d;\n }\n\n if (b*c > currentMax) {\n currentMax = b*c;\n }\n\n if (b*d > currentMax) {\n currentMax = b*d;\n }\n\n System.out.println(currentMax);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n \n long currentMax = -9223372036854775807L;\n\n if (a*c > currentMax) {\n currentMax = a*c;\n }\n\n if (a*d > currentMax) {\n currentMax = a*d;\n }\n\n if (b*c > currentMax) {\n currentMax = b*c;\n }\n\n if (b*d > currentMax) {\n currentMax = b*d;\n }\n\n System.out.println(currentMax);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long currentMax = -9223372036854775807L;",
"currentMax",
"-9223372036854775807L",
"9223372036854775807L",
"if (a*c > currentMax) {\n currentMax = a*c;\n }",
"a*c > currentMax",
"a*c",
"a",
"c",
"currentMax",
"{\n currentMax = a*c;\n }",
"currentMax = a*c",
"currentMax",
"a*c",
"a",
"c",
"if (a*d > currentMax) {\n currentMax = a*d;\n }",
"a*d > currentMax",
"a*d",
"a",
"d",
"currentMax",
"{\n currentMax = a*d;\n }",
"currentMax = a*d",
"currentMax",
"a*d",
"a",
"d",
"if (b*c > currentMax) {\n currentMax = b*c;\n }",
"b*c > currentMax",
"b*c",
"b",
"c",
"currentMax",
"{\n currentMax = b*c;\n }",
"currentMax = b*c",
"currentMax",
"b*c",
"b",
"c",
"if (b*d > currentMax) {\n currentMax = b*d;\n }",
"b*d > currentMax",
"b*d",
"b",
"d",
"currentMax",
"{\n currentMax = b*d;\n }",
"currentMax = b*d",
"currentMax",
"b*d",
"b",
"d",
"System.out.println(currentMax)",
"System.out.println",
"System.out",
"System",
"System.out",
"currentMax",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long a = sc.nextInt();
long b = sc.nextInt();
long c = sc.nextInt();
long d = sc.nextInt();
long currentMax = -9223372036854775807L;
if (a*c > currentMax) {
currentMax = a*c;
}
if (a*d > currentMax) {
currentMax = a*d;
}
if (b*c > currentMax) {
currentMax = b*c;
}
if (b*d > currentMax) {
currentMax = b*d;
}
System.out.println(currentMax);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
29,
4,
18,
13,
29,
4,
18,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
245,
17
],
[
245,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
20,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
20,
44
],
[
44,
45
],
[
44,
46
],
[
20,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
49,
55
],
[
55,
56
],
[
55,
57
],
[
20,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
20,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
20,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
18,
82
],
[
82,
83
],
[
245,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
84,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
92,
101
],
[
101,
102
],
[
84,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
106,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
116,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
105,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
84,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
133,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
143,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
132,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
84,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
166,
167
],
[
84,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
175,
176
],
[
84,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
184,
185
],
[
84,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
193,
198
],
[
198,
199
],
[
198,
200
],
[
193,
201
],
[
201,
202
],
[
202,
203
],
[
193,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
188,
211
],
[
211,
212
],
[
186,
213
],
[
213,
214
],
[
84,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
217,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
222,
227
],
[
227,
228
],
[
227,
229
],
[
222,
230
],
[
230,
231
],
[
231,
232
],
[
222,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
238,
239
],
[
217,
240
],
[
240,
241
],
[
215,
242
],
[
242,
243
],
[
0,
244
],
[
244,
245
],
[
244,
246
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong a = sc.nextLong(), b = sc.nextLong();\n\t\tlong c = sc.nextLong(), d = sc.nextLong();\n\t\tlong ans = 0;\n\t\tans = Math.max(a*c, b*d);\n\t\tans = Math.max(ans, b*c);\n\t\tans = Math.max(ans, a*d);\n\t\tSystem.out.println(ans);\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong a = sc.nextLong(), b = sc.nextLong();\n\t\tlong c = sc.nextLong(), d = sc.nextLong();\n\t\tlong ans = 0;\n\t\tans = Math.max(a*c, b*d);\n\t\tans = Math.max(ans, b*c);\n\t\tans = Math.max(ans, a*d);\n\t\tSystem.out.println(ans);\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong a = sc.nextLong(), b = sc.nextLong();\n\t\tlong c = sc.nextLong(), d = sc.nextLong();\n\t\tlong ans = 0;\n\t\tans = Math.max(a*c, b*d);\n\t\tans = Math.max(ans, b*c);\n\t\tans = Math.max(ans, a*d);\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong a = sc.nextLong(), b = sc.nextLong();\n\t\tlong c = sc.nextLong(), d = sc.nextLong();\n\t\tlong ans = 0;\n\t\tans = Math.max(a*c, b*d);\n\t\tans = Math.max(ans, b*c);\n\t\tans = Math.max(ans, a*d);\n\t\tSystem.out.println(ans);\n\t}",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"long a = sc.nextLong()",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong()",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long ans = 0;",
"ans",
"0",
"ans = Math.max(a*c, b*d)",
"ans",
"Math.max(a*c, b*d)",
"Math.max",
"Math",
"a*c",
"a",
"c",
"b*d",
"b",
"d",
"ans = Math.max(ans, b*c)",
"ans",
"Math.max(ans, b*c)",
"Math.max",
"Math",
"ans",
"b*c",
"b",
"c",
"ans = Math.max(ans, a*d)",
"ans",
"Math.max(ans, a*d)",
"Math.max",
"Math",
"ans",
"a*d",
"a",
"d",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }",
"FastScanner",
"{\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }",
"next",
"{\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"IOException e",
"{\n\t throw new RuntimeException(e);\n\t }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }",
"nextLine",
"{\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"IOException e",
"{\n\t throw new RuntimeException(e);\n\t }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t return reader.readLine();\n\t }",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"return tokenizer.nextToken(\"\\n\");",
"tokenizer.nextToken(\"\\n\")",
"tokenizer.nextToken",
"tokenizer",
"\"\\n\"",
"public long nextLong() {\n\t return Long.parseLong(next());\n\t }",
"nextLong",
"{\n\t return Long.parseLong(next());\n\t }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public int nextInt() {\n\t return Integer.parseInt(next());\n\t }",
"nextInt",
"{\n\t return Integer.parseInt(next());\n\t }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }",
"nextDouble",
"{\n\t return Double.parseDouble(next());\n\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }",
"nextIntArray",
"{\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t a[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }",
"nextLongArray",
"{\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t a[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextLong();",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong a = sc.nextLong(), b = sc.nextLong();\n\t\tlong c = sc.nextLong(), d = sc.nextLong();\n\t\tlong ans = 0;\n\t\tans = Math.max(a*c, b*d);\n\t\tans = Math.max(ans, b*c);\n\t\tans = Math.max(ans, a*d);\n\t\tSystem.out.println(ans);\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong a = sc.nextLong(), b = sc.nextLong();\n\t\tlong c = sc.nextLong(), d = sc.nextLong();\n\t\tlong ans = 0;\n\t\tans = Math.max(a*c, b*d);\n\t\tans = Math.max(ans, b*c);\n\t\tans = Math.max(ans, a*d);\n\t\tSystem.out.println(ans);\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner(System.in);
long a = sc.nextLong(), b = sc.nextLong();
long c = sc.nextLong(), d = sc.nextLong();
long ans = 0;
ans = Math.max(a*c, b*d);
ans = Math.max(ans, b*c);
ans = Math.max(ans, a*d);
System.out.println(ans);
}
static class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public String nextLine() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
return reader.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken("\n");
}
public long nextLong() {
return Long.parseLong(next());
}
public int nextInt() {
return Integer.parseInt(next());
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] nextIntArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextLongArray(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
0,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
0,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
0,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
82,
5
],
[
82,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
40,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
8,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t\n\t\tlong temp = 0;\n\t\ttemp = a * c;\n\t\tif(temp < a * d) temp = a * d;\n\t\tif(temp < b * c) temp = b * c;\n\t\tif(temp < b * d) temp = b * d;\n\t\t\n\t\tSystem.out.println(temp);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t\n\t\tlong temp = 0;\n\t\ttemp = a * c;\n\t\tif(temp < a * d) temp = a * d;\n\t\tif(temp < b * c) temp = b * c;\n\t\tif(temp < b * d) temp = b * d;\n\t\t\n\t\tSystem.out.println(temp);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t\n\t\tlong temp = 0;\n\t\ttemp = a * c;\n\t\tif(temp < a * d) temp = a * d;\n\t\tif(temp < b * c) temp = b * c;\n\t\tif(temp < b * d) temp = b * d;\n\t\t\n\t\tSystem.out.println(temp);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t\n\t\tlong temp = 0;\n\t\ttemp = a * c;\n\t\tif(temp < a * d) temp = a * d;\n\t\tif(temp < b * c) temp = b * c;\n\t\tif(temp < b * d) temp = b * d;\n\t\t\n\t\tSystem.out.println(temp);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long temp = 0;",
"temp",
"0",
"temp = a * c",
"temp",
"a * c",
"a",
"c",
"if(temp < a * d) temp = a * d;",
"temp < a * d",
"temp",
"a * d",
"a",
"d",
"temp = a * d",
"temp",
"a * d",
"a",
"d",
"if(temp < b * c) temp = b * c;",
"temp < b * c",
"temp",
"b * c",
"b",
"c",
"temp = b * c",
"temp",
"b * c",
"b",
"c",
"if(temp < b * d) temp = b * d;",
"temp < b * d",
"temp",
"b * d",
"b",
"d",
"temp = b * d",
"temp",
"b * d",
"b",
"d",
"System.out.println(temp)",
"System.out.println",
"System.out",
"System",
"System.out",
"temp",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t\n\t\tlong temp = 0;\n\t\ttemp = a * c;\n\t\tif(temp < a * d) temp = a * d;\n\t\tif(temp < b * c) temp = b * c;\n\t\tif(temp < b * d) temp = b * d;\n\t\t\n\t\tSystem.out.println(temp);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t\n\t\tlong temp = 0;\n\t\ttemp = a * c;\n\t\tif(temp < a * d) temp = a * d;\n\t\tif(temp < b * c) temp = b * c;\n\t\tif(temp < b * d) temp = b * d;\n\t\t\n\t\tSystem.out.println(temp);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
long temp = 0;
temp = a * c;
if(temp < a * d) temp = a * d;
if(temp < b * c) temp = b * c;
if(temp < b * d) temp = b * d;
System.out.println(temp);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
17,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
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
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
11,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
11,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
11,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
9,
76
],
[
76,
77
]
]
| [
"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 long a = sr.nextLong();\n long b = sr.nextLong();\n long c = sr.nextLong();\n long d = sr.nextLong();\n long ans[]=new long[4];\n ans[0]=a*c;\n ans[1]=a*d;\n ans[2]=b*c;\n ans[3]=b*d;\n Arrays.sort(ans);\n System.out.println(ans[3]);\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 long a = sr.nextLong();\n long b = sr.nextLong();\n long c = sr.nextLong();\n long d = sr.nextLong();\n long ans[]=new long[4];\n ans[0]=a*c;\n ans[1]=a*d;\n ans[2]=b*c;\n ans[3]=b*d;\n Arrays.sort(ans);\n System.out.println(ans[3]);\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 long a = sr.nextLong();\n long b = sr.nextLong();\n long c = sr.nextLong();\n long d = sr.nextLong();\n long ans[]=new long[4];\n ans[0]=a*c;\n ans[1]=a*d;\n ans[2]=b*c;\n ans[3]=b*d;\n Arrays.sort(ans);\n System.out.println(ans[3]);\n\n\n }",
"main",
"{\n long a = sr.nextLong();\n long b = sr.nextLong();\n long c = sr.nextLong();\n long d = sr.nextLong();\n long ans[]=new long[4];\n ans[0]=a*c;\n ans[1]=a*d;\n ans[2]=b*c;\n ans[3]=b*d;\n Arrays.sort(ans);\n System.out.println(ans[3]);\n\n\n }",
"long a = sr.nextLong();",
"a",
"sr.nextLong()",
"sr.nextLong",
"sr",
"long b = sr.nextLong();",
"b",
"sr.nextLong()",
"sr.nextLong",
"sr",
"long c = sr.nextLong();",
"c",
"sr.nextLong()",
"sr.nextLong",
"sr",
"long d = sr.nextLong();",
"d",
"sr.nextLong()",
"sr.nextLong",
"sr",
"long ans[]=new long[4];",
"ans",
"new long[4]",
"4",
"ans[0]=a*c",
"ans[0]",
"ans",
"0",
"a*c",
"a",
"c",
"ans[1]=a*d",
"ans[1]",
"ans",
"1",
"a*d",
"a",
"d",
"ans[2]=b*c",
"ans[2]",
"ans",
"2",
"b*c",
"b",
"c",
"ans[3]=b*d",
"ans[3]",
"ans",
"3",
"b*d",
"b",
"d",
"Arrays.sort(ans)",
"Arrays.sort",
"Arrays",
"ans",
"System.out.println(ans[3])",
"System.out.println",
"System.out",
"System",
"System.out",
"ans[3]",
"ans",
"3",
"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 {
long a = sr.nextLong();
long b = sr.nextLong();
long c = sr.nextLong();
long d = sr.nextLong();
long ans[]=new long[4];
ans[0]=a*c;
ans[1]=a*d;
ans[2]=b*c;
ans[3]=b*d;
Arrays.sort(ans);
System.out.println(ans[3]);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
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,
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
],
[
170,
14
],
[
170,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
17,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
17,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
17,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
17,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
17,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
74,
78
],
[
15,
79
],
[
79,
80
],
[
170,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
81,
85
],
[
85,
86
],
[
81,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
81,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
100,
101
],
[
81,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
109,
110
],
[
81,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
118,
119
],
[
81,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
123,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
133,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
122,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
81,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
154,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
150,
167
],
[
167,
168
],
[
0,
169
],
[
169,
170
],
[
169,
171
]
]
| [
"import 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) {\n CP sc = new CP();\n long a= sc.nextLong(), b= sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();\n long x = a*c;\n long y = a*d;\n long z = b*c;\n long v = b*d;\n System.out.println(Math.max(x,Math.max(y,Math.max(z,v))));\n }\n\n /*****************************************************************************/\n static class CP {\n BufferedReader bufferedReader;\n StringTokenizer stringTokenizer;\n\n public CP() {\n bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n }\n\n int nextInt() {\n return Integer.parseInt(NNNN());\n }\n\n long nextLong() {\n return Long.parseLong(NNNN());\n }\n\n double nextDouble() {\n return Double.parseDouble(NNNN());\n }\n\n String NNNN() {\n while (stringTokenizer == null || !stringTokenizer.hasMoreElements()) {\n try {\n stringTokenizer = new StringTokenizer(bufferedReader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return stringTokenizer.nextToken();\n }\n\n String nextLine() {\n String spl = \"\";\n try {\n spl = bufferedReader.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return spl;\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n CP sc = new CP();\n long a= sc.nextLong(), b= sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();\n long x = a*c;\n long y = a*d;\n long z = b*c;\n long v = b*d;\n System.out.println(Math.max(x,Math.max(y,Math.max(z,v))));\n }\n\n /*****************************************************************************/\n static class CP {\n BufferedReader bufferedReader;\n StringTokenizer stringTokenizer;\n\n public CP() {\n bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n }\n\n int nextInt() {\n return Integer.parseInt(NNNN());\n }\n\n long nextLong() {\n return Long.parseLong(NNNN());\n }\n\n double nextDouble() {\n return Double.parseDouble(NNNN());\n }\n\n String NNNN() {\n while (stringTokenizer == null || !stringTokenizer.hasMoreElements()) {\n try {\n stringTokenizer = new StringTokenizer(bufferedReader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return stringTokenizer.nextToken();\n }\n\n String nextLine() {\n String spl = \"\";\n try {\n spl = bufferedReader.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return spl;\n }\n }\n /*****************************************************************************/\n}",
"Main",
"public static void main(String[] args) {\n CP sc = new CP();\n long a= sc.nextLong(), b= sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();\n long x = a*c;\n long y = a*d;\n long z = b*c;\n long v = b*d;\n System.out.println(Math.max(x,Math.max(y,Math.max(z,v))));\n }",
"main",
"{\n CP sc = new CP();\n long a= sc.nextLong(), b= sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();\n long x = a*c;\n long y = a*d;\n long z = b*c;\n long v = b*d;\n System.out.println(Math.max(x,Math.max(y,Math.max(z,v))));\n }",
"CP sc = new CP();",
"sc",
"new CP()",
"long a= sc.nextLong()",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"b= sc.nextLong()",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"c = sc.nextLong()",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long x = a*c;",
"x",
"a*c",
"a",
"c",
"long y = a*d;",
"y",
"a*d",
"a",
"d",
"long z = b*c;",
"z",
"b*c",
"b",
"c",
"long v = b*d;",
"v",
"b*d",
"b",
"d",
"System.out.println(Math.max(x,Math.max(y,Math.max(z,v))))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.max(x,Math.max(y,Math.max(z,v)))",
"Math.max",
"Math",
"x",
"Math.max(y,Math.max(z,v))",
"Math.max",
"Math",
"y",
"Math.max(z,v)",
"Math.max",
"Math",
"z",
"v",
"String[] args",
"args",
"static class CP {\n BufferedReader bufferedReader;\n StringTokenizer stringTokenizer;\n\n public CP() {\n bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n }\n\n int nextInt() {\n return Integer.parseInt(NNNN());\n }\n\n long nextLong() {\n return Long.parseLong(NNNN());\n }\n\n double nextDouble() {\n return Double.parseDouble(NNNN());\n }\n\n String NNNN() {\n while (stringTokenizer == null || !stringTokenizer.hasMoreElements()) {\n try {\n stringTokenizer = new StringTokenizer(bufferedReader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return stringTokenizer.nextToken();\n }\n\n String nextLine() {\n String spl = \"\";\n try {\n spl = bufferedReader.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return spl;\n }\n }",
"CP",
"BufferedReader bufferedReader;",
"bufferedReader",
"StringTokenizer stringTokenizer;",
"stringTokenizer",
"public CP() {\n bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n }",
"CP",
"{\n bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n }",
"bufferedReader = new BufferedReader(new InputStreamReader(System.in))",
"bufferedReader",
"new BufferedReader(new InputStreamReader(System.in))",
"int nextInt() {\n return Integer.parseInt(NNNN());\n }",
"nextInt",
"{\n return Integer.parseInt(NNNN());\n }",
"return Integer.parseInt(NNNN());",
"Integer.parseInt(NNNN())",
"Integer.parseInt",
"Integer",
"NNNN()",
"NNNN",
"long nextLong() {\n return Long.parseLong(NNNN());\n }",
"nextLong",
"{\n return Long.parseLong(NNNN());\n }",
"return Long.parseLong(NNNN());",
"Long.parseLong(NNNN())",
"Long.parseLong",
"Long",
"NNNN()",
"NNNN",
"double nextDouble() {\n return Double.parseDouble(NNNN());\n }",
"nextDouble",
"{\n return Double.parseDouble(NNNN());\n }",
"return Double.parseDouble(NNNN());",
"Double.parseDouble(NNNN())",
"Double.parseDouble",
"Double",
"NNNN()",
"NNNN",
"String NNNN() {\n while (stringTokenizer == null || !stringTokenizer.hasMoreElements()) {\n try {\n stringTokenizer = new StringTokenizer(bufferedReader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return stringTokenizer.nextToken();\n }",
"NNNN",
"{\n while (stringTokenizer == null || !stringTokenizer.hasMoreElements()) {\n try {\n stringTokenizer = new StringTokenizer(bufferedReader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return stringTokenizer.nextToken();\n }",
"while (stringTokenizer == null || !stringTokenizer.hasMoreElements()) {\n try {\n stringTokenizer = new StringTokenizer(bufferedReader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"stringTokenizer == null || !stringTokenizer.hasMoreElements()",
"stringTokenizer == null",
"stringTokenizer",
"null",
"!stringTokenizer.hasMoreElements()",
"stringTokenizer.hasMoreElements()",
"stringTokenizer.hasMoreElements",
"stringTokenizer",
"{\n try {\n stringTokenizer = new StringTokenizer(bufferedReader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n stringTokenizer = new StringTokenizer(bufferedReader.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 stringTokenizer = new StringTokenizer(bufferedReader.readLine());\n }",
"stringTokenizer = new StringTokenizer(bufferedReader.readLine())",
"stringTokenizer",
"new StringTokenizer(bufferedReader.readLine())",
"return stringTokenizer.nextToken();",
"stringTokenizer.nextToken()",
"stringTokenizer.nextToken",
"stringTokenizer",
"String nextLine() {\n String spl = \"\";\n try {\n spl = bufferedReader.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return spl;\n }",
"nextLine",
"{\n String spl = \"\";\n try {\n spl = bufferedReader.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return spl;\n }",
"String spl = \"\";",
"spl",
"\"\"",
"try {\n spl = bufferedReader.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 spl = bufferedReader.readLine();\n }",
"spl = bufferedReader.readLine()",
"spl",
"bufferedReader.readLine()",
"bufferedReader.readLine",
"bufferedReader",
"return spl;",
"spl",
"public class Main {\n public static void main(String[] args) {\n CP sc = new CP();\n long a= sc.nextLong(), b= sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();\n long x = a*c;\n long y = a*d;\n long z = b*c;\n long v = b*d;\n System.out.println(Math.max(x,Math.max(y,Math.max(z,v))));\n }\n\n /*****************************************************************************/\n static class CP {\n BufferedReader bufferedReader;\n StringTokenizer stringTokenizer;\n\n public CP() {\n bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n }\n\n int nextInt() {\n return Integer.parseInt(NNNN());\n }\n\n long nextLong() {\n return Long.parseLong(NNNN());\n }\n\n double nextDouble() {\n return Double.parseDouble(NNNN());\n }\n\n String NNNN() {\n while (stringTokenizer == null || !stringTokenizer.hasMoreElements()) {\n try {\n stringTokenizer = new StringTokenizer(bufferedReader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return stringTokenizer.nextToken();\n }\n\n String nextLine() {\n String spl = \"\";\n try {\n spl = bufferedReader.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return spl;\n }\n }\n /*****************************************************************************/\n}",
"public class Main {\n public static void main(String[] args) {\n CP sc = new CP();\n long a= sc.nextLong(), b= sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();\n long x = a*c;\n long y = a*d;\n long z = b*c;\n long v = b*d;\n System.out.println(Math.max(x,Math.max(y,Math.max(z,v))));\n }\n\n /*****************************************************************************/\n static class CP {\n BufferedReader bufferedReader;\n StringTokenizer stringTokenizer;\n\n public CP() {\n bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n }\n\n int nextInt() {\n return Integer.parseInt(NNNN());\n }\n\n long nextLong() {\n return Long.parseLong(NNNN());\n }\n\n double nextDouble() {\n return Double.parseDouble(NNNN());\n }\n\n String NNNN() {\n while (stringTokenizer == null || !stringTokenizer.hasMoreElements()) {\n try {\n stringTokenizer = new StringTokenizer(bufferedReader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return stringTokenizer.nextToken();\n }\n\n String nextLine() {\n String spl = \"\";\n try {\n spl = bufferedReader.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return spl;\n }\n }\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) {
CP sc = new CP();
long a= sc.nextLong(), b= sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();
long x = a*c;
long y = a*d;
long z = b*c;
long v = b*d;
System.out.println(Math.max(x,Math.max(y,Math.max(z,v))));
}
/*****************************************************************************/
static class CP {
BufferedReader bufferedReader;
StringTokenizer stringTokenizer;
public CP() {
bufferedReader = new BufferedReader(new InputStreamReader(System.in));
}
int nextInt() {
return Integer.parseInt(NNNN());
}
long nextLong() {
return Long.parseLong(NNNN());
}
double nextDouble() {
return Double.parseDouble(NNNN());
}
String NNNN() {
while (stringTokenizer == null || !stringTokenizer.hasMoreElements()) {
try {
stringTokenizer = new StringTokenizer(bufferedReader.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return stringTokenizer.nextToken();
}
String nextLine() {
String spl = "";
try {
spl = bufferedReader.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return spl;
}
}
/*****************************************************************************/
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
17,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
0,
18,
13,
17,
2,
13,
13,
4,
18,
13,
13,
4,
18,
13,
18,
13,
17,
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,
30,
29,
18,
13,
40,
13,
30,
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,
30,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
30,
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,
30,
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,
30,
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,
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,
41,
13,
20,
41,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
29,
13,
12,
13,
30,
41,
13,
20,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
18,
13,
13,
17,
42,
2,
13,
13,
30,
41,
13,
2,
13,
2,
2,
13,
13,
17,
14,
2,
18,
13,
13,
13,
30,
0,
13,
13,
30,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
18,
13,
13,
17,
42,
2,
13,
13,
30,
41,
13,
2,
13,
2,
2,
2,
13,
13,
17,
17,
14,
2,
18,
13,
13,
13,
30,
0,
13,
13,
30,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
8,
13,
17,
17,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
8,
13,
17,
17,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
4,
18,
20,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
18,
13,
13,
17,
13,
0,
18,
13,
2,
2,
18,
13,
13,
17,
13,
13,
29,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
18,
13,
13,
17,
13,
0,
18,
13,
2,
2,
18,
13,
13,
17,
13,
13,
29,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
18,
13,
13,
17,
13,
0,
18,
13,
2,
2,
18,
13,
13,
17,
13,
13,
29,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
18,
13,
13,
17,
13,
0,
18,
13,
2,
2,
18,
13,
13,
17,
13,
13,
29,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
18,
13,
13,
17,
13,
0,
18,
13,
2,
2,
18,
13,
13,
17,
13,
13,
29,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
29,
18,
13,
17,
23,
13,
12,
13,
30,
4,
18,
13,
13,
29,
18,
13,
17,
23,
13,
12,
13,
30,
4,
18,
13,
13,
29,
18,
13,
17,
23,
13,
12,
13,
30,
4,
18,
13,
13,
29,
18,
13,
2,
18,
13,
13,
17,
23,
13,
12,
13,
30,
4,
18,
13,
13,
29,
18,
13,
2,
18,
13,
13,
17,
23,
13,
12,
13,
30,
4,
18,
13,
13,
29,
18,
13,
2,
18,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
0,
13,
17,
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
],
[
1100,
17
],
[
1100,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
20,
34
],
[
34,
35
],
[
35,
36
],
[
18,
37
],
[
37,
38
],
[
0,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
39,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
39,
47
],
[
47,
48
],
[
39,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
51,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
49,
72
],
[
72,
73
],
[
39,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
76,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
76,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
76,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
106,
108
],
[
76,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
76,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
116,
117
],
[
116,
118
],
[
74,
119
],
[
119,
120
],
[
0,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
125,
127
],
[
121,
128
],
[
128,
129
],
[
128,
130
],
[
121,
132
],
[
132,
133
],
[
132,
134
],
[
121,
135
],
[
135,
136
],
[
135,
137
],
[
121,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
146,
147
],
[
141,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
152,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
162,
165
],
[
148,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
171,
172
],
[
140,
173
],
[
173,
174
],
[
121,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
178,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
121,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
199,
201
],
[
191,
202
],
[
202,
203
],
[
121,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
208,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
214,
216
],
[
207,
217
],
[
217,
218
],
[
218,
219
],
[
206,
220
],
[
220,
221
],
[
221,
222
],
[
121,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
226,
230
],
[
230,
231
],
[
231,
232
],
[
225,
233
],
[
233,
234
],
[
233,
235
],
[
225,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
225,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
245,
248
],
[
244,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
225,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
121,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
260,
264
],
[
264,
265
],
[
265,
266
],
[
259,
267
],
[
267,
268
],
[
267,
269
],
[
259,
270
],
[
270,
271
],
[
270,
272
],
[
259,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
259,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
281,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
259,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
294
],
[
294,
295
],
[
294,
296
],
[
289,
297
],
[
297,
298
],
[
298,
299
],
[
259,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
304,
308
],
[
308,
309
],
[
308,
310
],
[
303,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
311,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
317,
319
],
[
303,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
321,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
320,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
332,
336
],
[
320,
337
],
[
337,
338
],
[
338,
339
],
[
302,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
121,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
346,
351
],
[
351,
352
],
[
352,
353
],
[
353,
354
],
[
353,
355
],
[
355,
356
],
[
355,
357
],
[
352,
358
],
[
358,
359
],
[
358,
360
],
[
360,
361
],
[
360,
362
],
[
351,
363
],
[
363,
364
],
[
364,
365
],
[
346,
366
],
[
366,
367
],
[
121,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
373,
374
],
[
372,
375
],
[
375,
376
],
[
121,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
380,
381
],
[
380,
382
],
[
379,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
386,
388
],
[
384,
389
],
[
389,
390
],
[
389,
391
],
[
384,
392
],
[
392,
393
],
[
393,
394
],
[
384,
395
],
[
396,
396
],
[
396,
397
],
[
397,
398
],
[
398,
399
],
[
398,
400
],
[
397,
401
],
[
401,
402
],
[
379,
403
],
[
403,
404
],
[
377,
405
],
[
405,
406
],
[
121,
407
],
[
407,
408
],
[
407,
409
],
[
409,
410
],
[
410,
411
],
[
410,
412
],
[
409,
414
],
[
414,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
414,
419
],
[
419,
420
],
[
419,
421
],
[
414,
422
],
[
422,
423
],
[
423,
424
],
[
414,
425
],
[
426,
426
],
[
426,
427
],
[
427,
428
],
[
428,
429
],
[
428,
430
],
[
427,
431
],
[
431,
432
],
[
409,
433
],
[
433,
434
],
[
407,
435
],
[
435,
436
],
[
121,
437
],
[
437,
438
],
[
437,
439
],
[
439,
440
],
[
440,
441
],
[
440,
442
],
[
439,
444
],
[
444,
445
],
[
445,
446
],
[
446,
447
],
[
446,
448
],
[
444,
449
],
[
449,
450
],
[
449,
451
],
[
444,
452
],
[
452,
453
],
[
453,
454
],
[
444,
455
],
[
456,
456
],
[
456,
457
],
[
457,
458
],
[
458,
459
],
[
458,
460
],
[
457,
461
],
[
461,
462
],
[
439,
463
],
[
463,
464
],
[
437,
465
],
[
465,
466
],
[
121,
467
],
[
467,
468
],
[
467,
469
],
[
469,
470
],
[
470,
471
],
[
470,
472
],
[
469,
474
],
[
474,
475
],
[
475,
476
],
[
476,
477
],
[
476,
478
],
[
474,
479
],
[
479,
480
],
[
479,
481
],
[
474,
482
],
[
482,
483
],
[
483,
484
],
[
474,
485
],
[
486,
486
],
[
486,
487
],
[
487,
488
],
[
488,
489
],
[
488,
490
],
[
487,
491
],
[
491,
492
],
[
469,
493
],
[
493,
494
],
[
467,
495
],
[
495,
496
],
[
121,
497
],
[
497,
498
],
[
497,
499
],
[
499,
500
],
[
500,
501
],
[
500,
502
],
[
499,
503
],
[
503,
504
],
[
503,
505
],
[
505,
506
],
[
506,
507
],
[
505,
508
],
[
499,
509
],
[
509,
510
],
[
510,
511
],
[
511,
512
],
[
511,
513
],
[
509,
514
],
[
499,
515
],
[
515,
516
],
[
121,
517
],
[
517,
518
],
[
517,
519
],
[
519,
520
],
[
520,
521
],
[
520,
522
],
[
519,
524
],
[
524,
525
],
[
524,
526
],
[
519,
527
],
[
527,
528
],
[
528,
529
],
[
529,
530
],
[
529,
531
],
[
527,
532
],
[
532,
533
],
[
532,
534
],
[
527,
535
],
[
535,
536
],
[
536,
537
],
[
527,
538
],
[
539,
539
],
[
539,
540
],
[
540,
541
],
[
541,
542
],
[
541,
543
],
[
540,
544
],
[
544,
545
],
[
545,
546
],
[
544,
547
],
[
519,
548
],
[
548,
549
],
[
549,
550
],
[
550,
551
],
[
550,
552
],
[
548,
553
],
[
553,
554
],
[
554,
555
],
[
553,
556
],
[
519,
557
],
[
557,
558
],
[
517,
559
],
[
559,
560
],
[
0,
561
],
[
561,
562
],
[
561,
563
],
[
563,
564
],
[
563,
565
],
[
565,
566
],
[
566,
567
],
[
566,
568
],
[
565,
569
],
[
569,
570
],
[
569,
571
],
[
571,
572
],
[
572,
573
],
[
572,
574
],
[
571,
575
],
[
565,
576
],
[
576,
577
],
[
577,
578
],
[
577,
579
],
[
576,
580
],
[
580,
581
],
[
581,
582
],
[
581,
583
],
[
583,
584
],
[
583,
585
],
[
585,
586
],
[
586,
587
],
[
586,
588
],
[
585,
589
],
[
580,
590
],
[
590,
591
],
[
591,
592
],
[
592,
593
],
[
592,
594
],
[
591,
595
],
[
590,
596
],
[
596,
597
],
[
597,
598
],
[
597,
599
],
[
590,
600
],
[
600,
601
],
[
601,
602
],
[
601,
603
],
[
603,
604
],
[
603,
605
],
[
565,
606
],
[
606,
607
],
[
563,
608
],
[
608,
609
],
[
563,
610
],
[
610,
611
],
[
561,
612
],
[
612,
613
],
[
612,
614
],
[
614,
615
],
[
615,
616
],
[
615,
617
],
[
614,
618
],
[
618,
619
],
[
618,
620
],
[
620,
621
],
[
621,
622
],
[
621,
623
],
[
620,
624
],
[
614,
625
],
[
625,
626
],
[
626,
627
],
[
626,
628
],
[
625,
629
],
[
629,
630
],
[
630,
631
],
[
630,
632
],
[
632,
633
],
[
632,
634
],
[
634,
635
],
[
635,
636
],
[
636,
637
],
[
636,
638
],
[
635,
639
],
[
634,
640
],
[
629,
641
],
[
641,
642
],
[
642,
643
],
[
643,
644
],
[
643,
645
],
[
642,
646
],
[
641,
647
],
[
647,
648
],
[
648,
649
],
[
648,
650
],
[
641,
651
],
[
651,
652
],
[
652,
653
],
[
652,
654
],
[
654,
655
],
[
654,
656
],
[
614,
657
],
[
657,
658
],
[
612,
659
],
[
659,
660
],
[
612,
661
],
[
661,
662
],
[
561,
663
],
[
663,
664
],
[
663,
665
],
[
665,
666
],
[
666,
667
],
[
667,
668
],
[
668,
669
],
[
668,
670
],
[
666,
671
],
[
671,
672
],
[
671,
673
],
[
671,
674
],
[
663,
675
],
[
675,
676
],
[
561,
677
],
[
677,
678
],
[
677,
679
],
[
679,
680
],
[
680,
681
],
[
681,
682
],
[
682,
683
],
[
682,
684
],
[
680,
685
],
[
685,
686
],
[
685,
687
],
[
685,
688
],
[
677,
689
],
[
689,
690
],
[
561,
691
],
[
691,
692
],
[
691,
693
],
[
693,
694
],
[
694,
695
],
[
694,
696
],
[
696,
697
],
[
697,
698
],
[
693,
699
],
[
699,
700
],
[
700,
701
],
[
699,
702
],
[
693,
703
],
[
703,
704
],
[
704,
705
],
[
705,
706
],
[
704,
707
],
[
691,
708
],
[
708,
709
],
[
561,
710
],
[
710,
711
],
[
710,
712
],
[
712,
713
],
[
713,
714
],
[
714,
715
],
[
715,
716
],
[
716,
717
],
[
717,
718
],
[
710,
719
],
[
719,
720
],
[
561,
721
],
[
721,
722
],
[
721,
723
],
[
723,
724
],
[
724,
725
],
[
725,
726
],
[
726,
727
],
[
726,
728
],
[
724,
729
],
[
729,
730
],
[
729,
731
],
[
731,
732
],
[
732,
733
],
[
732,
734
],
[
731,
735
],
[
724,
736
],
[
736,
737
],
[
737,
738
],
[
724,
739
],
[
740,
740
],
[
740,
741
],
[
741,
742
],
[
741,
743
],
[
743,
744
],
[
743,
745
],
[
740,
746
],
[
746,
747
],
[
747,
748
],
[
747,
749
],
[
746,
750
],
[
750,
751
],
[
750,
752
],
[
753,
753
],
[
753,
754
],
[
754,
755
],
[
754,
756
],
[
753,
757
],
[
753,
758
],
[
740,
759
],
[
759,
760
],
[
760,
761
],
[
760,
762
],
[
763,
763
],
[
763,
764
],
[
764,
765
],
[
764,
766
],
[
763,
767
],
[
763,
768
],
[
759,
769
],
[
723,
770
],
[
770,
771
],
[
721,
772
],
[
772,
773
],
[
561,
774
],
[
774,
775
],
[
774,
776
],
[
776,
777
],
[
777,
778
],
[
778,
779
],
[
779,
780
],
[
779,
781
],
[
777,
782
],
[
782,
783
],
[
782,
784
],
[
784,
785
],
[
785,
786
],
[
785,
787
],
[
784,
788
],
[
777,
789
],
[
789,
790
],
[
790,
791
],
[
777,
792
],
[
793,
793
],
[
793,
794
],
[
794,
795
],
[
794,
796
],
[
796,
797
],
[
796,
798
],
[
793,
799
],
[
799,
800
],
[
800,
801
],
[
800,
802
],
[
799,
803
],
[
803,
804
],
[
803,
805
],
[
806,
806
],
[
806,
807
],
[
807,
808
],
[
807,
809
],
[
806,
810
],
[
806,
811
],
[
793,
812
],
[
812,
813
],
[
813,
814
],
[
813,
815
],
[
816,
816
],
[
816,
817
],
[
817,
818
],
[
817,
819
],
[
816,
820
],
[
816,
821
],
[
812,
822
],
[
776,
823
],
[
823,
824
],
[
774,
825
],
[
825,
826
],
[
561,
827
],
[
827,
828
],
[
827,
829
],
[
829,
830
],
[
830,
831
],
[
831,
832
],
[
832,
833
],
[
832,
834
],
[
830,
835
],
[
835,
836
],
[
835,
837
],
[
837,
838
],
[
838,
839
],
[
838,
840
],
[
837,
841
],
[
830,
842
],
[
842,
843
],
[
843,
844
],
[
830,
845
],
[
846,
846
],
[
846,
847
],
[
847,
848
],
[
847,
849
],
[
849,
850
],
[
849,
851
],
[
846,
852
],
[
852,
853
],
[
853,
854
],
[
853,
855
],
[
852,
856
],
[
856,
857
],
[
856,
858
],
[
859,
859
],
[
859,
860
],
[
860,
861
],
[
860,
862
],
[
859,
863
],
[
859,
864
],
[
846,
865
],
[
865,
866
],
[
866,
867
],
[
866,
868
],
[
869,
869
],
[
869,
870
],
[
870,
871
],
[
870,
872
],
[
869,
873
],
[
869,
874
],
[
865,
875
],
[
829,
876
],
[
876,
877
],
[
827,
878
],
[
878,
879
],
[
561,
880
],
[
880,
881
],
[
880,
882
],
[
882,
883
],
[
883,
884
],
[
884,
885
],
[
885,
886
],
[
885,
887
],
[
883,
888
],
[
888,
889
],
[
888,
890
],
[
890,
891
],
[
891,
892
],
[
891,
893
],
[
890,
894
],
[
883,
895
],
[
895,
896
],
[
896,
897
],
[
883,
898
],
[
899,
899
],
[
899,
900
],
[
900,
901
],
[
900,
902
],
[
902,
903
],
[
902,
904
],
[
899,
905
],
[
905,
906
],
[
906,
907
],
[
906,
908
],
[
905,
909
],
[
909,
910
],
[
909,
911
],
[
912,
912
],
[
912,
913
],
[
913,
914
],
[
913,
915
],
[
912,
916
],
[
912,
917
],
[
899,
918
],
[
918,
919
],
[
919,
920
],
[
919,
921
],
[
922,
922
],
[
922,
923
],
[
923,
924
],
[
923,
925
],
[
922,
926
],
[
922,
927
],
[
918,
928
],
[
882,
929
],
[
929,
930
],
[
880,
931
],
[
931,
932
],
[
561,
933
],
[
933,
934
],
[
933,
935
],
[
935,
936
],
[
936,
937
],
[
937,
938
],
[
938,
939
],
[
938,
940
],
[
936,
941
],
[
941,
942
],
[
941,
943
],
[
943,
944
],
[
944,
945
],
[
944,
946
],
[
943,
947
],
[
936,
948
],
[
948,
949
],
[
949,
950
],
[
936,
951
],
[
952,
952
],
[
952,
953
],
[
953,
954
],
[
953,
955
],
[
955,
956
],
[
955,
957
],
[
952,
958
],
[
958,
959
],
[
959,
960
],
[
959,
961
],
[
958,
962
],
[
962,
963
],
[
962,
964
],
[
965,
965
],
[
965,
966
],
[
966,
967
],
[
966,
968
],
[
965,
969
],
[
965,
970
],
[
952,
971
],
[
971,
972
],
[
972,
973
],
[
972,
974
],
[
975,
975
],
[
975,
976
],
[
976,
977
],
[
976,
978
],
[
975,
979
],
[
975,
980
],
[
971,
981
],
[
935,
982
],
[
982,
983
],
[
933,
984
],
[
984,
985
],
[
561,
986
],
[
986,
987
],
[
986,
988
],
[
988,
989
],
[
989,
990
],
[
990,
991
],
[
989,
992
],
[
988,
993
],
[
993,
994
],
[
994,
995
],
[
994,
996
],
[
986,
997
],
[
997,
998
],
[
561,
999
],
[
999,
1000
],
[
999,
1001
],
[
1001,
1002
],
[
1002,
1003
],
[
1003,
1004
],
[
1002,
1005
],
[
1001,
1006
],
[
1006,
1007
],
[
1007,
1008
],
[
1007,
1009
],
[
999,
1010
],
[
1010,
1011
],
[
561,
1012
],
[
1012,
1013
],
[
1012,
1014
],
[
1014,
1015
],
[
1015,
1016
],
[
1016,
1017
],
[
1015,
1018
],
[
1014,
1019
],
[
1019,
1020
],
[
1020,
1021
],
[
1020,
1022
],
[
1012,
1023
],
[
1023,
1024
],
[
561,
1025
],
[
1025,
1026
],
[
1025,
1027
],
[
1027,
1028
],
[
1028,
1029
],
[
1029,
1030
],
[
1028,
1031
],
[
1027,
1032
],
[
1032,
1033
],
[
1033,
1034
],
[
1033,
1035
],
[
1035,
1036
],
[
1036,
1037
],
[
1036,
1038
],
[
1035,
1039
],
[
1025,
1040
],
[
1040,
1041
],
[
561,
1042
],
[
1042,
1043
],
[
1042,
1044
],
[
1044,
1045
],
[
1045,
1046
],
[
1046,
1047
],
[
1045,
1048
],
[
1044,
1049
],
[
1049,
1050
],
[
1050,
1051
],
[
1050,
1052
],
[
1052,
1053
],
[
1053,
1054
],
[
1053,
1055
],
[
1052,
1056
],
[
1042,
1057
],
[
1057,
1058
],
[
561,
1059
],
[
1059,
1060
],
[
1059,
1061
],
[
1061,
1062
],
[
1062,
1063
],
[
1063,
1064
],
[
1062,
1065
],
[
1061,
1066
],
[
1066,
1067
],
[
1067,
1068
],
[
1067,
1069
],
[
1069,
1070
],
[
1070,
1071
],
[
1070,
1072
],
[
1069,
1073
],
[
1059,
1074
],
[
1074,
1075
],
[
561,
1076
],
[
1076,
1077
],
[
1076,
1078
],
[
1078,
1079
],
[
1079,
1080
],
[
1079,
1081
],
[
1078,
1082
],
[
1082,
1083
],
[
1083,
1084
],
[
1083,
1085
],
[
1082,
1086
],
[
1086,
1087
],
[
1087,
1088
],
[
1087,
1089
],
[
1089,
1090
],
[
1089,
1091
],
[
1086,
1092
],
[
1092,
1093
],
[
1092,
1094
],
[
1078,
1095
],
[
1095,
1096
],
[
1076,
1097
],
[
1097,
1098
],
[
0,
1099
],
[
1099,
1100
],
[
1099,
1101
]
]
| [
"import java.text.DecimalFormat;\nimport java.util.stream.LongStream;\nimport java.util.stream.IntStream;\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n // int t = sc.nextInt();\n // while(t-->0){\n Naveen problem = new Naveen(sc);\n problem.solve(out);\n // }\n out.flush();\n }\n\n}\n\nclass Naveen {\n\n long a,b,c,d;\n //int[] arr;\n \n\n Naveen(FastScanner sc) {\n \n a = sc.nextLong();\n b = sc.nextLong();\n c = sc.nextLong();\n d = sc.nextLong();\n // arr = sc.arrayInt(n);\n }\n\n void solve(PrintWriter out) {\n \n long arr[]=new long[4];\n\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n Arrays.sort(arr);\n out.println(arr[3]);\n }\n\n \n}\n\nclass FastScanner {\n\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] arrayInt(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 long[] arrayLong(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 double[] arrayDouble(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 String[] arrayString(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 int randomInt() {\n Random r = new Random();\n int value = r.nextInt((int) 1e6);\n System.out.println(value);\n return value;\n }\n\n public int[] randomInt(int N) {\n int[] array = new int[N];\n Random r = new Random();\n for (int i = 0; i < N; i++) {\n array[i] = r.nextInt((int) 1e6);\n }\n System.out.println(Arrays.toString(array));\n return array;\n }\n\n}\n\nclass My {\n\n public static long lower(long arr[],long key){\n int low = 0;\n int high = arr.length-1;\n while(low < high){\n int mid = low + (high - low)/2;\n if(arr[mid] >= key){\n high = mid;\n }\n else{\n low = mid+1;\n }\n }\n return low;\n }\npublic static int upper(int arr[],int key){\n int low = 0;\n int high = arr.length-1;\n while(low < high){\n int mid = low + (high - low+1)/2;\n if(arr[mid] <= key){\n low = mid;\n }\n else{\n high = mid-1;\n }\n }\n return low;\n}\n static void ans(boolean b) {\n System.out.println(b ? \"Yes\" : \"No\");\n }\n\n static void ANS(boolean b) {\n System.out.println(b ? \"YES\" : \"NO\");\n }\n\n static String sort(String s) {\n char[] ch = s.toCharArray();\n Arrays.sort(ch);\n return String.valueOf(ch);\n }\n\n static String reverse(String s) {\n return new StringBuilder(s).reverse().toString();\n }\n\n static int[] reverse(int[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n int temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }\n\n static long[] reverse(long[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n long temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }\n\n static double[] reverse(double[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n double temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }\n\n static String[] reverse(String[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n String temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }\n\n static char[] reverse(char[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n char temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }\n\n static long min(long... numbers) {\n Arrays.sort(numbers);\n return numbers[0];\n }\n\n static int min(int... numbers) {\n Arrays.sort(numbers);\n return numbers[0];\n }\n\n static double min(double... numbers) {\n Arrays.sort(numbers);\n return numbers[0];\n }\n\n static long max(long... numbers) {\n Arrays.sort(numbers);\n return numbers[numbers.length - 1];\n }\n\n static int max(int... numbers) {\n Arrays.sort(numbers);\n return numbers[numbers.length - 1];\n }\n\n static double max(double... numbers) {\n Arrays.sort(numbers);\n return numbers[numbers.length - 1];\n }\n\n static int sum(long number) {\n int sum = 0;\n while (number > 0) {\n sum += number % 10;\n number /= 10;\n }\n return sum;\n }\n\n}",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"import java.util.stream.LongStream;",
"LongStream",
"java.util.stream",
"import java.util.stream.IntStream;",
"IntStream",
"java.util.stream",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n // int t = sc.nextInt();\n // while(t-->0){\n Naveen problem = new Naveen(sc);\n problem.solve(out);\n // }\n out.flush();\n }\n\n}",
"Main",
"public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n // int t = sc.nextInt();\n // while(t-->0){\n Naveen problem = new Naveen(sc);\n problem.solve(out);\n // }\n out.flush();\n }",
"main",
"{\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n // int t = sc.nextInt();\n // while(t-->0){\n Naveen problem = new Naveen(sc);\n problem.solve(out);\n // }\n out.flush();\n }",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"Naveen problem = new Naveen(sc);",
"problem",
"new Naveen(sc)",
"problem.solve(out)",
"problem.solve",
"problem",
"out",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"class Naveen {\n\n long a,b,c,d;\n //int[] arr;\n \n\n Naveen(FastScanner sc) {\n \n a = sc.nextLong();\n b = sc.nextLong();\n c = sc.nextLong();\n d = sc.nextLong();\n // arr = sc.arrayInt(n);\n }\n\n void solve(PrintWriter out) {\n \n long arr[]=new long[4];\n\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n Arrays.sort(arr);\n out.println(arr[3]);\n }\n\n \n}",
"Naveen",
"long a",
"a",
"b",
"b",
"c",
"c",
"d;",
"d",
"Naveen(FastScanner sc) {\n \n a = sc.nextLong();\n b = sc.nextLong();\n c = sc.nextLong();\n d = sc.nextLong();\n // arr = sc.arrayInt(n);\n }",
"Naveen",
"{\n \n a = sc.nextLong();\n b = sc.nextLong();\n c = sc.nextLong();\n d = sc.nextLong();\n // arr = sc.arrayInt(n);\n }",
"a = sc.nextLong()",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"b = sc.nextLong()",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"c = sc.nextLong()",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"d = sc.nextLong()",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"FastScanner sc",
"sc",
"void solve(PrintWriter out) {\n \n long arr[]=new long[4];\n\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n Arrays.sort(arr);\n out.println(arr[3]);\n }",
"solve",
"{\n \n long arr[]=new long[4];\n\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n Arrays.sort(arr);\n out.println(arr[3]);\n }",
"long arr[]=new long[4];",
"arr",
"new long[4]",
"4",
"arr[0]=a*c",
"arr[0]",
"arr",
"0",
"a*c",
"a",
"c",
"arr[1]=a*d",
"arr[1]",
"arr",
"1",
"a*d",
"a",
"d",
"arr[2]=b*c",
"arr[2]",
"arr",
"2",
"b*c",
"b",
"c",
"arr[3]=b*d",
"arr[3]",
"arr",
"3",
"b*d",
"b",
"d",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"out.println(arr[3])",
"out.println",
"out",
"arr[3]",
"arr",
"3",
"PrintWriter out",
"out",
"class FastScanner {\n\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] arrayInt(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 long[] arrayLong(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 double[] arrayDouble(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 String[] arrayString(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 int randomInt() {\n Random r = new Random();\n int value = r.nextInt((int) 1e6);\n System.out.println(value);\n return value;\n }\n\n public int[] randomInt(int N) {\n int[] array = new int[N];\n Random r = new Random();\n for (int i = 0; i < N; i++) {\n array[i] = r.nextInt((int) 1e6);\n }\n System.out.println(Arrays.toString(array));\n return array;\n }\n\n}",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }",
"readByte",
"{\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }",
"if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }",
"hasNextByte()",
"hasNextByte",
"{\n return buffer[ptr++];\n }",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }",
"isPrintableChar",
"{\n return 33 <= c && c <= 126;\n }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }",
"hasNext",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"{\n ptr++;\n }",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext()) {\n throw new NoSuchElementException();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\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 }\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();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }",
"nextInt",
"{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }",
"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",
"{\n throw new NumberFormatException();\n }",
"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[] arrayInt(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 }",
"arrayInt",
"{\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();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"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 N",
"N",
"public long[] arrayLong(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 }",
"arrayLong",
"{\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();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"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 N",
"N",
"public double[] arrayDouble(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 }",
"arrayDouble",
"{\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();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"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 N",
"N",
"public String[] arrayString(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 }",
"arrayString",
"{\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();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"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 N",
"N",
"public int randomInt() {\n Random r = new Random();\n int value = r.nextInt((int) 1e6);\n System.out.println(value);\n return value;\n }",
"randomInt",
"{\n Random r = new Random();\n int value = r.nextInt((int) 1e6);\n System.out.println(value);\n return value;\n }",
"Random r = new Random();",
"r",
"new Random()",
"int value = r.nextInt((int) 1e6);",
"value",
"r.nextInt((int) 1e6)",
"r.nextInt",
"r",
"(int) 1e6",
"System.out.println(value)",
"System.out.println",
"System.out",
"System",
"System.out",
"value",
"return value;",
"value",
"public int[] randomInt(int N) {\n int[] array = new int[N];\n Random r = new Random();\n for (int i = 0; i < N; i++) {\n array[i] = r.nextInt((int) 1e6);\n }\n System.out.println(Arrays.toString(array));\n return array;\n }",
"randomInt",
"{\n int[] array = new int[N];\n Random r = new Random();\n for (int i = 0; i < N; i++) {\n array[i] = r.nextInt((int) 1e6);\n }\n System.out.println(Arrays.toString(array));\n return array;\n }",
"int[] array = new int[N];",
"array",
"new int[N]",
"N",
"Random r = new Random();",
"r",
"new Random()",
"for (int i = 0; i < N; i++) {\n array[i] = r.nextInt((int) 1e6);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n array[i] = r.nextInt((int) 1e6);\n }",
"{\n array[i] = r.nextInt((int) 1e6);\n }",
"array[i] = r.nextInt((int) 1e6)",
"array[i]",
"array",
"i",
"r.nextInt((int) 1e6)",
"r.nextInt",
"r",
"(int) 1e6",
"System.out.println(Arrays.toString(array))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(array)",
"Arrays.toString",
"Arrays",
"array",
"return array;",
"array",
"int N",
"N",
"class My {\n\n public static long lower(long arr[],long key){\n int low = 0;\n int high = arr.length-1;\n while(low < high){\n int mid = low + (high - low)/2;\n if(arr[mid] >= key){\n high = mid;\n }\n else{\n low = mid+1;\n }\n }\n return low;\n }\npublic static int upper(int arr[],int key){\n int low = 0;\n int high = arr.length-1;\n while(low < high){\n int mid = low + (high - low+1)/2;\n if(arr[mid] <= key){\n low = mid;\n }\n else{\n high = mid-1;\n }\n }\n return low;\n}\n static void ans(boolean b) {\n System.out.println(b ? \"Yes\" : \"No\");\n }\n\n static void ANS(boolean b) {\n System.out.println(b ? \"YES\" : \"NO\");\n }\n\n static String sort(String s) {\n char[] ch = s.toCharArray();\n Arrays.sort(ch);\n return String.valueOf(ch);\n }\n\n static String reverse(String s) {\n return new StringBuilder(s).reverse().toString();\n }\n\n static int[] reverse(int[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n int temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }\n\n static long[] reverse(long[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n long temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }\n\n static double[] reverse(double[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n double temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }\n\n static String[] reverse(String[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n String temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }\n\n static char[] reverse(char[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n char temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }\n\n static long min(long... numbers) {\n Arrays.sort(numbers);\n return numbers[0];\n }\n\n static int min(int... numbers) {\n Arrays.sort(numbers);\n return numbers[0];\n }\n\n static double min(double... numbers) {\n Arrays.sort(numbers);\n return numbers[0];\n }\n\n static long max(long... numbers) {\n Arrays.sort(numbers);\n return numbers[numbers.length - 1];\n }\n\n static int max(int... numbers) {\n Arrays.sort(numbers);\n return numbers[numbers.length - 1];\n }\n\n static double max(double... numbers) {\n Arrays.sort(numbers);\n return numbers[numbers.length - 1];\n }\n\n static int sum(long number) {\n int sum = 0;\n while (number > 0) {\n sum += number % 10;\n number /= 10;\n }\n return sum;\n }\n\n}",
"My",
"public static long lower(long arr[],long key){\n int low = 0;\n int high = arr.length-1;\n while(low < high){\n int mid = low + (high - low)/2;\n if(arr[mid] >= key){\n high = mid;\n }\n else{\n low = mid+1;\n }\n }\n return low;\n }",
"lower",
"{\n int low = 0;\n int high = arr.length-1;\n while(low < high){\n int mid = low + (high - low)/2;\n if(arr[mid] >= key){\n high = mid;\n }\n else{\n low = mid+1;\n }\n }\n return low;\n }",
"int low = 0;",
"low",
"0",
"int high = arr.length-1;",
"high",
"arr.length-1",
"arr.length",
"arr",
"arr.length",
"1",
"while(low < high){\n int mid = low + (high - low)/2;\n if(arr[mid] >= key){\n high = mid;\n }\n else{\n low = mid+1;\n }\n }",
"low < high",
"low",
"high",
"{\n int mid = low + (high - low)/2;\n if(arr[mid] >= key){\n high = mid;\n }\n else{\n low = mid+1;\n }\n }",
"int mid = low + (high - low)/2;",
"mid",
"low + (high - low)/2",
"low",
"(high - low)/2",
"(high - low)",
"high",
"low",
"2",
"if(arr[mid] >= key){\n high = mid;\n }\n else{\n low = mid+1;\n }",
"arr[mid] >= key",
"arr[mid]",
"arr",
"mid",
"key",
"{\n high = mid;\n }",
"high = mid",
"high",
"mid",
"{\n low = mid+1;\n }",
"low = mid+1",
"low",
"mid+1",
"mid",
"1",
"return low;",
"low",
"long arr[]",
"arr",
"long key",
"key",
"public static int upper(int arr[],int key){\n int low = 0;\n int high = arr.length-1;\n while(low < high){\n int mid = low + (high - low+1)/2;\n if(arr[mid] <= key){\n low = mid;\n }\n else{\n high = mid-1;\n }\n }\n return low;\n}",
"upper",
"{\n int low = 0;\n int high = arr.length-1;\n while(low < high){\n int mid = low + (high - low+1)/2;\n if(arr[mid] <= key){\n low = mid;\n }\n else{\n high = mid-1;\n }\n }\n return low;\n}",
"int low = 0;",
"low",
"0",
"int high = arr.length-1;",
"high",
"arr.length-1",
"arr.length",
"arr",
"arr.length",
"1",
"while(low < high){\n int mid = low + (high - low+1)/2;\n if(arr[mid] <= key){\n low = mid;\n }\n else{\n high = mid-1;\n }\n }",
"low < high",
"low",
"high",
"{\n int mid = low + (high - low+1)/2;\n if(arr[mid] <= key){\n low = mid;\n }\n else{\n high = mid-1;\n }\n }",
"int mid = low + (high - low+1)/2;",
"mid",
"low + (high - low+1)/2",
"low",
"(high - low+1)/2",
"(high - low+1)",
"high - low",
"high",
"low",
"1",
"2",
"if(arr[mid] <= key){\n low = mid;\n }\n else{\n high = mid-1;\n }",
"arr[mid] <= key",
"arr[mid]",
"arr",
"mid",
"key",
"{\n low = mid;\n }",
"low = mid",
"low",
"mid",
"{\n high = mid-1;\n }",
"high = mid-1",
"high",
"mid-1",
"mid",
"1",
"return low;",
"low",
"int arr[]",
"arr",
"int key",
"key",
"static void ans(boolean b) {\n System.out.println(b ? \"Yes\" : \"No\");\n }",
"ans",
"{\n System.out.println(b ? \"Yes\" : \"No\");\n }",
"System.out.println(b ? \"Yes\" : \"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"b ? \"Yes\" : \"No\"",
"b",
"\"Yes\"",
"\"No\"",
"boolean b",
"b",
"static void ANS(boolean b) {\n System.out.println(b ? \"YES\" : \"NO\");\n }",
"ANS",
"{\n System.out.println(b ? \"YES\" : \"NO\");\n }",
"System.out.println(b ? \"YES\" : \"NO\")",
"System.out.println",
"System.out",
"System",
"System.out",
"b ? \"YES\" : \"NO\"",
"b",
"\"YES\"",
"\"NO\"",
"boolean b",
"b",
"static String sort(String s) {\n char[] ch = s.toCharArray();\n Arrays.sort(ch);\n return String.valueOf(ch);\n }",
"sort",
"{\n char[] ch = s.toCharArray();\n Arrays.sort(ch);\n return String.valueOf(ch);\n }",
"char[] ch = s.toCharArray();",
"ch",
"s.toCharArray()",
"s.toCharArray",
"s",
"Arrays.sort(ch)",
"Arrays.sort",
"Arrays",
"ch",
"return String.valueOf(ch);",
"String.valueOf(ch)",
"String.valueOf",
"String",
"ch",
"String s",
"s",
"static String reverse(String s) {\n return new StringBuilder(s).reverse().toString();\n }",
"reverse",
"{\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",
"static int[] reverse(int[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n int temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }",
"reverse",
"{\n for (int i = 0; i < array.length / 2; i++) {\n int temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }",
"for (int i = 0; i < array.length / 2; i++) {\n int temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length / 2",
"i",
"array.length / 2",
"array.length",
"array",
"array.length",
"2",
"i++",
"i++",
"i",
"{\n int temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"{\n int temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"int temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[array.length - 1 - i]",
"array[i]",
"array",
"i",
"array[array.length - 1 - i]",
"array",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"array[array.length - 1 - i] = temp",
"array[array.length - 1 - i]",
"array",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"temp",
"return array;",
"array",
"int[] array",
"array",
"static long[] reverse(long[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n long temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }",
"reverse",
"{\n for (int i = 0; i < array.length / 2; i++) {\n long temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }",
"for (int i = 0; i < array.length / 2; i++) {\n long temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length / 2",
"i",
"array.length / 2",
"array.length",
"array",
"array.length",
"2",
"i++",
"i++",
"i",
"{\n long temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"{\n long temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"long temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[array.length - 1 - i]",
"array[i]",
"array",
"i",
"array[array.length - 1 - i]",
"array",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"array[array.length - 1 - i] = temp",
"array[array.length - 1 - i]",
"array",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"temp",
"return array;",
"array",
"long[] array",
"array",
"static double[] reverse(double[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n double temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }",
"reverse",
"{\n for (int i = 0; i < array.length / 2; i++) {\n double temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }",
"for (int i = 0; i < array.length / 2; i++) {\n double temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length / 2",
"i",
"array.length / 2",
"array.length",
"array",
"array.length",
"2",
"i++",
"i++",
"i",
"{\n double temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"{\n double temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"double temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[array.length - 1 - i]",
"array[i]",
"array",
"i",
"array[array.length - 1 - i]",
"array",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"array[array.length - 1 - i] = temp",
"array[array.length - 1 - i]",
"array",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"temp",
"return array;",
"array",
"double[] array",
"array",
"static String[] reverse(String[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n String temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }",
"reverse",
"{\n for (int i = 0; i < array.length / 2; i++) {\n String temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }",
"for (int i = 0; i < array.length / 2; i++) {\n String temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length / 2",
"i",
"array.length / 2",
"array.length",
"array",
"array.length",
"2",
"i++",
"i++",
"i",
"{\n String temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"{\n String temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"String temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[array.length - 1 - i]",
"array[i]",
"array",
"i",
"array[array.length - 1 - i]",
"array",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"array[array.length - 1 - i] = temp",
"array[array.length - 1 - i]",
"array",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"temp",
"return array;",
"array",
"String[] array",
"array",
"static char[] reverse(char[] array) {\n for (int i = 0; i < array.length / 2; i++) {\n char temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }",
"reverse",
"{\n for (int i = 0; i < array.length / 2; i++) {\n char temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }\n return array;\n }",
"for (int i = 0; i < array.length / 2; i++) {\n char temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length / 2",
"i",
"array.length / 2",
"array.length",
"array",
"array.length",
"2",
"i++",
"i++",
"i",
"{\n char temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"{\n char temp = array[i];\n array[i] = array[array.length - 1 - i];\n array[array.length - 1 - i] = temp;\n }",
"char temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[array.length - 1 - i]",
"array[i]",
"array",
"i",
"array[array.length - 1 - i]",
"array",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"array[array.length - 1 - i] = temp",
"array[array.length - 1 - i]",
"array",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"temp",
"return array;",
"array",
"char[] array",
"array",
"static long min(long... numbers) {\n Arrays.sort(numbers);\n return numbers[0];\n }",
"min",
"{\n Arrays.sort(numbers);\n return numbers[0];\n }",
"Arrays.sort(numbers)",
"Arrays.sort",
"Arrays",
"numbers",
"return numbers[0];",
"numbers[0]",
"numbers",
"0",
"long... numbers",
"numbers",
"static int min(int... numbers) {\n Arrays.sort(numbers);\n return numbers[0];\n }",
"min",
"{\n Arrays.sort(numbers);\n return numbers[0];\n }",
"Arrays.sort(numbers)",
"Arrays.sort",
"Arrays",
"numbers",
"return numbers[0];",
"numbers[0]",
"numbers",
"0",
"int... numbers",
"numbers",
"static double min(double... numbers) {\n Arrays.sort(numbers);\n return numbers[0];\n }",
"min",
"{\n Arrays.sort(numbers);\n return numbers[0];\n }",
"Arrays.sort(numbers)",
"Arrays.sort",
"Arrays",
"numbers",
"return numbers[0];",
"numbers[0]",
"numbers",
"0",
"double... numbers",
"numbers",
"static long max(long... numbers) {\n Arrays.sort(numbers);\n return numbers[numbers.length - 1];\n }",
"max",
"{\n Arrays.sort(numbers);\n return numbers[numbers.length - 1];\n }",
"Arrays.sort(numbers)",
"Arrays.sort",
"Arrays",
"numbers",
"return numbers[numbers.length - 1];",
"numbers[numbers.length - 1]",
"numbers",
"numbers.length - 1",
"numbers.length",
"numbers",
"numbers.length",
"1",
"long... numbers",
"numbers",
"static int max(int... numbers) {\n Arrays.sort(numbers);\n return numbers[numbers.length - 1];\n }",
"max",
"{\n Arrays.sort(numbers);\n return numbers[numbers.length - 1];\n }",
"Arrays.sort(numbers)",
"Arrays.sort",
"Arrays",
"numbers",
"return numbers[numbers.length - 1];",
"numbers[numbers.length - 1]",
"numbers",
"numbers.length - 1",
"numbers.length",
"numbers",
"numbers.length",
"1",
"int... numbers",
"numbers",
"static double max(double... numbers) {\n Arrays.sort(numbers);\n return numbers[numbers.length - 1];\n }",
"max",
"{\n Arrays.sort(numbers);\n return numbers[numbers.length - 1];\n }",
"Arrays.sort(numbers)",
"Arrays.sort",
"Arrays",
"numbers",
"return numbers[numbers.length - 1];",
"numbers[numbers.length - 1]",
"numbers",
"numbers.length - 1",
"numbers.length",
"numbers",
"numbers.length",
"1",
"double... numbers",
"numbers",
"static int sum(long number) {\n int sum = 0;\n while (number > 0) {\n sum += number % 10;\n number /= 10;\n }\n return sum;\n }",
"sum",
"{\n int sum = 0;\n while (number > 0) {\n sum += number % 10;\n number /= 10;\n }\n return sum;\n }",
"int sum = 0;",
"sum",
"0",
"while (number > 0) {\n sum += number % 10;\n number /= 10;\n }",
"number > 0",
"number",
"0",
"{\n sum += number % 10;\n number /= 10;\n }",
"sum += number % 10",
"sum",
"number % 10",
"number",
"10",
"number /= 10",
"number",
"10",
"return sum;",
"sum",
"long number",
"number",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n // int t = sc.nextInt();\n // while(t-->0){\n Naveen problem = new Naveen(sc);\n problem.solve(out);\n // }\n out.flush();\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n // int t = sc.nextInt();\n // while(t-->0){\n Naveen problem = new Naveen(sc);\n problem.solve(out);\n // }\n out.flush();\n }\n\n}",
"Main"
]
| import java.text.DecimalFormat;
import java.util.stream.LongStream;
import java.util.stream.IntStream;
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner();
PrintWriter out = new PrintWriter(System.out);
// int t = sc.nextInt();
// while(t-->0){
Naveen problem = new Naveen(sc);
problem.solve(out);
// }
out.flush();
}
}
class Naveen {
long a,b,c,d;
//int[] arr;
Naveen(FastScanner sc) {
a = sc.nextLong();
b = sc.nextLong();
c = sc.nextLong();
d = sc.nextLong();
// arr = sc.arrayInt(n);
}
void solve(PrintWriter out) {
long arr[]=new long[4];
arr[0]=a*c;
arr[1]=a*d;
arr[2]=b*c;
arr[3]=b*d;
Arrays.sort(arr);
out.println(arr[3]);
}
}
class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte()) {
return buffer[ptr++];
} else {
return -1;
}
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
public boolean hasNext() {
while (hasNextByte() && !isPrintableChar(buffer[ptr])) {
ptr++;
}
return hasNextByte();
}
public String next() {
if (!hasNext()) {
throw new NoSuchElementException();
}
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext()) {
throw new NoSuchElementException();
}
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {
throw new NumberFormatException();
}
return (int) nl;
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] arrayInt(int N) {
int[] array = new int[N];
for (int i = 0; i < N; i++) {
array[i] = nextInt();
}
return array;
}
public long[] arrayLong(int N) {
long[] array = new long[N];
for (int i = 0; i < N; i++) {
array[i] = nextLong();
}
return array;
}
public double[] arrayDouble(int N) {
double[] array = new double[N];
for (int i = 0; i < N; i++) {
array[i] = nextDouble();
}
return array;
}
public String[] arrayString(int N) {
String[] array = new String[N];
for (int i = 0; i < N; i++) {
array[i] = next();
}
return array;
}
public int randomInt() {
Random r = new Random();
int value = r.nextInt((int) 1e6);
System.out.println(value);
return value;
}
public int[] randomInt(int N) {
int[] array = new int[N];
Random r = new Random();
for (int i = 0; i < N; i++) {
array[i] = r.nextInt((int) 1e6);
}
System.out.println(Arrays.toString(array));
return array;
}
}
class My {
public static long lower(long arr[],long key){
int low = 0;
int high = arr.length-1;
while(low < high){
int mid = low + (high - low)/2;
if(arr[mid] >= key){
high = mid;
}
else{
low = mid+1;
}
}
return low;
}
public static int upper(int arr[],int key){
int low = 0;
int high = arr.length-1;
while(low < high){
int mid = low + (high - low+1)/2;
if(arr[mid] <= key){
low = mid;
}
else{
high = mid-1;
}
}
return low;
}
static void ans(boolean b) {
System.out.println(b ? "Yes" : "No");
}
static void ANS(boolean b) {
System.out.println(b ? "YES" : "NO");
}
static String sort(String s) {
char[] ch = s.toCharArray();
Arrays.sort(ch);
return String.valueOf(ch);
}
static String reverse(String s) {
return new StringBuilder(s).reverse().toString();
}
static int[] reverse(int[] array) {
for (int i = 0; i < array.length / 2; i++) {
int temp = array[i];
array[i] = array[array.length - 1 - i];
array[array.length - 1 - i] = temp;
}
return array;
}
static long[] reverse(long[] array) {
for (int i = 0; i < array.length / 2; i++) {
long temp = array[i];
array[i] = array[array.length - 1 - i];
array[array.length - 1 - i] = temp;
}
return array;
}
static double[] reverse(double[] array) {
for (int i = 0; i < array.length / 2; i++) {
double temp = array[i];
array[i] = array[array.length - 1 - i];
array[array.length - 1 - i] = temp;
}
return array;
}
static String[] reverse(String[] array) {
for (int i = 0; i < array.length / 2; i++) {
String temp = array[i];
array[i] = array[array.length - 1 - i];
array[array.length - 1 - i] = temp;
}
return array;
}
static char[] reverse(char[] array) {
for (int i = 0; i < array.length / 2; i++) {
char temp = array[i];
array[i] = array[array.length - 1 - i];
array[array.length - 1 - i] = temp;
}
return array;
}
static long min(long... numbers) {
Arrays.sort(numbers);
return numbers[0];
}
static int min(int... numbers) {
Arrays.sort(numbers);
return numbers[0];
}
static double min(double... numbers) {
Arrays.sort(numbers);
return numbers[0];
}
static long max(long... numbers) {
Arrays.sort(numbers);
return numbers[numbers.length - 1];
}
static int max(int... numbers) {
Arrays.sort(numbers);
return numbers[numbers.length - 1];
}
static double max(double... numbers) {
Arrays.sort(numbers);
return numbers[numbers.length - 1];
}
static int sum(long number) {
int sum = 0;
while (number > 0) {
sum += number % 10;
number /= 10;
}
return sum;
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
79,
5
],
[
79,
6
],
[
6,
7
],
[
6,
8
],
[
79,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
9,
15
],
[
15,
16
],
[
79,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
19,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
19,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
19,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
19,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
19,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
19,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n void run() {\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long max = a * c;\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.print(max);\n }\n\n\n}\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n void run() {\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long max = a * c;\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.print(max);\n }\n\n\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"void run() {\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long max = a * c;\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.print(max);\n }",
"run",
"{\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long max = a * c;\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.print(max);\n }",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long max = a * c;",
"max",
"a * c",
"a",
"c",
"max = Math.max(max, a * d)",
"max",
"Math.max(max, a * d)",
"Math.max",
"Math",
"max",
"a * d",
"a",
"d",
"max = Math.max(max, b * c)",
"max",
"Math.max(max, b * c)",
"Math.max",
"Math",
"max",
"b * c",
"b",
"c",
"max = Math.max(max, b * d)",
"max",
"Math.max(max, b * d)",
"Math.max",
"Math",
"max",
"b * d",
"b",
"d",
"System.out.print(max)",
"System.out.print",
"System.out",
"System",
"System.out",
"max",
"public class Main {\n\n Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n void run() {\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long max = a * c;\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.print(max);\n }\n\n\n}",
"public class Main {\n\n Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n void run() {\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long max = a * c;\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.print(max);\n }\n\n\n}",
"Main"
]
| import java.util.*;
public class Main {
Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
new Main().run();
}
void run() {
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
long max = a * c;
max = Math.max(max, a * d);
max = Math.max(max, b * c);
max = Math.max(max, b * d);
System.out.print(max);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
18,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
90,
5
],
[
90,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
9,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
16,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
16,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
16,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
16,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
16,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
16,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
16,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
16,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\t\t\t\n\t\t\tlong result = Long.MIN_VALUE;\n\t\t\tresult = Math.max(result, a*c);\n\t\t\tresult = Math.max(result, a*d);\n\t\t\tresult = Math.max(result, b*c);\n\t\t\tresult = Math.max(result, b*d);\n\t\t\t\n\t\t\tSystem.out.println(result);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\t\t\t\n\t\t\tlong result = Long.MIN_VALUE;\n\t\t\tresult = Math.max(result, a*c);\n\t\t\tresult = Math.max(result, a*d);\n\t\t\tresult = Math.max(result, b*c);\n\t\t\tresult = Math.max(result, b*d);\n\t\t\t\n\t\t\tSystem.out.println(result);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\t\t\t\n\t\t\tlong result = Long.MIN_VALUE;\n\t\t\tresult = Math.max(result, a*c);\n\t\t\tresult = Math.max(result, a*d);\n\t\t\tresult = Math.max(result, b*c);\n\t\t\tresult = Math.max(result, b*d);\n\t\t\t\n\t\t\tSystem.out.println(result);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"main",
"{\n\t\ttry (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\t\t\t\n\t\t\tlong result = Long.MIN_VALUE;\n\t\t\tresult = Math.max(result, a*c);\n\t\t\tresult = Math.max(result, a*d);\n\t\t\tresult = Math.max(result, b*c);\n\t\t\tresult = Math.max(result, b*d);\n\t\t\t\n\t\t\tSystem.out.println(result);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"try (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\t\t\t\n\t\t\tlong result = Long.MIN_VALUE;\n\t\t\tresult = Math.max(result, a*c);\n\t\t\tresult = Math.max(result, a*d);\n\t\t\tresult = Math.max(result, b*c);\n\t\t\tresult = Math.max(result, b*d);\n\t\t\t\n\t\t\tSystem.out.println(result);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\t\t\t\n\t\t\tlong result = Long.MIN_VALUE;\n\t\t\tresult = Math.max(result, a*c);\n\t\t\tresult = Math.max(result, a*d);\n\t\t\tresult = Math.max(result, b*c);\n\t\t\tresult = Math.max(result, b*d);\n\t\t\t\n\t\t\tSystem.out.println(result);\n\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long c = sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long d = sc.nextLong();",
"d",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long result = Long.MIN_VALUE;",
"result",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"result = Math.max(result, a*c)",
"result",
"Math.max(result, a*c)",
"Math.max",
"Math",
"result",
"a*c",
"a",
"c",
"result = Math.max(result, a*d)",
"result",
"Math.max(result, a*d)",
"Math.max",
"Math",
"result",
"a*d",
"a",
"d",
"result = Math.max(result, b*c)",
"result",
"Math.max(result, b*c)",
"Math.max",
"Math",
"result",
"b*c",
"b",
"c",
"result = Math.max(result, b*d)",
"result",
"Math.max(result, b*d)",
"Math.max",
"Math",
"result",
"b*d",
"b",
"d",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\t\t\t\n\t\t\tlong result = Long.MIN_VALUE;\n\t\t\tresult = Math.max(result, a*c);\n\t\t\tresult = Math.max(result, a*d);\n\t\t\tresult = Math.max(result, b*c);\n\t\t\tresult = Math.max(result, b*d);\n\t\t\t\n\t\t\tSystem.out.println(result);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\t\t\t\n\t\t\tlong result = Long.MIN_VALUE;\n\t\t\tresult = Math.max(result, a*c);\n\t\t\tresult = Math.max(result, a*d);\n\t\t\tresult = Math.max(result, b*c);\n\t\t\tresult = Math.max(result, b*d);\n\t\t\t\n\t\t\tSystem.out.println(result);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in);) {
long a = sc.nextLong();
long b = sc.nextLong();
long c = sc.nextLong();
long d = sc.nextLong();
long result = Long.MIN_VALUE;
result = Math.max(result, a*c);
result = Math.max(result, a*d);
result = Math.max(result, b*c);
result = Math.max(result, b*d);
System.out.println(result);
} catch (Exception e) {
e.printStackTrace();
}
}
} |
[
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,
41,
13,
4,
13,
41,
13,
4,
13,
41,
13,
4,
13,
41,
13,
18,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
4,
18,
13,
13,
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
],
[
607,
17
],
[
607,
18
],
[
18,
19
],
[
607,
20
],
[
20,
21
],
[
607,
22
],
[
22,
23
],
[
22,
24
],
[
607,
25
],
[
25,
26
],
[
25,
27
],
[
607,
29
],
[
29,
30
],
[
29,
31
],
[
607,
32
],
[
32,
33
],
[
32,
34
],
[
607,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
37,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
37,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
37,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
37,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
37,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
37,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
37,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
37,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
607,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
101,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
109,
113
],
[
113,
114
],
[
113,
115
],
[
109,
116
],
[
101,
117
],
[
117,
118
],
[
117,
119
],
[
101,
120
],
[
120,
121
],
[
101,
122
],
[
122,
123
],
[
123,
124
],
[
101,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
101,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
99,
137
],
[
137,
138
],
[
607,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
142,
147
],
[
147,
148
],
[
141,
149
],
[
149,
150
],
[
149,
151
],
[
141,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
156,
164
],
[
164,
165
],
[
141,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
166,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
172,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
179,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
185,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
190,
194
],
[
194,
195
],
[
185,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
196,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
201,
205
],
[
205,
206
],
[
607,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
210,
215
],
[
215,
216
],
[
209,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
217,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
221,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
225,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
234,
237
],
[
221,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
243,
244
],
[
209,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
607,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
255,
259
],
[
259,
260
],
[
259,
261
],
[
250,
262
],
[
262,
263
],
[
607,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
267,
268
],
[
266,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
271,
276
],
[
276,
277
],
[
270,
278
],
[
278,
279
],
[
278,
280
],
[
266,
281
],
[
281,
282
],
[
607,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
287,
290
],
[
290,
291
],
[
607,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
607,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
300,
305
],
[
305,
306
],
[
305,
307
],
[
300,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
308,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
314,
317
],
[
313,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
300,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
607,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
328,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
328,
337
],
[
337,
338
],
[
337,
339
],
[
328,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
340,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
350,
355
],
[
349,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
328,
360
],
[
360,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
361,
365
],
[
361,
366
],
[
366,
367
],
[
367,
368
],
[
366,
369
],
[
366,
370
],
[
326,
371
],
[
371,
372
],
[
607,
373
],
[
373,
374
],
[
373,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
375,
380
],
[
380,
381
],
[
381,
382
],
[
382,
383
],
[
382,
384
],
[
380,
385
],
[
385,
386
],
[
385,
387
],
[
380,
388
],
[
388,
389
],
[
389,
390
],
[
380,
391
],
[
391,
392
],
[
392,
393
],
[
393,
394
],
[
393,
395
],
[
392,
396
],
[
396,
397
],
[
396,
398
],
[
375,
399
],
[
399,
400
],
[
373,
401
],
[
401,
402
],
[
373,
403
],
[
403,
404
],
[
607,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
408,
409
],
[
408,
410
],
[
407,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
414,
416
],
[
412,
417
],
[
417,
418
],
[
417,
419
],
[
412,
420
],
[
420,
421
],
[
421,
422
],
[
412,
423
],
[
423,
424
],
[
424,
425
],
[
425,
426
],
[
425,
427
],
[
424,
428
],
[
428,
429
],
[
407,
430
],
[
430,
431
],
[
405,
432
],
[
432,
433
],
[
607,
434
],
[
434,
435
],
[
434,
436
],
[
436,
437
],
[
437,
438
],
[
437,
439
],
[
436,
440
],
[
440,
441
],
[
436,
442
],
[
442,
443
],
[
442,
444
],
[
436,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
448,
449
],
[
448,
450
],
[
450,
451
],
[
447,
452
],
[
452,
453
],
[
446,
454
],
[
454,
455
],
[
455,
456
],
[
456,
457
],
[
457,
458
],
[
457,
459
],
[
456,
460
],
[
460,
461
],
[
460,
462
],
[
455,
463
],
[
463,
464
],
[
463,
465
],
[
436,
466
],
[
466,
467
],
[
467,
468
],
[
467,
469
],
[
466,
470
],
[
470,
471
],
[
471,
472
],
[
471,
473
],
[
470,
474
],
[
474,
475
],
[
474,
476
],
[
476,
477
],
[
436,
478
],
[
478,
479
],
[
478,
480
],
[
480,
481
],
[
481,
482
],
[
482,
483
],
[
483,
484
],
[
483,
485
],
[
482,
486
],
[
486,
487
],
[
486,
488
],
[
481,
489
],
[
489,
490
],
[
490,
491
],
[
490,
492
],
[
492,
493
],
[
493,
494
],
[
493,
495
],
[
492,
496
],
[
496,
497
],
[
496,
498
],
[
481,
499
],
[
499,
500
],
[
500,
501
],
[
501,
502
],
[
501,
503
],
[
503,
504
],
[
501,
505
],
[
480,
506
],
[
506,
507
],
[
506,
508
],
[
508,
509
],
[
607,
510
],
[
510,
511
],
[
510,
512
],
[
512,
513
],
[
513,
514
],
[
513,
515
],
[
512,
516
],
[
516,
517
],
[
512,
518
],
[
518,
519
],
[
518,
520
],
[
512,
521
],
[
521,
522
],
[
522,
523
],
[
523,
524
],
[
524,
525
],
[
524,
526
],
[
526,
527
],
[
523,
528
],
[
528,
529
],
[
522,
530
],
[
530,
531
],
[
531,
532
],
[
532,
533
],
[
533,
534
],
[
533,
535
],
[
532,
536
],
[
536,
537
],
[
536,
538
],
[
531,
539
],
[
539,
540
],
[
539,
541
],
[
512,
542
],
[
542,
543
],
[
543,
544
],
[
543,
545
],
[
542,
546
],
[
546,
547
],
[
547,
548
],
[
547,
549
],
[
546,
550
],
[
550,
551
],
[
550,
552
],
[
552,
553
],
[
512,
554
],
[
554,
555
],
[
554,
556
],
[
556,
557
],
[
557,
558
],
[
558,
559
],
[
559,
560
],
[
559,
561
],
[
558,
562
],
[
562,
563
],
[
562,
564
],
[
557,
565
],
[
565,
566
],
[
566,
567
],
[
566,
568
],
[
568,
569
],
[
569,
570
],
[
569,
571
],
[
568,
572
],
[
572,
573
],
[
572,
574
],
[
557,
575
],
[
575,
576
],
[
576,
577
],
[
577,
578
],
[
577,
579
],
[
579,
580
],
[
577,
581
],
[
556,
582
],
[
582,
583
],
[
582,
584
],
[
584,
585
],
[
607,
586
],
[
586,
587
],
[
586,
588
],
[
588,
589
],
[
589,
590
],
[
590,
591
],
[
591,
592
],
[
592,
593
],
[
590,
594
],
[
589,
595
],
[
595,
596
],
[
596,
597
],
[
597,
598
],
[
597,
599
],
[
595,
600
],
[
600,
601
],
[
601,
602
],
[
600,
603
],
[
586,
604
],
[
604,
605
],
[
0,
606
],
[
606,
607
],
[
606,
608
]
]
| [
"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 long a = nl();\n long b = nl();\n long c = nl();\n long d = nl();\n\n long ans = Long.MIN_VALUE;\n\n ans = Math.max(ans, a * c);\n ans = Math.max(ans, a * d);\n ans = Math.max(ans, b * c);\n ans = Math.max(ans, b * d);\n\n out.println(ans);\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 long a = nl();\n long b = nl();\n long c = nl();\n long d = nl();\n\n long ans = Long.MIN_VALUE;\n\n ans = Math.max(ans, a * c);\n ans = Math.max(ans, a * d);\n ans = Math.max(ans, b * c);\n ans = Math.max(ans, b * d);\n\n out.println(ans);\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 long a = nl();\n long b = nl();\n long c = nl();\n long d = nl();\n\n long ans = Long.MIN_VALUE;\n\n ans = Math.max(ans, a * c);\n ans = Math.max(ans, a * d);\n ans = Math.max(ans, b * c);\n ans = Math.max(ans, b * d);\n\n out.println(ans);\n }",
"solve",
"{\n long a = nl();\n long b = nl();\n long c = nl();\n long d = nl();\n\n long ans = Long.MIN_VALUE;\n\n ans = Math.max(ans, a * c);\n ans = Math.max(ans, a * d);\n ans = Math.max(ans, b * c);\n ans = Math.max(ans, b * d);\n\n out.println(ans);\n }",
"long a = nl();",
"a",
"nl()",
"nl",
"long b = nl();",
"b",
"nl()",
"nl",
"long c = nl();",
"c",
"nl()",
"nl",
"long d = nl();",
"d",
"nl()",
"nl",
"long ans = Long.MIN_VALUE;",
"ans",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"ans = Math.max(ans, a * c)",
"ans",
"Math.max(ans, a * c)",
"Math.max",
"Math",
"ans",
"a * c",
"a",
"c",
"ans = Math.max(ans, a * d)",
"ans",
"Math.max(ans, a * d)",
"Math.max",
"Math",
"ans",
"a * d",
"a",
"d",
"ans = Math.max(ans, b * c)",
"ans",
"Math.max(ans, b * c)",
"Math.max",
"Math",
"ans",
"b * c",
"b",
"c",
"ans = Math.max(ans, b * d)",
"ans",
"Math.max(ans, b * d)",
"Math.max",
"Math",
"ans",
"b * d",
"b",
"d",
"out.println(ans)",
"out.println",
"out",
"ans",
"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 long a = nl();\n long b = nl();\n long c = nl();\n long d = nl();\n\n long ans = Long.MIN_VALUE;\n\n ans = Math.max(ans, a * c);\n ans = Math.max(ans, a * d);\n ans = Math.max(ans, b * c);\n ans = Math.max(ans, b * d);\n\n out.println(ans);\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 long a = nl();\n long b = nl();\n long c = nl();\n long d = nl();\n\n long ans = Long.MIN_VALUE;\n\n ans = Math.max(ans, a * c);\n ans = Math.max(ans, a * d);\n ans = Math.max(ans, b * c);\n ans = Math.max(ans, b * d);\n\n out.println(ans);\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() {
long a = nl();
long b = nl();
long c = nl();
long d = nl();
long ans = Long.MIN_VALUE;
ans = Math.max(ans, a * c);
ans = Math.max(ans, a * d);
ans = Math.max(ans, b * c);
ans = Math.max(ans, b * d);
out.println(ans);
}
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,
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,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
2,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
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
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
49,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
49,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
49,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
87,
89
],
[
84,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
93,
94
],
[
93,
95
],
[
90,
96
],
[
96,
97
],
[
96,
98
],
[
49,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
34,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
105,
109
],
[
109,
110
]
]
| [
"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 long A = sc.nextInt();\n long B = sc.nextInt();\n long C = sc.nextInt();\n long D = sc.nextInt();\n ans = Math.max(A*C,Math.max(A*D,Math.max(B*C,B*D)));//Math.max(,Math.max(,Math.max(,Math.max(,Math.max(,Math.max(,)))))))))\n System.out.println(ans);\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 long A = sc.nextInt();\n long B = sc.nextInt();\n long C = sc.nextInt();\n long D = sc.nextInt();\n ans = Math.max(A*C,Math.max(A*D,Math.max(B*C,B*D)));//Math.max(,Math.max(,Math.max(,Math.max(,Math.max(,Math.max(,)))))))))\n System.out.println(ans);\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 long A = sc.nextInt();\n long B = sc.nextInt();\n long C = sc.nextInt();\n long D = sc.nextInt();\n ans = Math.max(A*C,Math.max(A*D,Math.max(B*C,B*D)));//Math.max(,Math.max(,Math.max(,Math.max(,Math.max(,Math.max(,)))))))))\n System.out.println(ans);\n }",
"Main",
"{\n Scanner sc = new Scanner(System.in);\n long ans = 0;\n long A = sc.nextInt();\n long B = sc.nextInt();\n long C = sc.nextInt();\n long D = sc.nextInt();\n ans = Math.max(A*C,Math.max(A*D,Math.max(B*C,B*D)));//Math.max(,Math.max(,Math.max(,Math.max(,Math.max(,Math.max(,)))))))))\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long ans = 0;",
"ans",
"0",
"long A = sc.nextInt();",
"A",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long B = sc.nextInt();",
"B",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long C = sc.nextInt();",
"C",
"sc.nextInt()",
"sc.nextInt",
"sc",
"long D = sc.nextInt();",
"D",
"sc.nextInt()",
"sc.nextInt",
"sc",
"ans = Math.max(A*C,Math.max(A*D,Math.max(B*C,B*D)))",
"ans",
"Math.max(A*C,Math.max(A*D,Math.max(B*C,B*D)))",
"Math.max",
"Math",
"A*C",
"A",
"C",
"Math.max(A*D,Math.max(B*C,B*D))",
"Math.max",
"Math",
"A*D",
"A",
"D",
"Math.max(B*C,B*D)",
"Math.max",
"Math",
"B*C",
"B",
"C",
"B*D",
"B",
"D",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"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;
long A = sc.nextInt();
long B = sc.nextInt();
long C = sc.nextInt();
long D = sc.nextInt();
ans = Math.max(A*C,Math.max(A*D,Math.max(B*C,B*D)));//Math.max(,Math.max(,Math.max(,Math.max(,Math.max(,Math.max(,)))))))))
System.out.println(ans);
}
public static void main(String[] args) {
new Main();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
13,
41,
13,
17,
41,
13,
41,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
2,
2,
13,
13,
17,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
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
],
[
603,
20
],
[
603,
21
],
[
21,
22
],
[
603,
23
],
[
23,
24
],
[
23,
25
],
[
603,
26
],
[
26,
27
],
[
26,
28
],
[
603,
29
],
[
29,
30
],
[
29,
31
],
[
603,
32
],
[
32,
33
],
[
32,
34
],
[
603,
35
],
[
35,
36
],
[
603,
37
],
[
37,
38
],
[
603,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
41,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
59,
65
],
[
58,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
57,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
603,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
89,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
88,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
84,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
83,
112
],
[
112,
113
],
[
112,
114
],
[
83,
115
],
[
115,
116
],
[
115,
117
],
[
83,
118
],
[
118,
119
],
[
603,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
120,
126
],
[
126,
127
],
[
0,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
128,
132
],
[
132,
133
],
[
132,
134
],
[
128,
136
],
[
136,
137
],
[
128,
138
],
[
138,
139
],
[
128,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
140,
148
],
[
148,
149
],
[
128,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
153,
158
],
[
158,
159
],
[
152,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
168,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
164,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
185,
186
],
[
186,
187
],
[
152,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
128,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
200,
198
],
[
210,
199
],
[
207,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
204,
206
],
[
207,
207
],
[
207,
208
],
[
207,
209
],
[
210,
210
],
[
210,
211
],
[
210,
212
],
[
200,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
193,
217
],
[
217,
218
],
[
128,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
224,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
228,
229
],
[
228,
230
],
[
224,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
219,
235
],
[
235,
236
],
[
128,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
241,
244
],
[
244,
245
],
[
128,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
248,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
253,
258
],
[
258,
259
],
[
258,
260
],
[
253,
261
],
[
261,
262
],
[
262,
263
],
[
253,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
265,
269
],
[
269,
270
],
[
248,
271
],
[
271,
272
],
[
246,
273
],
[
273,
274
],
[
128,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
283,
288
],
[
288,
289
],
[
288,
290
],
[
283,
291
],
[
291,
292
],
[
292,
293
],
[
283,
294
],
[
295,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
296,
300
],
[
300,
301
],
[
300,
302
],
[
277,
303
],
[
303,
304
],
[
275,
305
],
[
305,
306
],
[
275,
307
],
[
307,
308
],
[
128,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
313,
316
],
[
316,
317
],
[
128,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
320,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
325,
330
],
[
330,
331
],
[
330,
332
],
[
325,
333
],
[
333,
334
],
[
334,
335
],
[
325,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
338,
340
],
[
337,
341
],
[
341,
342
],
[
320,
343
],
[
343,
344
],
[
318,
345
],
[
345,
346
],
[
128,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
349,
355
],
[
355,
356
],
[
356,
357
],
[
357,
358
],
[
357,
359
],
[
355,
360
],
[
360,
361
],
[
360,
362
],
[
355,
363
],
[
363,
364
],
[
364,
365
],
[
355,
366
],
[
367,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
368,
372
],
[
372,
373
],
[
372,
374
],
[
349,
375
],
[
375,
376
],
[
347,
377
],
[
377,
378
],
[
347,
379
],
[
379,
380
],
[
128,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
385,
388
],
[
388,
389
],
[
128,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
393,
394
],
[
393,
395
],
[
392,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
397,
402
],
[
402,
403
],
[
402,
404
],
[
397,
405
],
[
405,
406
],
[
406,
407
],
[
397,
408
],
[
408,
409
],
[
409,
410
],
[
410,
411
],
[
410,
412
],
[
409,
413
],
[
413,
414
],
[
392,
415
],
[
415,
416
],
[
390,
417
],
[
417,
418
],
[
128,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
422,
423
],
[
422,
424
],
[
421,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
429,
431
],
[
427,
432
],
[
432,
433
],
[
432,
434
],
[
427,
435
],
[
435,
436
],
[
436,
437
],
[
427,
438
],
[
439,
439
],
[
439,
440
],
[
440,
441
],
[
441,
442
],
[
441,
443
],
[
440,
444
],
[
444,
445
],
[
444,
446
],
[
421,
447
],
[
447,
448
],
[
419,
449
],
[
449,
450
],
[
419,
451
],
[
451,
452
],
[
128,
453
],
[
453,
454
],
[
453,
455
],
[
455,
456
],
[
456,
457
],
[
456,
458
],
[
458,
459
],
[
455,
460
],
[
460,
461
],
[
461,
462
],
[
461,
463
],
[
460,
464
],
[
464,
465
],
[
464,
466
],
[
466,
467
],
[
455,
468
],
[
468,
469
],
[
468,
470
],
[
455,
471
],
[
471,
472
],
[
472,
473
],
[
473,
474
],
[
473,
475
],
[
471,
476
],
[
476,
477
],
[
477,
478
],
[
478,
479
],
[
477,
480
],
[
476,
481
],
[
481,
482
],
[
481,
483
],
[
483,
484
],
[
455,
485
],
[
485,
486
],
[
486,
487
],
[
487,
488
],
[
128,
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
],
[
507,
508
],
[
508,
509
],
[
509,
510
],
[
509,
511
],
[
508,
512
],
[
512,
513
],
[
491,
514
],
[
514,
515
],
[
489,
516
],
[
516,
517
],
[
128,
518
],
[
518,
519
],
[
518,
520
],
[
520,
521
],
[
521,
522
],
[
521,
523
],
[
523,
524
],
[
520,
525
],
[
525,
526
],
[
526,
527
],
[
526,
528
],
[
525,
529
],
[
529,
530
],
[
529,
531
],
[
531,
532
],
[
520,
533
],
[
533,
534
],
[
533,
535
],
[
520,
536
],
[
536,
537
],
[
537,
538
],
[
538,
539
],
[
538,
540
],
[
536,
541
],
[
541,
542
],
[
542,
543
],
[
543,
544
],
[
542,
545
],
[
541,
546
],
[
546,
547
],
[
546,
548
],
[
548,
549
],
[
520,
550
],
[
550,
551
],
[
551,
552
],
[
552,
553
],
[
128,
554
],
[
554,
555
],
[
554,
556
],
[
556,
557
],
[
557,
558
],
[
557,
559
],
[
556,
562
],
[
562,
563
],
[
563,
564
],
[
564,
565
],
[
564,
566
],
[
562,
567
],
[
567,
568
],
[
567,
569
],
[
562,
570
],
[
570,
571
],
[
571,
572
],
[
562,
573
],
[
574,
574
],
[
574,
575
],
[
575,
576
],
[
576,
577
],
[
577,
578
],
[
577,
579
],
[
575,
580
],
[
580,
581
],
[
580,
582
],
[
575,
583
],
[
583,
584
],
[
584,
585
],
[
575,
586
],
[
587,
587
],
[
587,
588
],
[
588,
589
],
[
589,
590
],
[
590,
591
],
[
590,
592
],
[
589,
593
],
[
588,
594
],
[
594,
595
],
[
556,
596
],
[
596,
597
],
[
554,
598
],
[
598,
599
],
[
554,
600
],
[
600,
601
],
[
0,
602
],
[
602,
603
],
[
602,
604
]
]
| [
"import java.io.FileNotFoundException;\nimport java.io.FileInputStream;\nimport java.io.PrintWriter;\nimport java.io.InputStream;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\n\npublic class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/main/java/A1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int d = in.nextInt();\n int t = in.nextInt();\n int s = in.nextInt();\n if ((d + s - 1) / s <= t) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}\n\n\nclass FastScanner {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }\n\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"java.io",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/main/java/A1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int d = in.nextInt();\n int t = in.nextInt();\n int s = in.nextInt();\n if ((d + s - 1) / s <= t) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}",
"Main",
"InputStream is;",
"is",
"int __t__ = 1;",
"__t__",
"1",
"int __f__ = 0;",
"__f__",
"0",
"int __FILE_DEBUG_FLAG__ = __f__;",
"__FILE_DEBUG_FLAG__",
"__f__",
"String __DEBUG_FILE_NAME__ = \"src/main/java/A1\";",
"__DEBUG_FILE_NAME__",
"\"src/main/java/A1\"",
"FastScanner in;",
"in",
"PrintWriter out;",
"out",
"public void solve() {\n int d = in.nextInt();\n int t = in.nextInt();\n int s = in.nextInt();\n if ((d + s - 1) / s <= t) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }",
"solve",
"{\n int d = in.nextInt();\n int t = in.nextInt();\n int s = in.nextInt();\n if ((d + s - 1) / s <= t) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }",
"int d = in.nextInt();",
"d",
"in.nextInt()",
"in.nextInt",
"in",
"int t = in.nextInt();",
"t",
"in.nextInt()",
"in.nextInt",
"in",
"int s = in.nextInt();",
"s",
"in.nextInt()",
"in.nextInt",
"in",
"if ((d + s - 1) / s <= t) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }",
"(d + s - 1) / s <= t",
"(d + s - 1) / s",
"(d + s - 1)",
"d + s",
"d",
"s",
"1",
"s",
"t",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }",
"run",
"{\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }",
"if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }",
"__FILE_DEBUG_FLAG__ == __t__",
"__FILE_DEBUG_FLAG__",
"__t__",
"{\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n }",
"try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }",
"catch (FileNotFoundException e) {\n e.printStackTrace();\n }",
"FileNotFoundException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n }",
"is = new FileInputStream(__DEBUG_FILE_NAME__)",
"is",
"new FileInputStream(__DEBUG_FILE_NAME__)",
"System.out.println(\"FILE_INPUT!\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"FILE_INPUT!\"",
"{\n is = System.in;\n }",
"is = System.in",
"is",
"System.in",
"System",
"System.in",
"in = new FastScanner(is)",
"in",
"new FastScanner(is)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"public static void main(final String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"final String[] args",
"args",
"class FastScanner {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }\n\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}",
"FastScanner",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }",
"FastScanner",
"{\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (numChars == -1)\n throw new InputMismatchException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0)\n return -1;",
"numChars <= 0",
"numChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"isEndline",
"{\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"return c == '\\n' || c == '\\r' || c == -1;",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }",
"nextIntArray",
"{\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }",
"int[] array = new int[n];",
"array",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = nextInt();",
"array[i] = nextInt()",
"array[i]",
"array",
"i",
"nextInt()",
"nextInt",
"return array;",
"array",
"int n",
"n",
"public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }",
"nextIntMap",
"{\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }",
"int[][] map = new int[n][m];",
"map",
"new int[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = nextIntArray(m);\n }",
"{\n map[i] = nextIntArray(m);\n }",
"map[i] = nextIntArray(m)",
"map[i]",
"map",
"i",
"nextIntArray(m)",
"nextIntArray",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"public long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }",
"nextLongArray",
"{\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }",
"long[] array = new long[n];",
"array",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = nextLong();",
"array[i] = nextLong()",
"array[i]",
"array",
"i",
"nextLong()",
"nextLong",
"return array;",
"array",
"int n",
"n",
"public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }",
"nextLongMap",
"{\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }",
"long[][] map = new long[n][m];",
"map",
"new long[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = nextLongArray(m);\n }",
"{\n map[i] = nextLongArray(m);\n }",
"map[i] = nextLongArray(m)",
"map[i]",
"map",
"i",
"nextLongArray(m)",
"nextLongArray",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"public double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }",
"nextDoubleArray",
"{\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }",
"double[] array = new double[n];",
"array",
"new double[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = nextDouble();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = nextDouble();",
"array[i] = nextDouble()",
"array[i]",
"array",
"i",
"nextDouble()",
"nextDouble",
"return array;",
"array",
"int n",
"n",
"public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }",
"nextDoubleMap",
"{\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }",
"double[][] map = new double[n][m];",
"map",
"new double[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = nextDoubleArray(m);\n }",
"{\n map[i] = nextDoubleArray(m);\n }",
"map[i] = nextDoubleArray(m)",
"map[i]",
"map",
"i",
"nextDoubleArray(m)",
"nextDoubleArray",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"public String next() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"next",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }",
"nextStringArray",
"{\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }",
"String[] array = new String[n];",
"array",
"new String[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = next();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = next();",
"array[i] = next()",
"array[i]",
"array",
"i",
"next()",
"next",
"return array;",
"array",
"int n",
"n",
"public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }",
"nextLine",
"{\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isEndline(c))\n c = read();",
"isEndline(c)",
"isEndline",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));",
"!isEndline(c)",
"isEndline(c)",
"isEndline",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }",
"nextPackedIntArrays",
"{\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }",
"int[][] res = new int[packN][size];",
"res",
"new int[packN][size]",
"packN",
"size",
"for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }",
"{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }",
"for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < packN",
"j",
"packN",
"j++",
"j++",
"j",
"{\n res[j][i] = nextInt();\n }",
"{\n res[j][i] = nextInt();\n }",
"res[j][i] = nextInt()",
"res[j][i]",
"res[j]",
"res",
"j",
"i",
"nextInt()",
"nextInt",
"return res;",
"res",
"int packN",
"packN",
"int size",
"size",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/main/java/A1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int d = in.nextInt();\n int t = in.nextInt();\n int s = in.nextInt();\n if ((d + s - 1) / s <= t) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/main/java/A1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int d = in.nextInt();\n int t = in.nextInt();\n int s = in.nextInt();\n if ((d + s - 1) / s <= t) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}",
"Main"
]
| import java.io.FileNotFoundException;
import java.io.FileInputStream;
import java.io.PrintWriter;
import java.io.InputStream;
import java.util.InputMismatchException;
import java.io.IOException;
public class Main {
InputStream is;
int __t__ = 1;
int __f__ = 0;
int __FILE_DEBUG_FLAG__ = __f__;
String __DEBUG_FILE_NAME__ = "src/main/java/A1";
FastScanner in;
PrintWriter out;
public void solve() {
int d = in.nextInt();
int t = in.nextInt();
int s = in.nextInt();
if ((d + s - 1) / s <= t) {
System.out.println("Yes");
} else {
System.out.println("No");
}
}
public void run() {
if (__FILE_DEBUG_FLAG__ == __t__) {
try {
is = new FileInputStream(__DEBUG_FILE_NAME__);
} catch (FileNotFoundException e) {
e.printStackTrace();
}
System.out.println("FILE_INPUT!");
} else {
is = System.in;
}
in = new FastScanner(is);
out = new PrintWriter(System.out);
solve();
}
public static void main(final String[] args) {
new Main().run();
}
}
class FastScanner {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
public FastScanner(InputStream stream) {
this.stream = stream;
// stream = new FileInputStream(new File("dec.in"));
}
int read() {
if (numChars == -1)
throw new InputMismatchException();
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0)
return -1;
}
return buf[curChar++];
}
public boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public boolean isEndline(int c) {
return c == '\n' || c == '\r' || c == -1;
}
public int nextInt() {
return Integer.parseInt(next());
}
public int[] nextIntArray(int n) {
int[] array = new int[n];
for (int i = 0; i < n; i++)
array[i] = nextInt();
return array;
}
public int[][] nextIntMap(int n, int m) {
int[][] map = new int[n][m];
for (int i = 0; i < n; i++) {
map[i] = nextIntArray(m);
}
return map;
}
public long nextLong() {
return Long.parseLong(next());
}
public long[] nextLongArray(int n) {
long[] array = new long[n];
for (int i = 0; i < n; i++)
array[i] = nextLong();
return array;
}
public long[][] nextLongMap(int n, int m) {
long[][] map = new long[n][m];
for (int i = 0; i < n; i++) {
map[i] = nextLongArray(m);
}
return map;
}
public double nextDouble() {
return Double.parseDouble(next());
}
public double[] nextDoubleArray(int n) {
double[] array = new double[n];
for (int i = 0; i < n; i++)
array[i] = nextDouble();
return array;
}
public double[][] nextDoubleMap(int n, int m) {
double[][] map = new double[n][m];
for (int i = 0; i < n; i++) {
map[i] = nextDoubleArray(m);
}
return map;
}
public String next() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
public String[] nextStringArray(int n) {
String[] array = new String[n];
for (int i = 0; i < n; i++)
array[i] = next();
return array;
}
public String nextLine() {
int c = read();
while (isEndline(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isEndline(c));
return res.toString();
}
public int[][] nextPackedIntArrays(int packN, int size) {
int[][] res = new int[packN][size];
for (int i = 0; i < size; i++) {
for (int j = 0; j < packN; j++) {
res[j][i] = nextInt();
}
}
return res;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
2,
13,
13,
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
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
27,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main( String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint distance = scan.nextInt();\n \tint time = scan.nextInt();\n \tint speed = scan.nextInt();\n \tif(distance <= time * speed){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main( String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint distance = scan.nextInt();\n \tint time = scan.nextInt();\n \tint speed = scan.nextInt();\n \tif(distance <= time * speed){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}",
"Main",
"public static void main( String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint distance = scan.nextInt();\n \tint time = scan.nextInt();\n \tint speed = scan.nextInt();\n \tif(distance <= time * speed){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"main",
"{\n \tScanner scan = new Scanner(System.in);\n \tint distance = scan.nextInt();\n \tint time = scan.nextInt();\n \tint speed = scan.nextInt();\n \tif(distance <= time * speed){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int distance = scan.nextInt();",
"distance",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int time = scan.nextInt();",
"time",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int speed = scan.nextInt();",
"speed",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(distance <= time * speed){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"distance <= time * speed",
"distance",
"time * speed",
"time",
"speed",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main( String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint distance = scan.nextInt();\n \tint time = scan.nextInt();\n \tint speed = scan.nextInt();\n \tif(distance <= time * speed){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}",
"public class Main {\n\tpublic static void main( String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint distance = scan.nextInt();\n \tint time = scan.nextInt();\n \tint speed = scan.nextInt();\n \tif(distance <= time * speed){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main( String[] args){
Scanner scan = new Scanner(System.in);
int distance = scan.nextInt();
int time = scan.nextInt();
int speed = scan.nextInt();
if(distance <= time * speed){
System.out.println("Yes");
}else{
System.out.println("No");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
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,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
0,
13,
17,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
14,
2,
4,
18,
13,
17,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
28,
13,
13,
30,
14,
4,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
2,
18,
13,
13,
17,
0,
13,
20,
2,
13,
17,
0,
13,
20,
2,
13,
17,
4,
13,
17,
17,
13,
23,
13,
12,
13,
30,
14,
2,
13,
13,
0,
18,
13,
13,
18,
13,
13,
30,
41,
13,
2,
2,
13,
13,
17,
4,
13,
2,
13,
17,
13,
13,
4,
13,
2,
2,
13,
17,
17,
2,
13,
17,
13,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
18,
13,
2,
2,
13,
17,
17,
23,
13,
23,
13,
23,
13,
12,
13,
30,
0,
13,
2,
13,
17,
0,
18,
13,
13,
13,
42,
2,
13,
17,
30,
0,
13,
17,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
18,
13,
2,
2,
13,
17,
17,
23,
13,
23,
13,
12,
13,
30,
4,
13,
17,
17,
13,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
13,
2,
13,
13,
29,
14,
2,
2,
13,
13,
2,
13,
13,
30,
0,
18,
13,
13,
2,
2,
2,
13,
13,
17,
13,
0,
18,
13,
13,
13,
30,
41,
13,
2,
2,
13,
13,
17,
4,
13,
13,
13,
13,
13,
4,
13,
2,
13,
17,
13,
13,
13,
13,
13,
4,
13,
2,
2,
13,
17,
17,
2,
13,
17,
13,
13,
13,
13,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
18,
13,
2,
2,
13,
17,
17,
23,
13,
23,
13,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
0,
18,
13,
2,
13,
17,
18,
13,
13,
0,
18,
13,
2,
2,
13,
17,
17,
18,
13,
13,
0,
18,
13,
2,
13,
17,
2,
2,
2,
13,
13,
17,
18,
13,
13,
0,
18,
13,
2,
2,
13,
17,
17,
2,
2,
13,
13,
18,
13,
13,
0,
18,
13,
13,
17,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
13,
17,
17,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
13,
2,
13,
13,
29,
17,
14,
2,
2,
13,
13,
2,
13,
13,
29,
18,
13,
13,
41,
13,
2,
2,
13,
13,
17,
4,
13,
13,
13,
13,
13,
41,
13,
4,
13,
2,
13,
17,
13,
13,
13,
13,
41,
13,
4,
13,
2,
2,
13,
17,
17,
2,
13,
17,
13,
13,
13,
29,
2,
13,
13,
23,
13,
23,
13,
23,
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,
2,
13,
18,
13,
13,
23,
13,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
2,
13,
13,
41,
13,
2,
18,
13,
13,
18,
13,
13,
29,
2,
13,
13,
23,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
666,
11
],
[
666,
12
],
[
12,
13
],
[
666,
14
],
[
14,
15
],
[
666,
16
],
[
16,
17
],
[
666,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
20,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
20,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
20,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
20,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
20,
73
],
[
73,
74
],
[
74,
75
],
[
18,
76
],
[
76,
77
],
[
666,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
80,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
78,
94
],
[
94,
95
],
[
78,
96
],
[
96,
97
],
[
666,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
111,
113
],
[
108,
114
],
[
114,
115
],
[
114,
116
],
[
100,
117
],
[
117,
118
],
[
98,
119
],
[
119,
120
],
[
666,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
128,
132
],
[
127,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
137,
139
],
[
137,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
141,
144
],
[
133,
145
],
[
145,
146
],
[
145,
147
],
[
145,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
150,
153
],
[
149,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
123,
158
],
[
158,
159
],
[
121,
160
],
[
160,
161
],
[
121,
162
],
[
162,
163
],
[
666,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
164,
168
],
[
168,
169
],
[
164,
170
],
[
170,
171
],
[
164,
172
],
[
172,
173
],
[
164,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
176,
187
],
[
187,
188
],
[
187,
189
],
[
190,
191
],
[
190,
192
],
[
176,
193
],
[
193,
194
],
[
193,
195
],
[
196,
197
],
[
196,
198
],
[
176,
199
],
[
199,
200
],
[
199,
201
],
[
199,
202
],
[
199,
203
],
[
174,
204
],
[
204,
205
],
[
164,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
217
],
[
217,
218
],
[
217,
219
],
[
209,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
227
],
[
220,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
230,
232
],
[
228,
233
],
[
228,
234
],
[
220,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
237,
241
],
[
235,
242
],
[
242,
243
],
[
242,
244
],
[
235,
245
],
[
220,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
253,
255
],
[
250,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
258,
262
],
[
206,
263
],
[
263,
264
],
[
206,
265
],
[
265,
266
],
[
206,
267
],
[
267,
268
],
[
164,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
274,
276
],
[
271,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
271,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
286,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
297,
299
],
[
294,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
302,
306
],
[
269,
307
],
[
307,
308
],
[
269,
309
],
[
309,
310
],
[
164,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
314,
317
],
[
314,
318
],
[
314,
319
],
[
314,
320
],
[
314,
321
],
[
311,
322
],
[
322,
323
],
[
311,
324
],
[
324,
325
],
[
311,
326
],
[
326,
327
],
[
164,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
333,
334
],
[
333,
335
],
[
332,
336
],
[
336,
337
],
[
336,
338
],
[
331,
339
],
[
330,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
345
],
[
345,
346
],
[
345,
347
],
[
340,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
349,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
354,
358
],
[
353,
359
],
[
348,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
360,
364
],
[
340,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
368,
372
],
[
365,
373
],
[
373,
374
],
[
373,
375
],
[
373,
376
],
[
373,
377
],
[
373,
378
],
[
365,
379
],
[
379,
380
],
[
379,
381
],
[
381,
382
],
[
381,
383
],
[
379,
384
],
[
379,
385
],
[
379,
386
],
[
379,
387
],
[
379,
388
],
[
365,
389
],
[
389,
390
],
[
389,
391
],
[
391,
392
],
[
392,
393
],
[
392,
394
],
[
391,
395
],
[
389,
396
],
[
396,
397
],
[
396,
398
],
[
389,
399
],
[
389,
400
],
[
389,
401
],
[
389,
402
],
[
365,
403
],
[
403,
404
],
[
404,
405
],
[
404,
406
],
[
403,
407
],
[
407,
408
],
[
408,
409
],
[
408,
410
],
[
410,
411
],
[
410,
412
],
[
407,
413
],
[
413,
414
],
[
413,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
415,
419
],
[
328,
420
],
[
420,
421
],
[
328,
422
],
[
422,
423
],
[
328,
424
],
[
424,
425
],
[
328,
426
],
[
426,
427
],
[
328,
428
],
[
428,
429
],
[
328,
430
],
[
430,
431
],
[
164,
432
],
[
432,
433
],
[
432,
434
],
[
434,
435
],
[
435,
436
],
[
436,
437
],
[
436,
438
],
[
438,
439
],
[
438,
440
],
[
435,
441
],
[
441,
442
],
[
441,
443
],
[
434,
444
],
[
444,
445
],
[
445,
446
],
[
445,
447
],
[
447,
448
],
[
448,
449
],
[
448,
450
],
[
447,
451
],
[
444,
452
],
[
452,
453
],
[
452,
454
],
[
434,
455
],
[
455,
456
],
[
456,
457
],
[
456,
458
],
[
458,
459
],
[
458,
460
],
[
455,
461
],
[
461,
462
],
[
462,
463
],
[
463,
464
],
[
463,
465
],
[
462,
466
],
[
461,
467
],
[
467,
468
],
[
467,
469
],
[
434,
470
],
[
470,
471
],
[
471,
472
],
[
471,
473
],
[
473,
474
],
[
474,
475
],
[
474,
476
],
[
473,
477
],
[
470,
478
],
[
478,
479
],
[
479,
480
],
[
479,
481
],
[
478,
482
],
[
482,
483
],
[
482,
484
],
[
434,
485
],
[
485,
486
],
[
486,
487
],
[
486,
488
],
[
485,
489
],
[
432,
490
],
[
490,
491
],
[
432,
492
],
[
492,
493
],
[
432,
494
],
[
494,
495
],
[
432,
496
],
[
496,
497
],
[
164,
498
],
[
498,
499
],
[
498,
500
],
[
500,
501
],
[
501,
502
],
[
502,
503
],
[
502,
504
],
[
502,
505
],
[
502,
506
],
[
502,
507
],
[
502,
508
],
[
498,
509
],
[
509,
510
],
[
498,
511
],
[
511,
512
],
[
164,
513
],
[
513,
514
],
[
513,
515
],
[
515,
516
],
[
516,
517
],
[
517,
518
],
[
518,
519
],
[
518,
520
],
[
517,
521
],
[
521,
522
],
[
521,
523
],
[
516,
524
],
[
524,
525
],
[
515,
526
],
[
526,
527
],
[
527,
528
],
[
528,
529
],
[
528,
530
],
[
527,
531
],
[
531,
532
],
[
531,
533
],
[
526,
534
],
[
534,
535
],
[
535,
536
],
[
535,
537
],
[
515,
538
],
[
538,
539
],
[
538,
540
],
[
540,
541
],
[
541,
542
],
[
541,
543
],
[
540,
544
],
[
515,
545
],
[
545,
546
],
[
545,
547
],
[
545,
548
],
[
545,
549
],
[
545,
550
],
[
515,
551
],
[
551,
552
],
[
551,
553
],
[
553,
554
],
[
553,
555
],
[
555,
556
],
[
555,
557
],
[
553,
558
],
[
553,
559
],
[
553,
560
],
[
553,
561
],
[
515,
562
],
[
562,
563
],
[
562,
564
],
[
564,
565
],
[
564,
566
],
[
566,
567
],
[
567,
568
],
[
567,
569
],
[
566,
570
],
[
564,
571
],
[
571,
572
],
[
571,
573
],
[
564,
574
],
[
564,
575
],
[
564,
576
],
[
515,
577
],
[
577,
578
],
[
578,
579
],
[
578,
580
],
[
513,
581
],
[
581,
582
],
[
513,
583
],
[
583,
584
],
[
513,
585
],
[
585,
586
],
[
513,
587
],
[
587,
588
],
[
513,
589
],
[
589,
590
],
[
666,
591
],
[
591,
592
],
[
591,
593
],
[
593,
594
],
[
591,
595
],
[
595,
596
],
[
591,
597
],
[
597,
598
],
[
597,
599
],
[
599,
600
],
[
600,
601
],
[
600,
602
],
[
599,
603
],
[
603,
604
],
[
603,
605
],
[
597,
606
],
[
606,
607
],
[
597,
608
],
[
608,
609
],
[
591,
610
],
[
610,
611
],
[
610,
612
],
[
612,
613
],
[
613,
614
],
[
614,
615
],
[
614,
616
],
[
616,
617
],
[
616,
618
],
[
610,
619
],
[
619,
620
],
[
591,
621
],
[
666,
622
],
[
622,
623
],
[
622,
624
],
[
624,
625
],
[
622,
626
],
[
626,
627
],
[
622,
628
],
[
628,
629
],
[
628,
630
],
[
630,
631
],
[
631,
632
],
[
631,
633
],
[
630,
634
],
[
634,
635
],
[
634,
636
],
[
628,
637
],
[
637,
638
],
[
628,
639
],
[
639,
640
],
[
622,
641
],
[
641,
642
],
[
641,
643
],
[
643,
644
],
[
644,
645
],
[
644,
646
],
[
646,
647
],
[
646,
648
],
[
643,
649
],
[
649,
650
],
[
649,
651
],
[
651,
652
],
[
652,
653
],
[
652,
654
],
[
651,
655
],
[
655,
656
],
[
655,
657
],
[
643,
658
],
[
658,
659
],
[
659,
660
],
[
659,
661
],
[
641,
662
],
[
662,
663
],
[
622,
664
],
[
0,
665
],
[
665,
666
],
[
665,
667
]
]
| [
"import java.util.*;\nimport java.util.Map.Entry;\n\nimport java.io.*;\n\npublic class Main {\n\tstatic int[] a;\n\tstatic long[] memo;\n\tstatic long[] cum;\n\n//\tstatic long dp(int idx) {\n//\t\tif (idx == a.length)\n//\t\t\treturn 0;\n//\t\tif (memo[idx] != -1)\n//\t\t\treturn memo[idx];\n//\t\tlong ans = Long.MAX_VALUE / 2;\n//\t\tif (idx != a.length - 1) {\n//\t\t\tans = Math.min(a[idx] + a[idx + 1] + cum[idx + 2] + dp(idx + 2), cum[idx + 1] + dp(idx + 1));\n//\t\t} else {\n//\t\t\tans = cum[idx + 1] + dp(idx + 1);\n//\t\t}\n//\t\treturn memo[idx] = ans;\n//\t}\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint d = Integer.parseInt(st.nextToken());\n\t\tint t = Integer.parseInt(st.nextToken());\n\t\tint s = Integer.parseInt(st.nextToken());\n\t\tdouble ans=d*1.0/s;\n\t\tif(ans<=t)\n\t\t\tpw.println(\"Yes\");\n\t\telse\n\t\t\tpw.println(\"No\");\n\n\t\tpw.flush();\n\t}\n\n\t/*\n\t * 4 6 2 3 4 4 5 7 5 5 15 40 30 10 10 3 1 5 4 8 2 6 1 1 2 9 3 2 1 6 5 2 6 4 3\n\t * \n\t */\n\tstatic class SegmentTree { // 1-based DS, OOP\n\n\t\tint N; // the number of elements in the array as a power of 2 (i.e. after padding)\n\t\tint[] array, sTree, lazy;\n\n\t\tSegmentTree(int[] in) {\n\t\t\tarray = in;\n\t\t\tN = in.length - 1;\n\t\t\tsTree = new int[N << 1]; // no. of nodes = 2*N - 1, we add one to cross out index zero\n\t\t\tlazy = new int[N << 1];\n\t\t\tbuild(1, 1, N);\n\t\t}\n\n\t\tvoid build(int node, int b, int e) // O(n)\n\t\t{\n\t\t\tif (b == e)\n\t\t\t\tsTree[node] = array[b];\n\t\t\telse {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tbuild(node << 1, b, mid);\n\t\t\t\tbuild(node << 1 | 1, mid + 1, e);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\t\t}\n\n\t\tvoid update_point(int index, int val) // O(log n)\n\t\t{\n\t\t\tindex += N - 1;\n\t\t\tsTree[index] += val;\n\t\t\twhile (index > 1) {\n\t\t\t\tindex >>= 1;\n\t\t\t\tsTree[index] = sTree[index << 1] + sTree[index << 1 | 1];\n\t\t\t}\n\t\t}\n\n\t\tvoid update_range(int i, int j, int val) // O(log n)\n\t\t{\n\t\t\tupdate_range(1, 1, N, i, j, val);\n\t\t}\n\n\t\tvoid update_range(int node, int b, int e, int i, int j, int val) {\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn;\n\t\t\tif (b >= i && e <= j) {\n\t\t\t\tsTree[node] += (e - b + 1) * val;\n\t\t\t\tlazy[node] += val;\n\t\t\t} else {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tpropagate(node, b, mid, e);\n\t\t\t\tupdate_range(node << 1, b, mid, i, j, val);\n\t\t\t\tupdate_range(node << 1 | 1, mid + 1, e, i, j, val);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\n\t\t}\n\n\t\tvoid propagate(int node, int b, int mid, int e) {\n\t\t\tlazy[node << 1] += lazy[node];\n\t\t\tlazy[node << 1 | 1] += lazy[node];\n\t\t\tsTree[node << 1] += (mid - b + 1) * lazy[node];\n\t\t\tsTree[node << 1 | 1] += (e - mid) * lazy[node];\n\t\t\tlazy[node] = 0;\n\t\t}\n\n\t\tint query(int i, int j) {\n\t\t\treturn query(1, 1, N, i, j);\n\t\t}\n\n\t\tint query(int node, int b, int e, int i, int j) // O(log n)\n\t\t{\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn 0;\n\t\t\tif (b >= i && e <= j)\n\t\t\t\treturn sTree[node];\n\t\t\tint mid = b + e >> 1;\n\t\t\tpropagate(node, b, mid, e);\n\t\t\tint q1 = query(node << 1, b, mid, i, j);\n\t\t\tint q2 = query(node << 1 | 1, mid + 1, e, i, j);\n\t\t\treturn q1 + q2;\n\n\t\t}\n\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}\n\n\tstatic int countD(int x) {\n\t\tint c = 0;\n\t\twhile (x != 0) {\n\t\t\tc += x % 10;\n\t\t\tx /= 10;\n\t\t}\n\t\treturn c;\n\t}\n\n\tstatic ArrayList<Integer> intersect(ArrayList<Integer> a, ArrayList<Integer> b) {\n\t\tArrayList<Integer> res = new ArrayList<>();\n\t\tif (b.size() != 0) {\n\t\t\tHashSet<Integer> hm = new HashSet<>();\n\t\t\tfor (int x : a)\n\t\t\t\thm.add(x);\n\t\t\tfor (int x : b)\n\t\t\t\tif (hm.contains(x))\n\t\t\t\t\tres.add(x);\n\t\t}\n\t\treturn res;\n\t}\n\n\tstatic class pair implements Comparable<pair> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn x - o.x;\n\t\t}\n\n\t}\n\n\tstatic class pair2 implements Comparable<pair2> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair2(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair2 o) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\tint x1 = y - x;\n\t\t\tint x2 = o.y - o.x;\n\t\t\treturn x1 - x2;\n\t\t}\n\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.Map.Entry;",
"Entry",
"java.util.Map",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tstatic int[] a;\n\tstatic long[] memo;\n\tstatic long[] cum;\n\n//\tstatic long dp(int idx) {\n//\t\tif (idx == a.length)\n//\t\t\treturn 0;\n//\t\tif (memo[idx] != -1)\n//\t\t\treturn memo[idx];\n//\t\tlong ans = Long.MAX_VALUE / 2;\n//\t\tif (idx != a.length - 1) {\n//\t\t\tans = Math.min(a[idx] + a[idx + 1] + cum[idx + 2] + dp(idx + 2), cum[idx + 1] + dp(idx + 1));\n//\t\t} else {\n//\t\t\tans = cum[idx + 1] + dp(idx + 1);\n//\t\t}\n//\t\treturn memo[idx] = ans;\n//\t}\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint d = Integer.parseInt(st.nextToken());\n\t\tint t = Integer.parseInt(st.nextToken());\n\t\tint s = Integer.parseInt(st.nextToken());\n\t\tdouble ans=d*1.0/s;\n\t\tif(ans<=t)\n\t\t\tpw.println(\"Yes\");\n\t\telse\n\t\t\tpw.println(\"No\");\n\n\t\tpw.flush();\n\t}\n\n\t/*\n\t * 4 6 2 3 4 4 5 7 5 5 15 40 30 10 10 3 1 5 4 8 2 6 1 1 2 9 3 2 1 6 5 2 6 4 3\n\t * \n\t */\n\tstatic class SegmentTree { // 1-based DS, OOP\n\n\t\tint N; // the number of elements in the array as a power of 2 (i.e. after padding)\n\t\tint[] array, sTree, lazy;\n\n\t\tSegmentTree(int[] in) {\n\t\t\tarray = in;\n\t\t\tN = in.length - 1;\n\t\t\tsTree = new int[N << 1]; // no. of nodes = 2*N - 1, we add one to cross out index zero\n\t\t\tlazy = new int[N << 1];\n\t\t\tbuild(1, 1, N);\n\t\t}\n\n\t\tvoid build(int node, int b, int e) // O(n)\n\t\t{\n\t\t\tif (b == e)\n\t\t\t\tsTree[node] = array[b];\n\t\t\telse {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tbuild(node << 1, b, mid);\n\t\t\t\tbuild(node << 1 | 1, mid + 1, e);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\t\t}\n\n\t\tvoid update_point(int index, int val) // O(log n)\n\t\t{\n\t\t\tindex += N - 1;\n\t\t\tsTree[index] += val;\n\t\t\twhile (index > 1) {\n\t\t\t\tindex >>= 1;\n\t\t\t\tsTree[index] = sTree[index << 1] + sTree[index << 1 | 1];\n\t\t\t}\n\t\t}\n\n\t\tvoid update_range(int i, int j, int val) // O(log n)\n\t\t{\n\t\t\tupdate_range(1, 1, N, i, j, val);\n\t\t}\n\n\t\tvoid update_range(int node, int b, int e, int i, int j, int val) {\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn;\n\t\t\tif (b >= i && e <= j) {\n\t\t\t\tsTree[node] += (e - b + 1) * val;\n\t\t\t\tlazy[node] += val;\n\t\t\t} else {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tpropagate(node, b, mid, e);\n\t\t\t\tupdate_range(node << 1, b, mid, i, j, val);\n\t\t\t\tupdate_range(node << 1 | 1, mid + 1, e, i, j, val);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\n\t\t}\n\n\t\tvoid propagate(int node, int b, int mid, int e) {\n\t\t\tlazy[node << 1] += lazy[node];\n\t\t\tlazy[node << 1 | 1] += lazy[node];\n\t\t\tsTree[node << 1] += (mid - b + 1) * lazy[node];\n\t\t\tsTree[node << 1 | 1] += (e - mid) * lazy[node];\n\t\t\tlazy[node] = 0;\n\t\t}\n\n\t\tint query(int i, int j) {\n\t\t\treturn query(1, 1, N, i, j);\n\t\t}\n\n\t\tint query(int node, int b, int e, int i, int j) // O(log n)\n\t\t{\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn 0;\n\t\t\tif (b >= i && e <= j)\n\t\t\t\treturn sTree[node];\n\t\t\tint mid = b + e >> 1;\n\t\t\tpropagate(node, b, mid, e);\n\t\t\tint q1 = query(node << 1, b, mid, i, j);\n\t\t\tint q2 = query(node << 1 | 1, mid + 1, e, i, j);\n\t\t\treturn q1 + q2;\n\n\t\t}\n\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}\n\n\tstatic int countD(int x) {\n\t\tint c = 0;\n\t\twhile (x != 0) {\n\t\t\tc += x % 10;\n\t\t\tx /= 10;\n\t\t}\n\t\treturn c;\n\t}\n\n\tstatic ArrayList<Integer> intersect(ArrayList<Integer> a, ArrayList<Integer> b) {\n\t\tArrayList<Integer> res = new ArrayList<>();\n\t\tif (b.size() != 0) {\n\t\t\tHashSet<Integer> hm = new HashSet<>();\n\t\t\tfor (int x : a)\n\t\t\t\thm.add(x);\n\t\t\tfor (int x : b)\n\t\t\t\tif (hm.contains(x))\n\t\t\t\t\tres.add(x);\n\t\t}\n\t\treturn res;\n\t}\n\n\tstatic class pair implements Comparable<pair> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn x - o.x;\n\t\t}\n\n\t}\n\n\tstatic class pair2 implements Comparable<pair2> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair2(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair2 o) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\tint x1 = y - x;\n\t\t\tint x2 = o.y - o.x;\n\t\t\treturn x1 - x2;\n\t\t}\n\n\t}\n\n}",
"Main",
"static int[] a;",
"a",
"static long[] memo;",
"memo",
"static long[] cum;",
"cum",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint d = Integer.parseInt(st.nextToken());\n\t\tint t = Integer.parseInt(st.nextToken());\n\t\tint s = Integer.parseInt(st.nextToken());\n\t\tdouble ans=d*1.0/s;\n\t\tif(ans<=t)\n\t\t\tpw.println(\"Yes\");\n\t\telse\n\t\t\tpw.println(\"No\");\n\n\t\tpw.flush();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint d = Integer.parseInt(st.nextToken());\n\t\tint t = Integer.parseInt(st.nextToken());\n\t\tint s = Integer.parseInt(st.nextToken());\n\t\tdouble ans=d*1.0/s;\n\t\tif(ans<=t)\n\t\t\tpw.println(\"Yes\");\n\t\telse\n\t\t\tpw.println(\"No\");\n\n\t\tpw.flush();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int d = Integer.parseInt(st.nextToken());",
"d",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int t = Integer.parseInt(st.nextToken());",
"t",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int s = Integer.parseInt(st.nextToken());",
"s",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"double ans=d*1.0/s;",
"ans",
"d*1.0/s",
"d*1.0",
"d",
"1.0",
"s",
"if(ans<=t)\n\t\t\tpw.println(\"Yes\");\n\t\telse\n\t\t\tpw.println(\"No\");",
"ans<=t",
"ans",
"t",
"pw.println(\"Yes\")",
"pw.println",
"pw",
"\"Yes\"",
"pw.println(\"No\")",
"pw.println",
"pw",
"\"No\"",
"pw.flush()",
"pw.flush",
"pw",
"String[] args",
"args",
"static long gcd(long a, long b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}",
"gcd",
"{\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}",
"if (a == 0)\n\t\t\treturn b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"a",
"long a",
"a",
"long b",
"b",
"static int countD(int x) {\n\t\tint c = 0;\n\t\twhile (x != 0) {\n\t\t\tc += x % 10;\n\t\t\tx /= 10;\n\t\t}\n\t\treturn c;\n\t}",
"countD",
"{\n\t\tint c = 0;\n\t\twhile (x != 0) {\n\t\t\tc += x % 10;\n\t\t\tx /= 10;\n\t\t}\n\t\treturn c;\n\t}",
"int c = 0;",
"c",
"0",
"while (x != 0) {\n\t\t\tc += x % 10;\n\t\t\tx /= 10;\n\t\t}",
"x != 0",
"x",
"0",
"{\n\t\t\tc += x % 10;\n\t\t\tx /= 10;\n\t\t}",
"c += x % 10",
"c",
"x % 10",
"x",
"10",
"x /= 10",
"x",
"10",
"return c;",
"c",
"int x",
"x",
"static ArrayList<Integer> intersect(ArrayList<Integer> a, ArrayList<Integer> b) {\n\t\tArrayList<Integer> res = new ArrayList<>();\n\t\tif (b.size() != 0) {\n\t\t\tHashSet<Integer> hm = new HashSet<>();\n\t\t\tfor (int x : a)\n\t\t\t\thm.add(x);\n\t\t\tfor (int x : b)\n\t\t\t\tif (hm.contains(x))\n\t\t\t\t\tres.add(x);\n\t\t}\n\t\treturn res;\n\t}",
"intersect",
"{\n\t\tArrayList<Integer> res = new ArrayList<>();\n\t\tif (b.size() != 0) {\n\t\t\tHashSet<Integer> hm = new HashSet<>();\n\t\t\tfor (int x : a)\n\t\t\t\thm.add(x);\n\t\t\tfor (int x : b)\n\t\t\t\tif (hm.contains(x))\n\t\t\t\t\tres.add(x);\n\t\t}\n\t\treturn res;\n\t}",
"ArrayList<Integer> res = new ArrayList<>();",
"res",
"new ArrayList<>()",
"if (b.size() != 0) {\n\t\t\tHashSet<Integer> hm = new HashSet<>();\n\t\t\tfor (int x : a)\n\t\t\t\thm.add(x);\n\t\t\tfor (int x : b)\n\t\t\t\tif (hm.contains(x))\n\t\t\t\t\tres.add(x);\n\t\t}",
"b.size() != 0",
"b.size()",
"b.size",
"b",
"0",
"{\n\t\t\tHashSet<Integer> hm = new HashSet<>();\n\t\t\tfor (int x : a)\n\t\t\t\thm.add(x);\n\t\t\tfor (int x : b)\n\t\t\t\tif (hm.contains(x))\n\t\t\t\t\tres.add(x);\n\t\t}",
"HashSet<Integer> hm = new HashSet<>();",
"hm",
"new HashSet<>()",
"for (int x : a)\n\t\t\t\thm.add(x);",
"int x",
"a",
"hm.add(x);",
"hm.add(x)",
"hm.add",
"hm",
"x",
"for (int x : b)\n\t\t\t\tif (hm.contains(x))\n\t\t\t\t\tres.add(x);",
"int x",
"b",
"if (hm.contains(x))\n\t\t\t\t\tres.add(x);",
"if (hm.contains(x))\n\t\t\t\t\tres.add(x);",
"hm.contains(x)",
"hm.contains",
"hm",
"x",
"res.add(x)",
"res.add",
"res",
"x",
"return res;",
"res",
"ArrayList<Integer> a",
"a",
"ArrayList<Integer> b",
"b",
"static class SegmentTree { // 1-based DS, OOP\n\n\t\tint N; // the number of elements in the array as a power of 2 (i.e. after padding)\n\t\tint[] array, sTree, lazy;\n\n\t\tSegmentTree(int[] in) {\n\t\t\tarray = in;\n\t\t\tN = in.length - 1;\n\t\t\tsTree = new int[N << 1]; // no. of nodes = 2*N - 1, we add one to cross out index zero\n\t\t\tlazy = new int[N << 1];\n\t\t\tbuild(1, 1, N);\n\t\t}\n\n\t\tvoid build(int node, int b, int e) // O(n)\n\t\t{\n\t\t\tif (b == e)\n\t\t\t\tsTree[node] = array[b];\n\t\t\telse {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tbuild(node << 1, b, mid);\n\t\t\t\tbuild(node << 1 | 1, mid + 1, e);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\t\t}\n\n\t\tvoid update_point(int index, int val) // O(log n)\n\t\t{\n\t\t\tindex += N - 1;\n\t\t\tsTree[index] += val;\n\t\t\twhile (index > 1) {\n\t\t\t\tindex >>= 1;\n\t\t\t\tsTree[index] = sTree[index << 1] + sTree[index << 1 | 1];\n\t\t\t}\n\t\t}\n\n\t\tvoid update_range(int i, int j, int val) // O(log n)\n\t\t{\n\t\t\tupdate_range(1, 1, N, i, j, val);\n\t\t}\n\n\t\tvoid update_range(int node, int b, int e, int i, int j, int val) {\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn;\n\t\t\tif (b >= i && e <= j) {\n\t\t\t\tsTree[node] += (e - b + 1) * val;\n\t\t\t\tlazy[node] += val;\n\t\t\t} else {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tpropagate(node, b, mid, e);\n\t\t\t\tupdate_range(node << 1, b, mid, i, j, val);\n\t\t\t\tupdate_range(node << 1 | 1, mid + 1, e, i, j, val);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\n\t\t}\n\n\t\tvoid propagate(int node, int b, int mid, int e) {\n\t\t\tlazy[node << 1] += lazy[node];\n\t\t\tlazy[node << 1 | 1] += lazy[node];\n\t\t\tsTree[node << 1] += (mid - b + 1) * lazy[node];\n\t\t\tsTree[node << 1 | 1] += (e - mid) * lazy[node];\n\t\t\tlazy[node] = 0;\n\t\t}\n\n\t\tint query(int i, int j) {\n\t\t\treturn query(1, 1, N, i, j);\n\t\t}\n\n\t\tint query(int node, int b, int e, int i, int j) // O(log n)\n\t\t{\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn 0;\n\t\t\tif (b >= i && e <= j)\n\t\t\t\treturn sTree[node];\n\t\t\tint mid = b + e >> 1;\n\t\t\tpropagate(node, b, mid, e);\n\t\t\tint q1 = query(node << 1, b, mid, i, j);\n\t\t\tint q2 = query(node << 1 | 1, mid + 1, e, i, j);\n\t\t\treturn q1 + q2;\n\n\t\t}\n\n\t}",
"SegmentTree",
"int N; // the number of elements in the array as a power of 2 (i.e. after padding)",
"N",
"int[] array",
"array",
"sTree",
"sTree",
"lazy;",
"lazy",
"SegmentTree(int[] in) {\n\t\t\tarray = in;\n\t\t\tN = in.length - 1;\n\t\t\tsTree = new int[N << 1]; // no. of nodes = 2*N - 1, we add one to cross out index zero\n\t\t\tlazy = new int[N << 1];\n\t\t\tbuild(1, 1, N);\n\t\t}",
"SegmentTree",
"{\n\t\t\tarray = in;\n\t\t\tN = in.length - 1;\n\t\t\tsTree = new int[N << 1]; // no. of nodes = 2*N - 1, we add one to cross out index zero\n\t\t\tlazy = new int[N << 1];\n\t\t\tbuild(1, 1, N);\n\t\t}",
"array = in",
"array",
"in",
"N = in.length - 1",
"N",
"in.length - 1",
"in.length",
"in",
"in.length",
"1",
"sTree = new int[N << 1]",
"sTree",
"new int[N << 1]",
"N << 1",
"N",
"1",
"lazy = new int[N << 1]",
"lazy",
"new int[N << 1]",
"N << 1",
"N",
"1",
"build(1, 1, N)",
"build",
"1",
"1",
"N",
"int[] in",
"in",
"void build(int node, int b, int e) // O(n)\n\t\t{\n\t\t\tif (b == e)\n\t\t\t\tsTree[node] = array[b];\n\t\t\telse {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tbuild(node << 1, b, mid);\n\t\t\t\tbuild(node << 1 | 1, mid + 1, e);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\t\t}",
"build",
"{\n\t\t\tif (b == e)\n\t\t\t\tsTree[node] = array[b];\n\t\t\telse {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tbuild(node << 1, b, mid);\n\t\t\t\tbuild(node << 1 | 1, mid + 1, e);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\t\t}",
"if (b == e)\n\t\t\t\tsTree[node] = array[b];\n\t\t\telse {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tbuild(node << 1, b, mid);\n\t\t\t\tbuild(node << 1 | 1, mid + 1, e);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}",
"b == e",
"b",
"e",
"sTree[node] = array[b]",
"sTree[node]",
"sTree",
"node",
"array[b]",
"array",
"b",
"{\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tbuild(node << 1, b, mid);\n\t\t\t\tbuild(node << 1 | 1, mid + 1, e);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}",
"int mid = b + e >> 1;",
"mid",
"b + e >> 1",
"b + e",
"b",
"e",
"1",
"build(node << 1, b, mid)",
"build",
"node << 1",
"node",
"1",
"b",
"mid",
"build(node << 1 | 1, mid + 1, e)",
"build",
"node << 1 | 1",
"node << 1",
"node",
"1",
"1",
"mid + 1",
"mid",
"1",
"e",
"sTree[node] = sTree[node << 1] + sTree[node << 1 | 1]",
"sTree[node]",
"sTree",
"node",
"sTree[node << 1] + sTree[node << 1 | 1]",
"sTree[node << 1]",
"sTree",
"node << 1",
"node",
"1",
"sTree[node << 1 | 1]",
"sTree",
"node << 1 | 1",
"node << 1",
"node",
"1",
"1",
"int node",
"node",
"int b",
"b",
"int e",
"e",
"void update_point(int index, int val) // O(log n)\n\t\t{\n\t\t\tindex += N - 1;\n\t\t\tsTree[index] += val;\n\t\t\twhile (index > 1) {\n\t\t\t\tindex >>= 1;\n\t\t\t\tsTree[index] = sTree[index << 1] + sTree[index << 1 | 1];\n\t\t\t}\n\t\t}",
"update_point",
"{\n\t\t\tindex += N - 1;\n\t\t\tsTree[index] += val;\n\t\t\twhile (index > 1) {\n\t\t\t\tindex >>= 1;\n\t\t\t\tsTree[index] = sTree[index << 1] + sTree[index << 1 | 1];\n\t\t\t}\n\t\t}",
"index += N - 1",
"index",
"N - 1",
"N",
"1",
"sTree[index] += val",
"sTree[index]",
"sTree",
"index",
"val",
"while (index > 1) {\n\t\t\t\tindex >>= 1;\n\t\t\t\tsTree[index] = sTree[index << 1] + sTree[index << 1 | 1];\n\t\t\t}",
"index > 1",
"index",
"1",
"{\n\t\t\t\tindex >>= 1;\n\t\t\t\tsTree[index] = sTree[index << 1] + sTree[index << 1 | 1];\n\t\t\t}",
"index >>= 1",
"index",
"1",
"sTree[index] = sTree[index << 1] + sTree[index << 1 | 1]",
"sTree[index]",
"sTree",
"index",
"sTree[index << 1] + sTree[index << 1 | 1]",
"sTree[index << 1]",
"sTree",
"index << 1",
"index",
"1",
"sTree[index << 1 | 1]",
"sTree",
"index << 1 | 1",
"index << 1",
"index",
"1",
"1",
"int index",
"index",
"int val",
"val",
"void update_range(int i, int j, int val) // O(log n)\n\t\t{\n\t\t\tupdate_range(1, 1, N, i, j, val);\n\t\t}",
"update_range",
"{\n\t\t\tupdate_range(1, 1, N, i, j, val);\n\t\t}",
"update_range(1, 1, N, i, j, val)",
"update_range",
"1",
"1",
"N",
"i",
"j",
"val",
"int i",
"i",
"int j",
"j",
"int val",
"val",
"void update_range(int node, int b, int e, int i, int j, int val) {\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn;\n\t\t\tif (b >= i && e <= j) {\n\t\t\t\tsTree[node] += (e - b + 1) * val;\n\t\t\t\tlazy[node] += val;\n\t\t\t} else {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tpropagate(node, b, mid, e);\n\t\t\t\tupdate_range(node << 1, b, mid, i, j, val);\n\t\t\t\tupdate_range(node << 1 | 1, mid + 1, e, i, j, val);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\n\t\t}",
"update_range",
"{\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn;\n\t\t\tif (b >= i && e <= j) {\n\t\t\t\tsTree[node] += (e - b + 1) * val;\n\t\t\t\tlazy[node] += val;\n\t\t\t} else {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tpropagate(node, b, mid, e);\n\t\t\t\tupdate_range(node << 1, b, mid, i, j, val);\n\t\t\t\tupdate_range(node << 1 | 1, mid + 1, e, i, j, val);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\n\t\t}",
"if (i > e || j < b)\n\t\t\t\treturn;",
"i > e || j < b",
"i > e",
"i",
"e",
"j < b",
"j",
"b",
"return;",
"if (b >= i && e <= j) {\n\t\t\t\tsTree[node] += (e - b + 1) * val;\n\t\t\t\tlazy[node] += val;\n\t\t\t} else {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tpropagate(node, b, mid, e);\n\t\t\t\tupdate_range(node << 1, b, mid, i, j, val);\n\t\t\t\tupdate_range(node << 1 | 1, mid + 1, e, i, j, val);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}",
"b >= i && e <= j",
"b >= i",
"b",
"i",
"e <= j",
"e",
"j",
"{\n\t\t\t\tsTree[node] += (e - b + 1) * val;\n\t\t\t\tlazy[node] += val;\n\t\t\t}",
"sTree[node] += (e - b + 1) * val",
"sTree[node]",
"sTree",
"node",
"(e - b + 1) * val",
"(e - b + 1)",
"e - b",
"e",
"b",
"1",
"val",
"lazy[node] += val",
"lazy[node]",
"lazy",
"node",
"val",
"{\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tpropagate(node, b, mid, e);\n\t\t\t\tupdate_range(node << 1, b, mid, i, j, val);\n\t\t\t\tupdate_range(node << 1 | 1, mid + 1, e, i, j, val);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}",
"int mid = b + e >> 1;",
"mid",
"b + e >> 1",
"b + e",
"b",
"e",
"1",
"propagate(node, b, mid, e)",
"propagate",
"node",
"b",
"mid",
"e",
"update_range(node << 1, b, mid, i, j, val)",
"update_range",
"node << 1",
"node",
"1",
"b",
"mid",
"i",
"j",
"val",
"update_range(node << 1 | 1, mid + 1, e, i, j, val)",
"update_range",
"node << 1 | 1",
"node << 1",
"node",
"1",
"1",
"mid + 1",
"mid",
"1",
"e",
"i",
"j",
"val",
"sTree[node] = sTree[node << 1] + sTree[node << 1 | 1]",
"sTree[node]",
"sTree",
"node",
"sTree[node << 1] + sTree[node << 1 | 1]",
"sTree[node << 1]",
"sTree",
"node << 1",
"node",
"1",
"sTree[node << 1 | 1]",
"sTree",
"node << 1 | 1",
"node << 1",
"node",
"1",
"1",
"int node",
"node",
"int b",
"b",
"int e",
"e",
"int i",
"i",
"int j",
"j",
"int val",
"val",
"void propagate(int node, int b, int mid, int e) {\n\t\t\tlazy[node << 1] += lazy[node];\n\t\t\tlazy[node << 1 | 1] += lazy[node];\n\t\t\tsTree[node << 1] += (mid - b + 1) * lazy[node];\n\t\t\tsTree[node << 1 | 1] += (e - mid) * lazy[node];\n\t\t\tlazy[node] = 0;\n\t\t}",
"propagate",
"{\n\t\t\tlazy[node << 1] += lazy[node];\n\t\t\tlazy[node << 1 | 1] += lazy[node];\n\t\t\tsTree[node << 1] += (mid - b + 1) * lazy[node];\n\t\t\tsTree[node << 1 | 1] += (e - mid) * lazy[node];\n\t\t\tlazy[node] = 0;\n\t\t}",
"lazy[node << 1] += lazy[node]",
"lazy[node << 1]",
"lazy",
"node << 1",
"node",
"1",
"lazy[node]",
"lazy",
"node",
"lazy[node << 1 | 1] += lazy[node]",
"lazy[node << 1 | 1]",
"lazy",
"node << 1 | 1",
"node << 1",
"node",
"1",
"1",
"lazy[node]",
"lazy",
"node",
"sTree[node << 1] += (mid - b + 1) * lazy[node]",
"sTree[node << 1]",
"sTree",
"node << 1",
"node",
"1",
"(mid - b + 1) * lazy[node]",
"(mid - b + 1)",
"mid - b",
"mid",
"b",
"1",
"lazy[node]",
"lazy",
"node",
"sTree[node << 1 | 1] += (e - mid) * lazy[node]",
"sTree[node << 1 | 1]",
"sTree",
"node << 1 | 1",
"node << 1",
"node",
"1",
"1",
"(e - mid) * lazy[node]",
"(e - mid)",
"e",
"mid",
"lazy[node]",
"lazy",
"node",
"lazy[node] = 0",
"lazy[node]",
"lazy",
"node",
"0",
"int node",
"node",
"int b",
"b",
"int mid",
"mid",
"int e",
"e",
"int query(int i, int j) {\n\t\t\treturn query(1, 1, N, i, j);\n\t\t}",
"query",
"{\n\t\t\treturn query(1, 1, N, i, j);\n\t\t}",
"return query(1, 1, N, i, j);",
"query(1, 1, N, i, j)",
"query",
"1",
"1",
"N",
"i",
"j",
"int i",
"i",
"int j",
"j",
"int query(int node, int b, int e, int i, int j) // O(log n)\n\t\t{\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn 0;\n\t\t\tif (b >= i && e <= j)\n\t\t\t\treturn sTree[node];\n\t\t\tint mid = b + e >> 1;\n\t\t\tpropagate(node, b, mid, e);\n\t\t\tint q1 = query(node << 1, b, mid, i, j);\n\t\t\tint q2 = query(node << 1 | 1, mid + 1, e, i, j);\n\t\t\treturn q1 + q2;\n\n\t\t}",
"query",
"{\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn 0;\n\t\t\tif (b >= i && e <= j)\n\t\t\t\treturn sTree[node];\n\t\t\tint mid = b + e >> 1;\n\t\t\tpropagate(node, b, mid, e);\n\t\t\tint q1 = query(node << 1, b, mid, i, j);\n\t\t\tint q2 = query(node << 1 | 1, mid + 1, e, i, j);\n\t\t\treturn q1 + q2;\n\n\t\t}",
"if (i > e || j < b)\n\t\t\t\treturn 0;",
"i > e || j < b",
"i > e",
"i",
"e",
"j < b",
"j",
"b",
"return 0;",
"0",
"if (b >= i && e <= j)\n\t\t\t\treturn sTree[node];",
"b >= i && e <= j",
"b >= i",
"b",
"i",
"e <= j",
"e",
"j",
"return sTree[node];",
"sTree[node]",
"sTree",
"node",
"int mid = b + e >> 1;",
"mid",
"b + e >> 1",
"b + e",
"b",
"e",
"1",
"propagate(node, b, mid, e)",
"propagate",
"node",
"b",
"mid",
"e",
"int q1 = query(node << 1, b, mid, i, j);",
"q1",
"query(node << 1, b, mid, i, j)",
"query",
"node << 1",
"node",
"1",
"b",
"mid",
"i",
"j",
"int q2 = query(node << 1 | 1, mid + 1, e, i, j);",
"q2",
"query(node << 1 | 1, mid + 1, e, i, j)",
"query",
"node << 1 | 1",
"node << 1",
"node",
"1",
"1",
"mid + 1",
"mid",
"1",
"e",
"i",
"j",
"return q1 + q2;",
"q1 + q2",
"q1",
"q2",
"int node",
"node",
"int b",
"b",
"int e",
"e",
"int i",
"i",
"int j",
"j",
"static class pair implements Comparable<pair> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn x - o.x;\n\t\t}\n\n\t}",
"pair",
"int x;",
"x",
"int y;",
"y",
"public pair(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}",
"pair",
"{\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}",
"x = d",
"x",
"d",
"y = u",
"y",
"u",
"int d",
"d",
"int u",
"u",
"@Override\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn x - o.x;\n\t\t}",
"compareTo",
"{\n\t\t\treturn x - o.x;\n\t\t}",
"return x - o.x;",
"x - o.x",
"x",
"o.x",
"o",
"o.x",
"pair o",
"o",
"Comparable",
"static class pair2 implements Comparable<pair2> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair2(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair2 o) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\tint x1 = y - x;\n\t\t\tint x2 = o.y - o.x;\n\t\t\treturn x1 - x2;\n\t\t}\n\n\t}",
"pair2",
"int x;",
"x",
"int y;",
"y",
"public pair2(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}",
"pair2",
"{\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}",
"x = d",
"x",
"d",
"y = u",
"y",
"u",
"int d",
"d",
"int u",
"u",
"@Override\n\t\tpublic int compareTo(pair2 o) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\tint x1 = y - x;\n\t\t\tint x2 = o.y - o.x;\n\t\t\treturn x1 - x2;\n\t\t}",
"compareTo",
"{\n\t\t\t// TODO Auto-generated method stub\n\t\t\tint x1 = y - x;\n\t\t\tint x2 = o.y - o.x;\n\t\t\treturn x1 - x2;\n\t\t}",
"int x1 = y - x;",
"x1",
"y - x",
"y",
"x",
"int x2 = o.y - o.x;",
"x2",
"o.y - o.x",
"o.y",
"o",
"o.y",
"o.x",
"o",
"o.x",
"return x1 - x2;",
"x1 - x2",
"x1",
"x2",
"pair2 o",
"o",
"Comparable",
"public class Main {\n\tstatic int[] a;\n\tstatic long[] memo;\n\tstatic long[] cum;\n\n//\tstatic long dp(int idx) {\n//\t\tif (idx == a.length)\n//\t\t\treturn 0;\n//\t\tif (memo[idx] != -1)\n//\t\t\treturn memo[idx];\n//\t\tlong ans = Long.MAX_VALUE / 2;\n//\t\tif (idx != a.length - 1) {\n//\t\t\tans = Math.min(a[idx] + a[idx + 1] + cum[idx + 2] + dp(idx + 2), cum[idx + 1] + dp(idx + 1));\n//\t\t} else {\n//\t\t\tans = cum[idx + 1] + dp(idx + 1);\n//\t\t}\n//\t\treturn memo[idx] = ans;\n//\t}\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint d = Integer.parseInt(st.nextToken());\n\t\tint t = Integer.parseInt(st.nextToken());\n\t\tint s = Integer.parseInt(st.nextToken());\n\t\tdouble ans=d*1.0/s;\n\t\tif(ans<=t)\n\t\t\tpw.println(\"Yes\");\n\t\telse\n\t\t\tpw.println(\"No\");\n\n\t\tpw.flush();\n\t}\n\n\t/*\n\t * 4 6 2 3 4 4 5 7 5 5 15 40 30 10 10 3 1 5 4 8 2 6 1 1 2 9 3 2 1 6 5 2 6 4 3\n\t * \n\t */\n\tstatic class SegmentTree { // 1-based DS, OOP\n\n\t\tint N; // the number of elements in the array as a power of 2 (i.e. after padding)\n\t\tint[] array, sTree, lazy;\n\n\t\tSegmentTree(int[] in) {\n\t\t\tarray = in;\n\t\t\tN = in.length - 1;\n\t\t\tsTree = new int[N << 1]; // no. of nodes = 2*N - 1, we add one to cross out index zero\n\t\t\tlazy = new int[N << 1];\n\t\t\tbuild(1, 1, N);\n\t\t}\n\n\t\tvoid build(int node, int b, int e) // O(n)\n\t\t{\n\t\t\tif (b == e)\n\t\t\t\tsTree[node] = array[b];\n\t\t\telse {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tbuild(node << 1, b, mid);\n\t\t\t\tbuild(node << 1 | 1, mid + 1, e);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\t\t}\n\n\t\tvoid update_point(int index, int val) // O(log n)\n\t\t{\n\t\t\tindex += N - 1;\n\t\t\tsTree[index] += val;\n\t\t\twhile (index > 1) {\n\t\t\t\tindex >>= 1;\n\t\t\t\tsTree[index] = sTree[index << 1] + sTree[index << 1 | 1];\n\t\t\t}\n\t\t}\n\n\t\tvoid update_range(int i, int j, int val) // O(log n)\n\t\t{\n\t\t\tupdate_range(1, 1, N, i, j, val);\n\t\t}\n\n\t\tvoid update_range(int node, int b, int e, int i, int j, int val) {\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn;\n\t\t\tif (b >= i && e <= j) {\n\t\t\t\tsTree[node] += (e - b + 1) * val;\n\t\t\t\tlazy[node] += val;\n\t\t\t} else {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tpropagate(node, b, mid, e);\n\t\t\t\tupdate_range(node << 1, b, mid, i, j, val);\n\t\t\t\tupdate_range(node << 1 | 1, mid + 1, e, i, j, val);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\n\t\t}\n\n\t\tvoid propagate(int node, int b, int mid, int e) {\n\t\t\tlazy[node << 1] += lazy[node];\n\t\t\tlazy[node << 1 | 1] += lazy[node];\n\t\t\tsTree[node << 1] += (mid - b + 1) * lazy[node];\n\t\t\tsTree[node << 1 | 1] += (e - mid) * lazy[node];\n\t\t\tlazy[node] = 0;\n\t\t}\n\n\t\tint query(int i, int j) {\n\t\t\treturn query(1, 1, N, i, j);\n\t\t}\n\n\t\tint query(int node, int b, int e, int i, int j) // O(log n)\n\t\t{\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn 0;\n\t\t\tif (b >= i && e <= j)\n\t\t\t\treturn sTree[node];\n\t\t\tint mid = b + e >> 1;\n\t\t\tpropagate(node, b, mid, e);\n\t\t\tint q1 = query(node << 1, b, mid, i, j);\n\t\t\tint q2 = query(node << 1 | 1, mid + 1, e, i, j);\n\t\t\treturn q1 + q2;\n\n\t\t}\n\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}\n\n\tstatic int countD(int x) {\n\t\tint c = 0;\n\t\twhile (x != 0) {\n\t\t\tc += x % 10;\n\t\t\tx /= 10;\n\t\t}\n\t\treturn c;\n\t}\n\n\tstatic ArrayList<Integer> intersect(ArrayList<Integer> a, ArrayList<Integer> b) {\n\t\tArrayList<Integer> res = new ArrayList<>();\n\t\tif (b.size() != 0) {\n\t\t\tHashSet<Integer> hm = new HashSet<>();\n\t\t\tfor (int x : a)\n\t\t\t\thm.add(x);\n\t\t\tfor (int x : b)\n\t\t\t\tif (hm.contains(x))\n\t\t\t\t\tres.add(x);\n\t\t}\n\t\treturn res;\n\t}\n\n\tstatic class pair implements Comparable<pair> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn x - o.x;\n\t\t}\n\n\t}\n\n\tstatic class pair2 implements Comparable<pair2> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair2(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair2 o) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\tint x1 = y - x;\n\t\t\tint x2 = o.y - o.x;\n\t\t\treturn x1 - x2;\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\tstatic int[] a;\n\tstatic long[] memo;\n\tstatic long[] cum;\n\n//\tstatic long dp(int idx) {\n//\t\tif (idx == a.length)\n//\t\t\treturn 0;\n//\t\tif (memo[idx] != -1)\n//\t\t\treturn memo[idx];\n//\t\tlong ans = Long.MAX_VALUE / 2;\n//\t\tif (idx != a.length - 1) {\n//\t\t\tans = Math.min(a[idx] + a[idx + 1] + cum[idx + 2] + dp(idx + 2), cum[idx + 1] + dp(idx + 1));\n//\t\t} else {\n//\t\t\tans = cum[idx + 1] + dp(idx + 1);\n//\t\t}\n//\t\treturn memo[idx] = ans;\n//\t}\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tint d = Integer.parseInt(st.nextToken());\n\t\tint t = Integer.parseInt(st.nextToken());\n\t\tint s = Integer.parseInt(st.nextToken());\n\t\tdouble ans=d*1.0/s;\n\t\tif(ans<=t)\n\t\t\tpw.println(\"Yes\");\n\t\telse\n\t\t\tpw.println(\"No\");\n\n\t\tpw.flush();\n\t}\n\n\t/*\n\t * 4 6 2 3 4 4 5 7 5 5 15 40 30 10 10 3 1 5 4 8 2 6 1 1 2 9 3 2 1 6 5 2 6 4 3\n\t * \n\t */\n\tstatic class SegmentTree { // 1-based DS, OOP\n\n\t\tint N; // the number of elements in the array as a power of 2 (i.e. after padding)\n\t\tint[] array, sTree, lazy;\n\n\t\tSegmentTree(int[] in) {\n\t\t\tarray = in;\n\t\t\tN = in.length - 1;\n\t\t\tsTree = new int[N << 1]; // no. of nodes = 2*N - 1, we add one to cross out index zero\n\t\t\tlazy = new int[N << 1];\n\t\t\tbuild(1, 1, N);\n\t\t}\n\n\t\tvoid build(int node, int b, int e) // O(n)\n\t\t{\n\t\t\tif (b == e)\n\t\t\t\tsTree[node] = array[b];\n\t\t\telse {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tbuild(node << 1, b, mid);\n\t\t\t\tbuild(node << 1 | 1, mid + 1, e);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\t\t}\n\n\t\tvoid update_point(int index, int val) // O(log n)\n\t\t{\n\t\t\tindex += N - 1;\n\t\t\tsTree[index] += val;\n\t\t\twhile (index > 1) {\n\t\t\t\tindex >>= 1;\n\t\t\t\tsTree[index] = sTree[index << 1] + sTree[index << 1 | 1];\n\t\t\t}\n\t\t}\n\n\t\tvoid update_range(int i, int j, int val) // O(log n)\n\t\t{\n\t\t\tupdate_range(1, 1, N, i, j, val);\n\t\t}\n\n\t\tvoid update_range(int node, int b, int e, int i, int j, int val) {\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn;\n\t\t\tif (b >= i && e <= j) {\n\t\t\t\tsTree[node] += (e - b + 1) * val;\n\t\t\t\tlazy[node] += val;\n\t\t\t} else {\n\t\t\t\tint mid = b + e >> 1;\n\t\t\t\tpropagate(node, b, mid, e);\n\t\t\t\tupdate_range(node << 1, b, mid, i, j, val);\n\t\t\t\tupdate_range(node << 1 | 1, mid + 1, e, i, j, val);\n\t\t\t\tsTree[node] = sTree[node << 1] + sTree[node << 1 | 1];\n\t\t\t}\n\n\t\t}\n\n\t\tvoid propagate(int node, int b, int mid, int e) {\n\t\t\tlazy[node << 1] += lazy[node];\n\t\t\tlazy[node << 1 | 1] += lazy[node];\n\t\t\tsTree[node << 1] += (mid - b + 1) * lazy[node];\n\t\t\tsTree[node << 1 | 1] += (e - mid) * lazy[node];\n\t\t\tlazy[node] = 0;\n\t\t}\n\n\t\tint query(int i, int j) {\n\t\t\treturn query(1, 1, N, i, j);\n\t\t}\n\n\t\tint query(int node, int b, int e, int i, int j) // O(log n)\n\t\t{\n\t\t\tif (i > e || j < b)\n\t\t\t\treturn 0;\n\t\t\tif (b >= i && e <= j)\n\t\t\t\treturn sTree[node];\n\t\t\tint mid = b + e >> 1;\n\t\t\tpropagate(node, b, mid, e);\n\t\t\tint q1 = query(node << 1, b, mid, i, j);\n\t\t\tint q2 = query(node << 1 | 1, mid + 1, e, i, j);\n\t\t\treturn q1 + q2;\n\n\t\t}\n\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}\n\n\tstatic int countD(int x) {\n\t\tint c = 0;\n\t\twhile (x != 0) {\n\t\t\tc += x % 10;\n\t\t\tx /= 10;\n\t\t}\n\t\treturn c;\n\t}\n\n\tstatic ArrayList<Integer> intersect(ArrayList<Integer> a, ArrayList<Integer> b) {\n\t\tArrayList<Integer> res = new ArrayList<>();\n\t\tif (b.size() != 0) {\n\t\t\tHashSet<Integer> hm = new HashSet<>();\n\t\t\tfor (int x : a)\n\t\t\t\thm.add(x);\n\t\t\tfor (int x : b)\n\t\t\t\tif (hm.contains(x))\n\t\t\t\t\tres.add(x);\n\t\t}\n\t\treturn res;\n\t}\n\n\tstatic class pair implements Comparable<pair> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair o) {\n\t\t\treturn x - o.x;\n\t\t}\n\n\t}\n\n\tstatic class pair2 implements Comparable<pair2> {\n\t\tint x;\n\t\tint y;\n\n\t\tpublic pair2(int d, int u) {\n\t\t\tx = d;\n\t\t\ty = u;\n\t\t}\n\n\t\t@Override\n\t\tpublic int compareTo(pair2 o) {\n\t\t\t// TODO Auto-generated method stub\n\t\t\tint x1 = y - x;\n\t\t\tint x2 = o.y - o.x;\n\t\t\treturn x1 - x2;\n\t\t}\n\n\t}\n\n}",
"Main"
]
| import java.util.*;
import java.util.Map.Entry;
import java.io.*;
public class Main {
static int[] a;
static long[] memo;
static long[] cum;
// static long dp(int idx) {
// if (idx == a.length)
// return 0;
// if (memo[idx] != -1)
// return memo[idx];
// long ans = Long.MAX_VALUE / 2;
// if (idx != a.length - 1) {
// ans = Math.min(a[idx] + a[idx + 1] + cum[idx + 2] + dp(idx + 2), cum[idx + 1] + dp(idx + 1));
// } else {
// ans = cum[idx + 1] + dp(idx + 1);
// }
// return memo[idx] = ans;
// }
public static void main(String[] args) throws NumberFormatException, IOException {
// TODO Auto-generated method stub
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
PrintWriter pw = new PrintWriter(System.out);
StringTokenizer st = new StringTokenizer(br.readLine());
int d = Integer.parseInt(st.nextToken());
int t = Integer.parseInt(st.nextToken());
int s = Integer.parseInt(st.nextToken());
double ans=d*1.0/s;
if(ans<=t)
pw.println("Yes");
else
pw.println("No");
pw.flush();
}
/*
* 4 6 2 3 4 4 5 7 5 5 15 40 30 10 10 3 1 5 4 8 2 6 1 1 2 9 3 2 1 6 5 2 6 4 3
*
*/
static class SegmentTree { // 1-based DS, OOP
int N; // the number of elements in the array as a power of 2 (i.e. after padding)
int[] array, sTree, lazy;
SegmentTree(int[] in) {
array = in;
N = in.length - 1;
sTree = new int[N << 1]; // no. of nodes = 2*N - 1, we add one to cross out index zero
lazy = new int[N << 1];
build(1, 1, N);
}
void build(int node, int b, int e) // O(n)
{
if (b == e)
sTree[node] = array[b];
else {
int mid = b + e >> 1;
build(node << 1, b, mid);
build(node << 1 | 1, mid + 1, e);
sTree[node] = sTree[node << 1] + sTree[node << 1 | 1];
}
}
void update_point(int index, int val) // O(log n)
{
index += N - 1;
sTree[index] += val;
while (index > 1) {
index >>= 1;
sTree[index] = sTree[index << 1] + sTree[index << 1 | 1];
}
}
void update_range(int i, int j, int val) // O(log n)
{
update_range(1, 1, N, i, j, val);
}
void update_range(int node, int b, int e, int i, int j, int val) {
if (i > e || j < b)
return;
if (b >= i && e <= j) {
sTree[node] += (e - b + 1) * val;
lazy[node] += val;
} else {
int mid = b + e >> 1;
propagate(node, b, mid, e);
update_range(node << 1, b, mid, i, j, val);
update_range(node << 1 | 1, mid + 1, e, i, j, val);
sTree[node] = sTree[node << 1] + sTree[node << 1 | 1];
}
}
void propagate(int node, int b, int mid, int e) {
lazy[node << 1] += lazy[node];
lazy[node << 1 | 1] += lazy[node];
sTree[node << 1] += (mid - b + 1) * lazy[node];
sTree[node << 1 | 1] += (e - mid) * lazy[node];
lazy[node] = 0;
}
int query(int i, int j) {
return query(1, 1, N, i, j);
}
int query(int node, int b, int e, int i, int j) // O(log n)
{
if (i > e || j < b)
return 0;
if (b >= i && e <= j)
return sTree[node];
int mid = b + e >> 1;
propagate(node, b, mid, e);
int q1 = query(node << 1, b, mid, i, j);
int q2 = query(node << 1 | 1, mid + 1, e, i, j);
return q1 + q2;
}
}
static long gcd(long a, long b) {
if (a == 0)
return b;
return gcd(b % a, a);
}
static int countD(int x) {
int c = 0;
while (x != 0) {
c += x % 10;
x /= 10;
}
return c;
}
static ArrayList<Integer> intersect(ArrayList<Integer> a, ArrayList<Integer> b) {
ArrayList<Integer> res = new ArrayList<>();
if (b.size() != 0) {
HashSet<Integer> hm = new HashSet<>();
for (int x : a)
hm.add(x);
for (int x : b)
if (hm.contains(x))
res.add(x);
}
return res;
}
static class pair implements Comparable<pair> {
int x;
int y;
public pair(int d, int u) {
x = d;
y = u;
}
@Override
public int compareTo(pair o) {
return x - o.x;
}
}
static class pair2 implements Comparable<pair2> {
int x;
int y;
public pair2(int d, int u) {
x = d;
y = u;
}
@Override
public int compareTo(pair2 o) {
// TODO Auto-generated method stub
int x1 = y - x;
int x2 = o.y - o.x;
return x1 - x2;
}
}
} |
[
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,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
13,
30,
4,
18,
18,
13,
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
],
[
192,
11
],
[
192,
12
],
[
12,
13
],
[
192,
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
],
[
192,
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
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
40,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
56,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
56,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
192,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
76,
80
],
[
80,
81
],
[
76,
82
],
[
82,
83
],
[
76,
84
],
[
84,
85
],
[
84,
86
],
[
76,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
89,
97
],
[
97,
98
],
[
97,
99
],
[
76,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
76,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
119,
120
],
[
76,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
127,
129
],
[
124,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
123,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
123,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
123,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
151,
154
],
[
151,
155
],
[
123,
156
],
[
156,
157
],
[
156,
158
],
[
123,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
76,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
76,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
180,
181
],
[
76,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
189,
190
],
[
0,
191
],
[
191,
192
],
[
191,
193
]
]
| [
"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 D = sc.nextInt();\n int T = sc.nextInt();\n int S = sc.nextInt();\n if ((double)D / S <= T) {\n \tSystem.out.println(\"Yes\");\n } else {\n \tSystem.out.println(\"No\");\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 D = sc.nextInt();\n int T = sc.nextInt();\n int S = sc.nextInt();\n if ((double)D / S <= T) {\n \tSystem.out.println(\"Yes\");\n } else {\n \tSystem.out.println(\"No\");\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 D = sc.nextInt();\n int T = sc.nextInt();\n int S = sc.nextInt();\n if ((double)D / S <= T) {\n \tSystem.out.println(\"Yes\");\n } else {\n \tSystem.out.println(\"No\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"solve",
"{\n try {\n int D = sc.nextInt();\n int T = sc.nextInt();\n int S = sc.nextInt();\n if ((double)D / S <= T) {\n \tSystem.out.println(\"Yes\");\n } else {\n \tSystem.out.println(\"No\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"try {\n int D = sc.nextInt();\n int T = sc.nextInt();\n int S = sc.nextInt();\n if ((double)D / S <= T) {\n \tSystem.out.println(\"Yes\");\n } else {\n \tSystem.out.println(\"No\");\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 D = sc.nextInt();\n int T = sc.nextInt();\n int S = sc.nextInt();\n if ((double)D / S <= T) {\n \tSystem.out.println(\"Yes\");\n } else {\n \tSystem.out.println(\"No\");\n }\n }",
"int D = sc.nextInt();",
"D",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int T = sc.nextInt();",
"T",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int S = sc.nextInt();",
"S",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if ((double)D / S <= T) {\n \tSystem.out.println(\"Yes\");\n } else {\n \tSystem.out.println(\"No\");\n }",
"(double)D / S <= T",
"(double)D / S",
"(double)D",
"S",
"T",
"{\n \tSystem.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n \tSystem.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"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 D = sc.nextInt();\n int T = sc.nextInt();\n int S = sc.nextInt();\n if ((double)D / S <= T) {\n \tSystem.out.println(\"Yes\");\n } else {\n \tSystem.out.println(\"No\");\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 D = sc.nextInt();\n int T = sc.nextInt();\n int S = sc.nextInt();\n if ((double)D / S <= T) {\n \tSystem.out.println(\"Yes\");\n } else {\n \tSystem.out.println(\"No\");\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 D = sc.nextInt();
int T = sc.nextInt();
int S = sc.nextInt();
if ((double)D / S <= T) {
System.out.println("Yes");
} else {
System.out.println("No");
}
} catch (Exception e) {
e.printStackTrace();
}
}
private class Scanner {
String[] s;
int i;
BufferedReader br;
String regex = " ";
public Scanner() {
s = new String[0];
i = 0;
br = new BufferedReader(new InputStreamReader(System.in));
}
@Override
protected void finalize() throws Throwable {
try {
super.finalize();
} finally {
destruction();
}
}
private void destruction() throws IOException {
if (br != null) br.close();
}
public String next() throws IOException {
if (i < s.length) return s[i++];
String st = br.readLine();
while (st == "") st = br.readLine();
s = st.split(regex, 0);
i = 0;
return s[i++];
}
public int nextInt() throws NumberFormatException, IOException {
return Integer.parseInt(next());
}
public Long nextLong() throws NumberFormatException, IOException {
return Long.parseLong(next());
}
public Double nextDouble() throws NumberFormatException, IOException {
return Double.parseDouble(next());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
13,
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
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
27,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
]
| [
"import java.util.*;\npublic class Main {\n public static void main(String args[]) {\n Scanner in=new Scanner(System.in);\n float d=in.nextFloat(),t=in.nextFloat(),s=in.nextFloat();\n if((d/s)<=t)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String args[]) {\n Scanner in=new Scanner(System.in);\n float d=in.nextFloat(),t=in.nextFloat(),s=in.nextFloat();\n if((d/s)<=t)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner in=new Scanner(System.in);\n float d=in.nextFloat(),t=in.nextFloat(),s=in.nextFloat();\n if((d/s)<=t)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }",
"main",
"{\n Scanner in=new Scanner(System.in);\n float d=in.nextFloat(),t=in.nextFloat(),s=in.nextFloat();\n if((d/s)<=t)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }",
"Scanner in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"float d=in.nextFloat()",
"d",
"in.nextFloat()",
"in.nextFloat",
"in",
"t=in.nextFloat()",
"t",
"in.nextFloat()",
"in.nextFloat",
"in",
"s=in.nextFloat();",
"s",
"in.nextFloat()",
"in.nextFloat",
"in",
"if((d/s)<=t)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");",
"(d/s)<=t",
"(d/s)",
"d",
"s",
"t",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]) {\n Scanner in=new Scanner(System.in);\n float d=in.nextFloat(),t=in.nextFloat(),s=in.nextFloat();\n if((d/s)<=t)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}",
"public class Main {\n public static void main(String args[]) {\n Scanner in=new Scanner(System.in);\n float d=in.nextFloat(),t=in.nextFloat(),s=in.nextFloat();\n if((d/s)<=t)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner in=new Scanner(System.in);
float d=in.nextFloat(),t=in.nextFloat(),s=in.nextFloat();
if((d/s)<=t)
System.out.println("Yes");
else
System.out.println("No");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
2,
13,
13,
13,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
32,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n float d = sc.nextFloat();\n float t = sc.nextFloat();\n float s = sc.nextFloat();\n System.out.println(d / s <= t ? \"Yes\" : \"No\");\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n float d = sc.nextFloat();\n float t = sc.nextFloat();\n float s = sc.nextFloat();\n System.out.println(d / s <= t ? \"Yes\" : \"No\");\n\t}\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n float d = sc.nextFloat();\n float t = sc.nextFloat();\n float s = sc.nextFloat();\n System.out.println(d / s <= t ? \"Yes\" : \"No\");\n\t}",
"main",
"{\n Scanner sc = new Scanner(System.in);\n float d = sc.nextFloat();\n float t = sc.nextFloat();\n float s = sc.nextFloat();\n System.out.println(d / s <= t ? \"Yes\" : \"No\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"float d = sc.nextFloat();",
"d",
"sc.nextFloat()",
"sc.nextFloat",
"sc",
"float t = sc.nextFloat();",
"t",
"sc.nextFloat()",
"sc.nextFloat",
"sc",
"float s = sc.nextFloat();",
"s",
"sc.nextFloat()",
"sc.nextFloat",
"sc",
"System.out.println(d / s <= t ? \"Yes\" : \"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"d / s <= t ? \"Yes\" : \"No\"",
"d / s <= t",
"d / s",
"d",
"s",
"t",
"\"Yes\"",
"\"No\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n float d = sc.nextFloat();\n float t = sc.nextFloat();\n float s = sc.nextFloat();\n System.out.println(d / s <= t ? \"Yes\" : \"No\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n float d = sc.nextFloat();\n float t = sc.nextFloat();\n float s = sc.nextFloat();\n System.out.println(d / s <= t ? \"Yes\" : \"No\");\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
float d = sc.nextFloat();
float t = sc.nextFloat();
float s = sc.nextFloat();
System.out.println(d / s <= t ? "Yes" : "No");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
12,
13,
30,
14,
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,
41,
13,
4,
13,
41,
13,
4,
13,
41,
13,
4,
13,
14,
2,
2,
13,
13,
13,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
96,
11
],
[
96,
12
],
[
12,
13
],
[
12,
14
],
[
96,
15
],
[
15,
16
],
[
15,
17
],
[
96,
18
],
[
18,
19
],
[
18,
20
],
[
96,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
96,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
96,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
96,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
57,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
57,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
70,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
57,
84
],
[
84,
85
],
[
85,
86
],
[
96,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
87,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\npublic class Main\n{\n\tPrintWriter out = new PrintWriter(System.out);\n\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer tok = new StringTokenizer(\"\");\n String next() throws IOException {\n if (!tok.hasMoreTokens()) { tok = new StringTokenizer(in.readLine()); }\n return tok.nextToken();\n }\n int ni() throws IOException { return Integer.parseInt(next()); }\n long nl() throws IOException { return Long.parseLong(next()); }\n \n void solve() throws IOException {\n int d=ni(),t=ni(),s=ni();\n if (t*s>=d) out.println(\"Yes\");\n else out.println(\"No\");\n out.flush();\n }\n \n public static void main(String[] args) throws IOException {\n new Main().solve();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n\tPrintWriter out = new PrintWriter(System.out);\n\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer tok = new StringTokenizer(\"\");\n String next() throws IOException {\n if (!tok.hasMoreTokens()) { tok = new StringTokenizer(in.readLine()); }\n return tok.nextToken();\n }\n int ni() throws IOException { return Integer.parseInt(next()); }\n long nl() throws IOException { return Long.parseLong(next()); }\n \n void solve() throws IOException {\n int d=ni(),t=ni(),s=ni();\n if (t*s>=d) out.println(\"Yes\");\n else out.println(\"No\");\n out.flush();\n }\n \n public static void main(String[] args) throws IOException {\n new Main().solve();\n }\n}",
"Main",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer tok = new StringTokenizer(\"\");",
"tok",
"new StringTokenizer(\"\")",
"String next() throws IOException {\n if (!tok.hasMoreTokens()) { tok = new StringTokenizer(in.readLine()); }\n return tok.nextToken();\n }",
"next",
"{\n if (!tok.hasMoreTokens()) { tok = new StringTokenizer(in.readLine()); }\n return tok.nextToken();\n }",
"if (!tok.hasMoreTokens()) { tok = new StringTokenizer(in.readLine()); }",
"!tok.hasMoreTokens()",
"tok.hasMoreTokens()",
"tok.hasMoreTokens",
"tok",
"{ tok = new StringTokenizer(in.readLine()); }",
"tok = new StringTokenizer(in.readLine())",
"tok",
"new StringTokenizer(in.readLine())",
"return tok.nextToken();",
"tok.nextToken()",
"tok.nextToken",
"tok",
"int ni() throws IOException { return Integer.parseInt(next()); }",
"ni",
"{ return Integer.parseInt(next()); }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nl() throws IOException { return Long.parseLong(next()); }",
"nl",
"{ return Long.parseLong(next()); }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"void solve() throws IOException {\n int d=ni(),t=ni(),s=ni();\n if (t*s>=d) out.println(\"Yes\");\n else out.println(\"No\");\n out.flush();\n }",
"solve",
"{\n int d=ni(),t=ni(),s=ni();\n if (t*s>=d) out.println(\"Yes\");\n else out.println(\"No\");\n out.flush();\n }",
"int d=ni()",
"d",
"ni()",
"ni",
"t=ni()",
"t",
"ni()",
"ni",
"s=ni();",
"s",
"ni()",
"ni",
"if (t*s>=d) out.println(\"Yes\");\n else out.println(\"No\");",
"t*s>=d",
"t*s",
"t",
"s",
"d",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"out.flush()",
"out.flush",
"out",
"public static void main(String[] args) throws IOException {\n new Main().solve();\n }",
"main",
"{\n new Main().solve();\n }",
"new Main().solve()",
"new Main().solve",
"new Main()",
"String[] args",
"args",
"public class Main\n{\n\tPrintWriter out = new PrintWriter(System.out);\n\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer tok = new StringTokenizer(\"\");\n String next() throws IOException {\n if (!tok.hasMoreTokens()) { tok = new StringTokenizer(in.readLine()); }\n return tok.nextToken();\n }\n int ni() throws IOException { return Integer.parseInt(next()); }\n long nl() throws IOException { return Long.parseLong(next()); }\n \n void solve() throws IOException {\n int d=ni(),t=ni(),s=ni();\n if (t*s>=d) out.println(\"Yes\");\n else out.println(\"No\");\n out.flush();\n }\n \n public static void main(String[] args) throws IOException {\n new Main().solve();\n }\n}",
"public class Main\n{\n\tPrintWriter out = new PrintWriter(System.out);\n\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer tok = new StringTokenizer(\"\");\n String next() throws IOException {\n if (!tok.hasMoreTokens()) { tok = new StringTokenizer(in.readLine()); }\n return tok.nextToken();\n }\n int ni() throws IOException { return Integer.parseInt(next()); }\n long nl() throws IOException { return Long.parseLong(next()); }\n \n void solve() throws IOException {\n int d=ni(),t=ni(),s=ni();\n if (t*s>=d) out.println(\"Yes\");\n else out.println(\"No\");\n out.flush();\n }\n \n public static void main(String[] args) throws IOException {\n new Main().solve();\n }\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
public class Main
{
PrintWriter out = new PrintWriter(System.out);
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer tok = new StringTokenizer("");
String next() throws IOException {
if (!tok.hasMoreTokens()) { tok = new StringTokenizer(in.readLine()); }
return tok.nextToken();
}
int ni() throws IOException { return Integer.parseInt(next()); }
long nl() throws IOException { return Long.parseLong(next()); }
void solve() throws IOException {
int d=ni(),t=ni(),s=ni();
if (t*s>=d) out.println("Yes");
else out.println("No");
out.flush();
}
public static void main(String[] args) throws IOException {
new Main().solve();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
13,
2,
13,
13,
17,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
32,
39
],
[
6,
40
],
[
40,
41
]
]
| [
"import java.util.*;\nclass Main{\npublic static void main(String[]args){\nScanner sc=new Scanner(System.in);\nint d=sc.nextInt();int f=sc.nextInt();int t=sc.nextInt();System.out.println(d<=f*t?\"Yes\":\"No\");\n}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\npublic static void main(String[]args){\nScanner sc=new Scanner(System.in);\nint d=sc.nextInt();int f=sc.nextInt();int t=sc.nextInt();System.out.println(d<=f*t?\"Yes\":\"No\");\n}\n}",
"Main",
"public static void main(String[]args){\nScanner sc=new Scanner(System.in);\nint d=sc.nextInt();int f=sc.nextInt();int t=sc.nextInt();System.out.println(d<=f*t?\"Yes\":\"No\");\n}",
"main",
"{\nScanner sc=new Scanner(System.in);\nint d=sc.nextInt();int f=sc.nextInt();int t=sc.nextInt();System.out.println(d<=f*t?\"Yes\":\"No\");\n}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int d=sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int f=sc.nextInt();",
"f",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t=sc.nextInt();",
"t",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(d<=f*t?\"Yes\":\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"d<=f*t?\"Yes\":\"No\"",
"d<=f*t",
"d",
"f*t",
"f",
"t",
"\"Yes\"",
"\"No\"",
"String[]args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[]args){
Scanner sc=new Scanner(System.in);
int d=sc.nextInt();int f=sc.nextInt();int t=sc.nextInt();System.out.println(d<=f*t?"Yes":"No");
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
13,
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
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
6,
11
],
[
11,
12
],
[
55,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
15,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
15,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
34,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args) {\n Logic();\n \n }\n\n /**ロジック */\n public static void Logic(){\n\n // 標準入力\n Scanner sc = new Scanner(System.in);\n Double D = sc.nextDouble();\n Double T = sc.nextDouble();\n Double S = sc.nextDouble();\n \n // 処理\n // 出力\n if (D/S <= T){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args) {\n Logic();\n \n }\n\n /**ロジック */\n public static void Logic(){\n\n // 標準入力\n Scanner sc = new Scanner(System.in);\n Double D = sc.nextDouble();\n Double T = sc.nextDouble();\n Double S = sc.nextDouble();\n \n // 処理\n // 出力\n if (D/S <= T){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Logic();\n \n }",
"main",
"{\n Logic();\n \n }",
"Logic()",
"Logic",
"String[] args",
"args",
"/**ロジック */\n public static void Logic(){\n\n // 標準入力\n Scanner sc = new Scanner(System.in);\n Double D = sc.nextDouble();\n Double T = sc.nextDouble();\n Double S = sc.nextDouble();\n \n // 処理\n // 出力\n if (D/S <= T){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }",
"Logic",
"{\n\n // 標準入力\n Scanner sc = new Scanner(System.in);\n Double D = sc.nextDouble();\n Double T = sc.nextDouble();\n Double S = sc.nextDouble();\n \n // 処理\n // 出力\n if (D/S <= T){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Double D = sc.nextDouble();",
"D",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"Double T = sc.nextDouble();",
"T",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"Double S = sc.nextDouble();",
"S",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"if (D/S <= T){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }",
"D/S <= T",
"D/S",
"D",
"S",
"T",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"public class Main{\n public static void main(String[] args) {\n Logic();\n \n }\n\n /**ロジック */\n public static void Logic(){\n\n // 標準入力\n Scanner sc = new Scanner(System.in);\n Double D = sc.nextDouble();\n Double T = sc.nextDouble();\n Double S = sc.nextDouble();\n \n // 処理\n // 出力\n if (D/S <= T){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n\n}",
"public class Main{\n public static void main(String[] args) {\n Logic();\n \n }\n\n /**ロジック */\n public static void Logic(){\n\n // 標準入力\n Scanner sc = new Scanner(System.in);\n Double D = sc.nextDouble();\n Double T = sc.nextDouble();\n Double S = sc.nextDouble();\n \n // 処理\n // 出力\n if (D/S <= T){\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Logic();
}
/**ロジック */
public static void Logic(){
// 標準入力
Scanner sc = new Scanner(System.in);
Double D = sc.nextDouble();
Double T = sc.nextDouble();
Double S = sc.nextDouble();
// 処理
// 出力
if (D/S <= T){
System.out.println("Yes");
} else {
System.out.println("No");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
40,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
13,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
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
],
[
153,
8
],
[
153,
9
],
[
9,
10
],
[
9,
11
],
[
153,
12
],
[
12,
13
],
[
12,
14
],
[
153,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
153,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
25,
27
],
[
21,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
21,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
21,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
21,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
43,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
21,
59
],
[
59,
60
],
[
60,
61
],
[
19,
62
],
[
62,
63
],
[
153,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
64,
68
],
[
68,
69
],
[
64,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
64,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
79,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
89,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
78,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
64,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
64,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
64,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
129,
130
],
[
64,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
137,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
133,
150
],
[
150,
151
],
[
0,
152
],
[
152,
153
],
[
152,
154
]
]
| [
"import java.io.*;\nimport java.util.*;\n \npublic class Main {\n static final long MOD = 1000000007L;\n static final int INF = 50000000;\n static final int NINF = -50000000;\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter pw = new PrintWriter(System.out);\n \n int D = sc.ni();\n int T = sc.ni();\n int S = sc.ni();\n if (T*S>=D) {\n \tpw.println(\"Yes\");\n } else {\n \tpw.println(\"No\");\n }\n pw.close();\n }\n \n static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int ni() {\n return Integer.parseInt(next());\n }\n \n long nl() {\n return Long.parseLong(next());\n }\n \n double nd() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static final long MOD = 1000000007L;\n static final int INF = 50000000;\n static final int NINF = -50000000;\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter pw = new PrintWriter(System.out);\n \n int D = sc.ni();\n int T = sc.ni();\n int S = sc.ni();\n if (T*S>=D) {\n \tpw.println(\"Yes\");\n } else {\n \tpw.println(\"No\");\n }\n pw.close();\n }\n \n static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int ni() {\n return Integer.parseInt(next());\n }\n \n long nl() {\n return Long.parseLong(next());\n }\n \n double nd() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main",
"static final long MOD = 1000000007L;",
"MOD",
"1000000007L",
"static final int INF = 50000000;",
"INF",
"50000000",
"static final int NINF = -50000000;",
"NINF",
"-50000000",
"50000000",
"public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter pw = new PrintWriter(System.out);\n \n int D = sc.ni();\n int T = sc.ni();\n int S = sc.ni();\n if (T*S>=D) {\n \tpw.println(\"Yes\");\n } else {\n \tpw.println(\"No\");\n }\n pw.close();\n }",
"main",
"{\n FastScanner sc = new FastScanner();\n PrintWriter pw = new PrintWriter(System.out);\n \n int D = sc.ni();\n int T = sc.ni();\n int S = sc.ni();\n if (T*S>=D) {\n \tpw.println(\"Yes\");\n } else {\n \tpw.println(\"No\");\n }\n pw.close();\n }",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"int D = sc.ni();",
"D",
"sc.ni()",
"sc.ni",
"sc",
"int T = sc.ni();",
"T",
"sc.ni()",
"sc.ni",
"sc",
"int S = sc.ni();",
"S",
"sc.ni()",
"sc.ni",
"sc",
"if (T*S>=D) {\n \tpw.println(\"Yes\");\n } else {\n \tpw.println(\"No\");\n }",
"T*S>=D",
"T*S",
"T",
"S",
"D",
"{\n \tpw.println(\"Yes\");\n }",
"pw.println(\"Yes\")",
"pw.println",
"pw",
"\"Yes\"",
"{\n \tpw.println(\"No\");\n }",
"pw.println(\"No\")",
"pw.println",
"pw",
"\"No\"",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int ni() {\n return Integer.parseInt(next());\n }\n \n long nl() {\n return Long.parseLong(next());\n }\n \n double nd() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"FastScanner",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int ni() {\n return Integer.parseInt(next());\n }",
"ni",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nl() {\n return Long.parseLong(next());\n }",
"nl",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nd() {\n return Double.parseDouble(next());\n }",
"nd",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n static final long MOD = 1000000007L;\n static final int INF = 50000000;\n static final int NINF = -50000000;\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter pw = new PrintWriter(System.out);\n \n int D = sc.ni();\n int T = sc.ni();\n int S = sc.ni();\n if (T*S>=D) {\n \tpw.println(\"Yes\");\n } else {\n \tpw.println(\"No\");\n }\n pw.close();\n }\n \n static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int ni() {\n return Integer.parseInt(next());\n }\n \n long nl() {\n return Long.parseLong(next());\n }\n \n double nd() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"public class Main {\n static final long MOD = 1000000007L;\n static final int INF = 50000000;\n static final int NINF = -50000000;\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter pw = new PrintWriter(System.out);\n \n int D = sc.ni();\n int T = sc.ni();\n int S = sc.ni();\n if (T*S>=D) {\n \tpw.println(\"Yes\");\n } else {\n \tpw.println(\"No\");\n }\n pw.close();\n }\n \n static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int ni() {\n return Integer.parseInt(next());\n }\n \n long nl() {\n return Long.parseLong(next());\n }\n \n double nd() {\n return Double.parseDouble(next());\n }\n \n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
static final long MOD = 1000000007L;
static final int INF = 50000000;
static final int NINF = -50000000;
public static void main(String[] args) {
FastScanner sc = new FastScanner();
PrintWriter pw = new PrintWriter(System.out);
int D = sc.ni();
int T = sc.ni();
int S = sc.ni();
if (T*S>=D) {
pw.println("Yes");
} else {
pw.println("No");
}
pw.close();
}
static class FastScanner {
BufferedReader br;
StringTokenizer st;
public FastScanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int ni() {
return Integer.parseInt(next());
}
long nl() {
return Long.parseLong(next());
}
double nd() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
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,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
13,
13,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
12,
13,
30,
4,
13,
20,
17,
23,
13,
12,
13,
30,
4,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
6,
13,
12,
13,
30,
4,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
23,
13,
12,
13,
30,
4,
18,
33,
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
],
[
246,
11
],
[
246,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
14,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
14,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
14,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
14,
66
],
[
66,
67
],
[
67,
68
],
[
12,
69
],
[
69,
70
],
[
246,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
80,
83
],
[
83,
84
],
[
83,
85
],
[
71,
86
],
[
86,
87
],
[
71,
88
],
[
88,
89
],
[
246,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
93,
103
],
[
103,
104
],
[
104,
105
],
[
93,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
110,
114
],
[
114,
115
],
[
114,
116
],
[
107,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
119,
121
],
[
107,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
126,
127
],
[
126,
128
],
[
107,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
90,
134
],
[
134,
135
],
[
0,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
136,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
143,
146
],
[
140,
147
],
[
147,
148
],
[
136,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
149,
155
],
[
155,
156
],
[
136,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
160,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
170,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
159,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
136,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
191,
192
],
[
136,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
197,
200
],
[
200,
201
],
[
136,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
206,
209
],
[
209,
210
],
[
136,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
213,
219
],
[
219,
220
],
[
211,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
221,
227
],
[
227,
228
],
[
211,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
229,
235
],
[
235,
236
],
[
211,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
211,
243
],
[
136,
244
],
[
0,
245
],
[
245,
246
],
[
245,
247
]
]
| [
" import java.io.*;\n import java.util.*;\n import java.util.LinkedList;\n\n public class Main {\n\n public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n InputReader.OutputWriter out = new InputReader.OutputWriter(outputStream);\n BufferedReader reader = new BufferedReader(new InputReader(System.in));\n\n double d = in.nextDouble();\n double t = in.nextDouble();\n double s = in.nextDouble();\n double time = d/s;\n if(time<=t) out.println(\"Yes\");\n else out.println(\"No\");\n out.flush();\n }\n private static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b,a%b);\n }\n private static void shuffle(int [] a) {\n for (int i = 0; i < a.length; i++) {\n int index = (int) (Math.random() * a.length);\n int temp = a[index];\n a[index] = a[i];\n a[i] = temp;\n }\n }\n }\n\n class InputReader extends BufferedReader {\n StringTokenizer tokenizer;\n\n public InputReader(InputStream inputStream) {\n super(new InputStreamReader(inputStream), 32768);\n }\n\n public InputReader(String filename) {\n super(new InputStreamReader(Thread.currentThread().getContextClassLoader().getResourceAsStream(filename)));\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return tokenizer.nextToken();\n }\n\n public Integer nextInt() {\n return Integer.valueOf(next());\n }\n public Long nextLong() {\n return Long.valueOf(next());\n }\n public Double nextDouble () {\n return Double.valueOf(next());\n }\n\n\n static class OutputWriter extends PrintWriter {\n public OutputWriter(OutputStream outputStream) {\n super(outputStream);\n }\n\n public OutputWriter(Writer writer) {\n super(writer);\n }\n\n public OutputWriter(String filename) throws FileNotFoundException {\n super(filename);\n }\n\n public void close() {\n super.close();\n }\n }\n }",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.util.LinkedList;",
"LinkedList",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n InputReader.OutputWriter out = new InputReader.OutputWriter(outputStream);\n BufferedReader reader = new BufferedReader(new InputReader(System.in));\n\n double d = in.nextDouble();\n double t = in.nextDouble();\n double s = in.nextDouble();\n double time = d/s;\n if(time<=t) out.println(\"Yes\");\n else out.println(\"No\");\n out.flush();\n }\n private static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b,a%b);\n }\n private static void shuffle(int [] a) {\n for (int i = 0; i < a.length; i++) {\n int index = (int) (Math.random() * a.length);\n int temp = a[index];\n a[index] = a[i];\n a[i] = temp;\n }\n }\n }",
"Main",
"public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n InputReader.OutputWriter out = new InputReader.OutputWriter(outputStream);\n BufferedReader reader = new BufferedReader(new InputReader(System.in));\n\n double d = in.nextDouble();\n double t = in.nextDouble();\n double s = in.nextDouble();\n double time = d/s;\n if(time<=t) out.println(\"Yes\");\n else out.println(\"No\");\n out.flush();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n InputReader.OutputWriter out = new InputReader.OutputWriter(outputStream);\n BufferedReader reader = new BufferedReader(new InputReader(System.in));\n\n double d = in.nextDouble();\n double t = in.nextDouble();\n double s = in.nextDouble();\n double time = d/s;\n if(time<=t) out.println(\"Yes\");\n else out.println(\"No\");\n out.flush();\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)",
"InputReader.OutputWriter out = new InputReader.OutputWriter(outputStream);",
"out",
"new InputReader.OutputWriter(outputStream)",
"BufferedReader reader = new BufferedReader(new InputReader(System.in));",
"reader",
"new BufferedReader(new InputReader(System.in))",
"double d = in.nextDouble();",
"d",
"in.nextDouble()",
"in.nextDouble",
"in",
"double t = in.nextDouble();",
"t",
"in.nextDouble()",
"in.nextDouble",
"in",
"double s = in.nextDouble();",
"s",
"in.nextDouble()",
"in.nextDouble",
"in",
"double time = d/s;",
"time",
"d/s",
"d",
"s",
"if(time<=t) out.println(\"Yes\");\n else out.println(\"No\");",
"time<=t",
"time",
"t",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"private static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b,a%b);\n }",
"gcd",
"{\n return b == 0 ? a : gcd(b,a%b);\n }",
"return b == 0 ? a : gcd(b,a%b);",
"b == 0 ? a : gcd(b,a%b)",
"b == 0",
"b",
"0",
"a",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"private static void shuffle(int [] a) {\n for (int i = 0; i < a.length; i++) {\n int index = (int) (Math.random() * a.length);\n int temp = a[index];\n a[index] = a[i];\n a[i] = temp;\n }\n }",
"shuffle",
"{\n for (int i = 0; i < a.length; i++) {\n int index = (int) (Math.random() * a.length);\n int temp = a[index];\n a[index] = a[i];\n a[i] = temp;\n }\n }",
"for (int i = 0; i < a.length; i++) {\n int index = (int) (Math.random() * a.length);\n int temp = a[index];\n a[index] = a[i];\n a[i] = temp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n int index = (int) (Math.random() * a.length);\n int temp = a[index];\n a[index] = a[i];\n a[i] = temp;\n }",
"{\n int index = (int) (Math.random() * a.length);\n int temp = a[index];\n a[index] = a[i];\n a[i] = temp;\n }",
"int index = (int) (Math.random() * a.length);",
"index",
"(int) (Math.random() * a.length)",
"Math.random()",
"Math.random",
"Math",
"a.length",
"a",
"a.length",
"int temp = a[index];",
"temp",
"a[index]",
"a",
"index",
"a[index] = a[i]",
"a[index]",
"a",
"index",
"a[i]",
"a",
"i",
"a[i] = temp",
"a[i]",
"a",
"i",
"temp",
"int [] a",
"a",
"class InputReader extends BufferedReader {\n StringTokenizer tokenizer;\n\n public InputReader(InputStream inputStream) {\n super(new InputStreamReader(inputStream), 32768);\n }\n\n public InputReader(String filename) {\n super(new InputStreamReader(Thread.currentThread().getContextClassLoader().getResourceAsStream(filename)));\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return tokenizer.nextToken();\n }\n\n public Integer nextInt() {\n return Integer.valueOf(next());\n }\n public Long nextLong() {\n return Long.valueOf(next());\n }\n public Double nextDouble () {\n return Double.valueOf(next());\n }\n\n\n static class OutputWriter extends PrintWriter {\n public OutputWriter(OutputStream outputStream) {\n super(outputStream);\n }\n\n public OutputWriter(Writer writer) {\n super(writer);\n }\n\n public OutputWriter(String filename) throws FileNotFoundException {\n super(filename);\n }\n\n public void close() {\n super.close();\n }\n }\n }",
"InputReader",
"StringTokenizer tokenizer;",
"tokenizer",
"public InputReader(InputStream inputStream) {\n super(new InputStreamReader(inputStream), 32768);\n }",
"InputReader",
"{\n super(new InputStreamReader(inputStream), 32768);\n }",
"super(new InputStreamReader(inputStream), 32768)",
"super",
"new InputStreamReader(inputStream)",
"32768",
"InputStream inputStream",
"inputStream",
"public InputReader(String filename) {\n super(new InputStreamReader(Thread.currentThread().getContextClassLoader().getResourceAsStream(filename)));\n }",
"InputReader",
"{\n super(new InputStreamReader(Thread.currentThread().getContextClassLoader().getResourceAsStream(filename)));\n }",
"super(new InputStreamReader(Thread.currentThread().getContextClassLoader().getResourceAsStream(filename)))",
"super",
"new InputStreamReader(Thread.currentThread().getContextClassLoader().getResourceAsStream(filename))",
"String filename",
"filename",
"public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }",
"try {\n tokenizer = new StringTokenizer(readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }",
"catch (IOException e) {\n throw new RuntimeException();\n }",
"IOException e",
"{\n throw new RuntimeException();\n }",
"throw new RuntimeException();",
"new RuntimeException()",
"{\n tokenizer = new StringTokenizer(readLine());\n }",
"tokenizer = new StringTokenizer(readLine())",
"tokenizer",
"new StringTokenizer(readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public Integer nextInt() {\n return Integer.valueOf(next());\n }",
"nextInt",
"{\n return Integer.valueOf(next());\n }",
"return Integer.valueOf(next());",
"Integer.valueOf(next())",
"Integer.valueOf",
"Integer",
"next()",
"next",
"public Long nextLong() {\n return Long.valueOf(next());\n }",
"nextLong",
"{\n return Long.valueOf(next());\n }",
"return Long.valueOf(next());",
"Long.valueOf(next())",
"Long.valueOf",
"Long",
"next()",
"next",
"public Double nextDouble () {\n return Double.valueOf(next());\n }",
"nextDouble",
"{\n return Double.valueOf(next());\n }",
"return Double.valueOf(next());",
"Double.valueOf(next())",
"Double.valueOf",
"Double",
"next()",
"next",
"static class OutputWriter extends PrintWriter {\n public OutputWriter(OutputStream outputStream) {\n super(outputStream);\n }\n\n public OutputWriter(Writer writer) {\n super(writer);\n }\n\n public OutputWriter(String filename) throws FileNotFoundException {\n super(filename);\n }\n\n public void close() {\n super.close();\n }\n }",
"OutputWriter",
"public OutputWriter(OutputStream outputStream) {\n super(outputStream);\n }",
"OutputWriter",
"{\n super(outputStream);\n }",
"super(outputStream)",
"super",
"outputStream",
"OutputStream outputStream",
"outputStream",
"public OutputWriter(Writer writer) {\n super(writer);\n }",
"OutputWriter",
"{\n super(writer);\n }",
"super(writer)",
"super",
"writer",
"Writer writer",
"writer",
"public OutputWriter(String filename) throws FileNotFoundException {\n super(filename);\n }",
"OutputWriter",
"{\n super(filename);\n }",
"super(filename)",
"super",
"filename",
"String filename",
"filename",
"public void close() {\n super.close();\n }",
"close",
"{\n super.close();\n }",
"super.close()",
"super.close",
"super",
"PrintWriter",
"BufferedReader",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n InputReader.OutputWriter out = new InputReader.OutputWriter(outputStream);\n BufferedReader reader = new BufferedReader(new InputReader(System.in));\n\n double d = in.nextDouble();\n double t = in.nextDouble();\n double s = in.nextDouble();\n double time = d/s;\n if(time<=t) out.println(\"Yes\");\n else out.println(\"No\");\n out.flush();\n }\n private static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b,a%b);\n }\n private static void shuffle(int [] a) {\n for (int i = 0; i < a.length; i++) {\n int index = (int) (Math.random() * a.length);\n int temp = a[index];\n a[index] = a[i];\n a[i] = temp;\n }\n }\n }",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n InputReader.OutputWriter out = new InputReader.OutputWriter(outputStream);\n BufferedReader reader = new BufferedReader(new InputReader(System.in));\n\n double d = in.nextDouble();\n double t = in.nextDouble();\n double s = in.nextDouble();\n double time = d/s;\n if(time<=t) out.println(\"Yes\");\n else out.println(\"No\");\n out.flush();\n }\n private static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b,a%b);\n }\n private static void shuffle(int [] a) {\n for (int i = 0; i < a.length; i++) {\n int index = (int) (Math.random() * a.length);\n int temp = a[index];\n a[index] = a[i];\n a[i] = temp;\n }\n }\n }",
"Main"
]
| import java.io.*;
import java.util.*;
import java.util.LinkedList;
public class Main {
public static void main(String[] args) throws IOException {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
InputReader.OutputWriter out = new InputReader.OutputWriter(outputStream);
BufferedReader reader = new BufferedReader(new InputReader(System.in));
double d = in.nextDouble();
double t = in.nextDouble();
double s = in.nextDouble();
double time = d/s;
if(time<=t) out.println("Yes");
else out.println("No");
out.flush();
}
private static int gcd(int a, int b) {
return b == 0 ? a : gcd(b,a%b);
}
private static void shuffle(int [] a) {
for (int i = 0; i < a.length; i++) {
int index = (int) (Math.random() * a.length);
int temp = a[index];
a[index] = a[i];
a[i] = temp;
}
}
}
class InputReader extends BufferedReader {
StringTokenizer tokenizer;
public InputReader(InputStream inputStream) {
super(new InputStreamReader(inputStream), 32768);
}
public InputReader(String filename) {
super(new InputStreamReader(Thread.currentThread().getContextClassLoader().getResourceAsStream(filename)));
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(readLine());
} catch (IOException e) {
throw new RuntimeException();
}
}
return tokenizer.nextToken();
}
public Integer nextInt() {
return Integer.valueOf(next());
}
public Long nextLong() {
return Long.valueOf(next());
}
public Double nextDouble () {
return Double.valueOf(next());
}
static class OutputWriter extends PrintWriter {
public OutputWriter(OutputStream outputStream) {
super(outputStream);
}
public OutputWriter(Writer writer) {
super(writer);
}
public OutputWriter(String filename) throws FileNotFoundException {
super(filename);
}
public void close() {
super.close();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
13,
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
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
27,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tdouble D = in.nextDouble();\n\t\tdouble T = in.nextDouble();\n\t\tdouble S = in.nextDouble();\n\t\t\n\t\tif(D / S > T) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tdouble D = in.nextDouble();\n\t\tdouble T = in.nextDouble();\n\t\tdouble S = in.nextDouble();\n\t\t\n\t\tif(D / S > T) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tdouble D = in.nextDouble();\n\t\tdouble T = in.nextDouble();\n\t\tdouble S = in.nextDouble();\n\t\t\n\t\tif(D / S > T) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tdouble D = in.nextDouble();\n\t\tdouble T = in.nextDouble();\n\t\tdouble S = in.nextDouble();\n\t\t\n\t\tif(D / S > T) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"double D = in.nextDouble();",
"D",
"in.nextDouble()",
"in.nextDouble",
"in",
"double T = in.nextDouble();",
"T",
"in.nextDouble()",
"in.nextDouble",
"in",
"double S = in.nextDouble();",
"S",
"in.nextDouble()",
"in.nextDouble",
"in",
"if(D / S > T) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"D / S > T",
"D / S",
"D",
"S",
"T",
"{\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tdouble D = in.nextDouble();\n\t\tdouble T = in.nextDouble();\n\t\tdouble S = in.nextDouble();\n\t\t\n\t\tif(D / S > T) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tdouble D = in.nextDouble();\n\t\tdouble T = in.nextDouble();\n\t\tdouble S = in.nextDouble();\n\t\t\n\t\tif(D / S > T) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
double D = in.nextDouble();
double T = in.nextDouble();
double S = in.nextDouble();
if(D / S > T) {
System.out.println("No");
}else {
System.out.println("Yes");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
18,
13,
13,
8,
2,
2,
13,
13,
13,
17,
17,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
38,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
13,
13,
13,
13,
41,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
120,
5
],
[
120,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
9,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
14,
20
],
[
14,
21
],
[
6,
22
],
[
22,
23
],
[
6,
24
],
[
24,
25
],
[
6,
26
],
[
26,
27
],
[
120,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
30,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
44,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
44,
60
],
[
60,
61
],
[
61,
62
],
[
44,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
63,
67
],
[
30,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
28,
73
],
[
73,
74
],
[
120,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
77,
84
],
[
84,
85
],
[
84,
86
],
[
87,
88
],
[
87,
89
],
[
77,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
90,
100
],
[
100,
101
],
[
101,
102
],
[
90,
103
],
[
104,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
112,
114
],
[
77,
115
],
[
115,
116
],
[
75,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void solve (int D, int T, int S) {\n\n\t\t System.out.println((S * T) >= D?\"Yes\":\"No\");\n\n\t}\n\n\tpublic static void main(String[] args) {\n\n\t\tlong start = System.currentTimeMillis();\n\t // 引数で標準入力System.inを指定する\n\t Scanner scanner = new Scanner(System.in);\n\t\ttry {\n\n\t\t // 1行目を取得(a)\n\t\t\tint D = scanner.nextInt();\n\t\t\tint T = scanner.nextInt();\n\t\t\tint S = scanner.nextInt();\n\t\t\tscanner.nextLine();\n\n\t\t\tsolve(D, T, S);\n\n\t\t} finally {\n\t\t // Scannerクラスのインスタンスをクローズ\n\t\t scanner.close();\n\t\t}\n\t\tlong end = System.currentTimeMillis();\n\t\t// System.out.println((end - start) );\n\t}\n\n\n\t// ************************************\n\t// Common\n\t// ************************************\n\n\tprivate static final int[] changeArrayStringToInt(String line) {\n\n\t\tString[] strArray = line.split(\" \");\n\n\t\tint[] intArray = new int[strArray.length];\n\n\t\tfor (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void solve (int D, int T, int S) {\n\n\t\t System.out.println((S * T) >= D?\"Yes\":\"No\");\n\n\t}\n\n\tpublic static void main(String[] args) {\n\n\t\tlong start = System.currentTimeMillis();\n\t // 引数で標準入力System.inを指定する\n\t Scanner scanner = new Scanner(System.in);\n\t\ttry {\n\n\t\t // 1行目を取得(a)\n\t\t\tint D = scanner.nextInt();\n\t\t\tint T = scanner.nextInt();\n\t\t\tint S = scanner.nextInt();\n\t\t\tscanner.nextLine();\n\n\t\t\tsolve(D, T, S);\n\n\t\t} finally {\n\t\t // Scannerクラスのインスタンスをクローズ\n\t\t scanner.close();\n\t\t}\n\t\tlong end = System.currentTimeMillis();\n\t\t// System.out.println((end - start) );\n\t}\n\n\n\t// ************************************\n\t// Common\n\t// ************************************\n\n\tprivate static final int[] changeArrayStringToInt(String line) {\n\n\t\tString[] strArray = line.split(\" \");\n\n\t\tint[] intArray = new int[strArray.length];\n\n\t\tfor (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n\n}",
"Main",
"public static void solve (int D, int T, int S) {\n\n\t\t System.out.println((S * T) >= D?\"Yes\":\"No\");\n\n\t}",
"solve",
"{\n\n\t\t System.out.println((S * T) >= D?\"Yes\":\"No\");\n\n\t}",
"System.out.println((S * T) >= D?\"Yes\":\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"(S * T) >= D?\"Yes\":\"No\"",
"(S * T) >= D",
"(S * T)",
"S",
"T",
"D",
"\"Yes\"",
"\"No\"",
"int D",
"D",
"int T",
"T",
"int S",
"S",
"public static void main(String[] args) {\n\n\t\tlong start = System.currentTimeMillis();\n\t // 引数で標準入力System.inを指定する\n\t Scanner scanner = new Scanner(System.in);\n\t\ttry {\n\n\t\t // 1行目を取得(a)\n\t\t\tint D = scanner.nextInt();\n\t\t\tint T = scanner.nextInt();\n\t\t\tint S = scanner.nextInt();\n\t\t\tscanner.nextLine();\n\n\t\t\tsolve(D, T, S);\n\n\t\t} finally {\n\t\t // Scannerクラスのインスタンスをクローズ\n\t\t scanner.close();\n\t\t}\n\t\tlong end = System.currentTimeMillis();\n\t\t// System.out.println((end - start) );\n\t}",
"main",
"{\n\n\t\tlong start = System.currentTimeMillis();\n\t // 引数で標準入力System.inを指定する\n\t Scanner scanner = new Scanner(System.in);\n\t\ttry {\n\n\t\t // 1行目を取得(a)\n\t\t\tint D = scanner.nextInt();\n\t\t\tint T = scanner.nextInt();\n\t\t\tint S = scanner.nextInt();\n\t\t\tscanner.nextLine();\n\n\t\t\tsolve(D, T, S);\n\n\t\t} finally {\n\t\t // Scannerクラスのインスタンスをクローズ\n\t\t scanner.close();\n\t\t}\n\t\tlong end = System.currentTimeMillis();\n\t\t// System.out.println((end - start) );\n\t}",
"long start = System.currentTimeMillis();",
"start",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"try {\n\n\t\t // 1行目を取得(a)\n\t\t\tint D = scanner.nextInt();\n\t\t\tint T = scanner.nextInt();\n\t\t\tint S = scanner.nextInt();\n\t\t\tscanner.nextLine();\n\n\t\t\tsolve(D, T, S);\n\n\t\t} finally {\n\t\t // Scannerクラスのインスタンスをクローズ\n\t\t scanner.close();\n\t\t}",
"{\n\t\t // Scannerクラスのインスタンスをクローズ\n\t\t scanner.close();\n\t\t}",
"scanner.close()",
"scanner.close",
"scanner",
"{\n\n\t\t // 1行目を取得(a)\n\t\t\tint D = scanner.nextInt();\n\t\t\tint T = scanner.nextInt();\n\t\t\tint S = scanner.nextInt();\n\t\t\tscanner.nextLine();\n\n\t\t\tsolve(D, T, S);\n\n\t\t}",
"int D = scanner.nextInt();",
"D",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int T = scanner.nextInt();",
"T",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int S = scanner.nextInt();",
"S",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"solve(D, T, S)",
"solve",
"D",
"T",
"S",
"long end = System.currentTimeMillis();",
"end",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"String[] args",
"args",
"private static final int[] changeArrayStringToInt(String line) {\n\n\t\tString[] strArray = line.split(\" \");\n\n\t\tint[] intArray = new int[strArray.length];\n\n\t\tfor (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}",
"changeArrayStringToInt",
"{\n\n\t\tString[] strArray = line.split(\" \");\n\n\t\tint[] intArray = new int[strArray.length];\n\n\t\tfor (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}",
"String[] strArray = line.split(\" \");",
"strArray",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int[] intArray = new int[strArray.length];",
"intArray",
"new int[strArray.length]",
"strArray.length",
"strArray",
"strArray.length",
"for (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < intArray.length",
"i",
"intArray.length",
"intArray",
"intArray.length",
"i++",
"i++",
"i",
"{\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"{\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}",
"intArray[i] = Integer.parseInt(strArray[i])",
"intArray[i]",
"intArray",
"i",
"Integer.parseInt(strArray[i])",
"Integer.parseInt",
"Integer",
"strArray[i]",
"strArray",
"i",
"return intArray;",
"intArray",
"String line",
"line",
"public class Main {\n\n\tpublic static void solve (int D, int T, int S) {\n\n\t\t System.out.println((S * T) >= D?\"Yes\":\"No\");\n\n\t}\n\n\tpublic static void main(String[] args) {\n\n\t\tlong start = System.currentTimeMillis();\n\t // 引数で標準入力System.inを指定する\n\t Scanner scanner = new Scanner(System.in);\n\t\ttry {\n\n\t\t // 1行目を取得(a)\n\t\t\tint D = scanner.nextInt();\n\t\t\tint T = scanner.nextInt();\n\t\t\tint S = scanner.nextInt();\n\t\t\tscanner.nextLine();\n\n\t\t\tsolve(D, T, S);\n\n\t\t} finally {\n\t\t // Scannerクラスのインスタンスをクローズ\n\t\t scanner.close();\n\t\t}\n\t\tlong end = System.currentTimeMillis();\n\t\t// System.out.println((end - start) );\n\t}\n\n\n\t// ************************************\n\t// Common\n\t// ************************************\n\n\tprivate static final int[] changeArrayStringToInt(String line) {\n\n\t\tString[] strArray = line.split(\" \");\n\n\t\tint[] intArray = new int[strArray.length];\n\n\t\tfor (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n\n}",
"public class Main {\n\n\tpublic static void solve (int D, int T, int S) {\n\n\t\t System.out.println((S * T) >= D?\"Yes\":\"No\");\n\n\t}\n\n\tpublic static void main(String[] args) {\n\n\t\tlong start = System.currentTimeMillis();\n\t // 引数で標準入力System.inを指定する\n\t Scanner scanner = new Scanner(System.in);\n\t\ttry {\n\n\t\t // 1行目を取得(a)\n\t\t\tint D = scanner.nextInt();\n\t\t\tint T = scanner.nextInt();\n\t\t\tint S = scanner.nextInt();\n\t\t\tscanner.nextLine();\n\n\t\t\tsolve(D, T, S);\n\n\t\t} finally {\n\t\t // Scannerクラスのインスタンスをクローズ\n\t\t scanner.close();\n\t\t}\n\t\tlong end = System.currentTimeMillis();\n\t\t// System.out.println((end - start) );\n\t}\n\n\n\t// ************************************\n\t// Common\n\t// ************************************\n\n\tprivate static final int[] changeArrayStringToInt(String line) {\n\n\t\tString[] strArray = line.split(\" \");\n\n\t\tint[] intArray = new int[strArray.length];\n\n\t\tfor (int i = 0; i < intArray.length; i++) {\n\t\t\tintArray[i] = Integer.parseInt(strArray[i]);\n\t\t}\n\t\treturn intArray;\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void solve (int D, int T, int S) {
System.out.println((S * T) >= D?"Yes":"No");
}
public static void main(String[] args) {
long start = System.currentTimeMillis();
// 引数で標準入力System.inを指定する
Scanner scanner = new Scanner(System.in);
try {
// 1行目を取得(a)
int D = scanner.nextInt();
int T = scanner.nextInt();
int S = scanner.nextInt();
scanner.nextLine();
solve(D, T, S);
} finally {
// Scannerクラスのインスタンスをクローズ
scanner.close();
}
long end = System.currentTimeMillis();
// System.out.println((end - start) );
}
// ************************************
// Common
// ************************************
private static final int[] changeArrayStringToInt(String line) {
String[] strArray = line.split(" ");
int[] intArray = new int[strArray.length];
for (int i = 0; i < intArray.length; i++) {
intArray[i] = Integer.parseInt(strArray[i]);
}
return intArray;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
2,
13,
13,
13,
17,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
61,
8
],
[
61,
9
],
[
9,
10
],
[
9,
11
],
[
61,
12
],
[
12,
13
],
[
12,
14
],
[
61,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
15,
27
],
[
27,
28
],
[
61,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
31,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
52,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main {\n\n\tstatic Scanner inp= new Scanner(System.in);\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}\n\n\t\n\t\n\t//Main\n\tvoid main() {\n\t\t\n\t\tdouble d=inp.nextDouble();\n\t\tdouble t=inp.nextDouble();\n\t\tdouble s=inp.nextDouble();\n\t\tSystem.out.println(d/s<=t?\"Yes\":\"No\");\n\t\t\n\t}\n \n \n\t\t\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tstatic Scanner inp= new Scanner(System.in);\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}\n\n\t\n\t\n\t//Main\n\tvoid main() {\n\t\t\n\t\tdouble d=inp.nextDouble();\n\t\tdouble t=inp.nextDouble();\n\t\tdouble s=inp.nextDouble();\n\t\tSystem.out.println(d/s<=t?\"Yes\":\"No\");\n\t\t\n\t}\n \n \n\t\t\n}",
"Main",
"static Scanner inp= new Scanner(System.in);",
"inp",
"new Scanner(System.in)",
"static PrintWriter out= new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}",
"main",
"{\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}",
"Main g=new Main();",
"g",
"new Main()",
"g.main()",
"g.main",
"g",
"out.close()",
"out.close",
"out",
"String args[]",
"args",
"//Main\n\tvoid main() {\n\t\t\n\t\tdouble d=inp.nextDouble();\n\t\tdouble t=inp.nextDouble();\n\t\tdouble s=inp.nextDouble();\n\t\tSystem.out.println(d/s<=t?\"Yes\":\"No\");\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tdouble d=inp.nextDouble();\n\t\tdouble t=inp.nextDouble();\n\t\tdouble s=inp.nextDouble();\n\t\tSystem.out.println(d/s<=t?\"Yes\":\"No\");\n\t\t\n\t}",
"double d=inp.nextDouble();",
"d",
"inp.nextDouble()",
"inp.nextDouble",
"inp",
"double t=inp.nextDouble();",
"t",
"inp.nextDouble()",
"inp.nextDouble",
"inp",
"double s=inp.nextDouble();",
"s",
"inp.nextDouble()",
"inp.nextDouble",
"inp",
"System.out.println(d/s<=t?\"Yes\":\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"d/s<=t?\"Yes\":\"No\"",
"d/s<=t",
"d/s",
"d",
"s",
"t",
"\"Yes\"",
"\"No\"",
"public class Main {\n\n\tstatic Scanner inp= new Scanner(System.in);\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}\n\n\t\n\t\n\t//Main\n\tvoid main() {\n\t\t\n\t\tdouble d=inp.nextDouble();\n\t\tdouble t=inp.nextDouble();\n\t\tdouble s=inp.nextDouble();\n\t\tSystem.out.println(d/s<=t?\"Yes\":\"No\");\n\t\t\n\t}\n \n \n\t\t\n}",
"public class Main {\n\n\tstatic Scanner inp= new Scanner(System.in);\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}\n\n\t\n\t\n\t//Main\n\tvoid main() {\n\t\t\n\t\tdouble d=inp.nextDouble();\n\t\tdouble t=inp.nextDouble();\n\t\tdouble s=inp.nextDouble();\n\t\tSystem.out.println(d/s<=t?\"Yes\":\"No\");\n\t\t\n\t}\n \n \n\t\t\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
static Scanner inp= new Scanner(System.in);
static PrintWriter out= new PrintWriter(System.out);
public static void main(String args[]) {
Main g=new Main();
g.main();
out.close();
}
//Main
void main() {
double d=inp.nextDouble();
double t=inp.nextDouble();
double s=inp.nextDouble();
System.out.println(d/s<=t?"Yes":"No");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
14,
2,
2,
13,
13,
17,
40,
13,
14,
2,
13,
13,
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
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint d = scn.nextInt();\n \tint t = scn.nextInt();\n \tint s = scn.nextInt();\n \t\n \tint time = d/s;\n \tif(d%s != 0) time++;\n \n \tif(time <= t) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint d = scn.nextInt();\n \tint t = scn.nextInt();\n \tint s = scn.nextInt();\n \t\n \tint time = d/s;\n \tif(d%s != 0) time++;\n \n \tif(time <= t) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint d = scn.nextInt();\n \tint t = scn.nextInt();\n \tint s = scn.nextInt();\n \t\n \tint time = d/s;\n \tif(d%s != 0) time++;\n \n \tif(time <= t) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\t}",
"main",
"{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint d = scn.nextInt();\n \tint t = scn.nextInt();\n \tint s = scn.nextInt();\n \t\n \tint time = d/s;\n \tif(d%s != 0) time++;\n \n \tif(time <= t) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\t}",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"int d = scn.nextInt();",
"d",
"scn.nextInt()",
"scn.nextInt",
"scn",
"int t = scn.nextInt();",
"t",
"scn.nextInt()",
"scn.nextInt",
"scn",
"int s = scn.nextInt();",
"s",
"scn.nextInt()",
"scn.nextInt",
"scn",
"int time = d/s;",
"time",
"d/s",
"d",
"s",
"if(d%s != 0) time++;",
"d%s != 0",
"d%s",
"d",
"s",
"0",
"time++",
"time",
"if(time <= t) System.out.println(\"Yes\");\n else System.out.println(\"No\");",
"time <= t",
"time",
"t",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint d = scn.nextInt();\n \tint t = scn.nextInt();\n \tint s = scn.nextInt();\n \t\n \tint time = d/s;\n \tif(d%s != 0) time++;\n \n \tif(time <= t) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint d = scn.nextInt();\n \tint t = scn.nextInt();\n \tint s = scn.nextInt();\n \t\n \tint time = d/s;\n \tif(d%s != 0) time++;\n \n \tif(time <= t) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception{
Scanner scn = new Scanner(System.in);
int d = scn.nextInt();
int t = scn.nextInt();
int s = scn.nextInt();
int time = d/s;
if(d%s != 0) time++;
if(time <= t) System.out.println("Yes");
else System.out.println("No");
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.