Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.

Please double check your code to solve this problem and try again.

Your Answer

35
421
-16
158
171
39
156
131
290
119
137
67
75
144
218
140
231
21
149
158
114
232
309
53
16
252
267
68
25
282
228
50
-12
429
146
157
-16
119
126
-10
159
116
101
136
338
157
47
92
34
105
307
240
63
61
312
124
131
428
15
65
114
93
-12
242
65
550
32
-15
229
138
267
-9
457
82
9
48
47
372
16
190
-13
91
96
136
61
132
96
214
250
233
344
139
212
117
194
167
55
757
-14
18
77
123
68
-10
69
180
113
13
452
323
20
115
297
-11
168
26
209
239
-6
43
123
-1
77

JOJ Answer

35
27
-16
153
128
-29
117
123
130
-11
80
12
-12
125
95
133
225
21
149
158
55
112
-31
53
16
155
267
68
25
185
93
20
-12
193
25
15
-16
74
107
-10
159
15
101
99
338
47
46
55
34
66
307
240
19
61
75
47
9
68
15
23
55
22
-29
62
20
80
-18
-34
73
63
90
-9
194
77
9
5
47
146
16
17
-13
56
56
17
43
7
52
213
246
182
120
139
68
35
-36
96
43
92
-14
-27
77
9
68
-10
69
146
68
13
4
61
20
15
194
-11
145
26
116
239
-6
26
123
-5
20