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

327
107
101
154
128
147
151
197
264
98
80
49
75
144
95
165
225
21
149
158
55
112
41
53
16
155
267
68
91
185
114
50
97
209
432
62
101
129
118
4
159
87
136
117
338
84
47
148
34
86
307
240
19
61
191
92
41
121
15
38
55
72
43
90
20
348
38
28
136
63
115
47
217
77
9
83
47
274
16
17
0
67
79
34
43
35
96
213
246
464
402
173
360
95
36
96
43
620
2
18
77
75
68
4
69
180
68
541
281
61
548
60
370
9
145
61
154
239
128
63
123
13
38

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