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

2919
3552
7824
357
7414
1519
156
6926
4103
2433
914
1733
2520
2955
5424
2870
7961
801
149
5018
1058
2850
1636
4029
2723
3096
1664
2489
1543
7385
4318
5739
5491
1036
7101
2784
7824
1042
3504
11119
2235
8883
5172
2837
2987
941
167
2968
6749
8938
6203
3982
3391
830
8607
8283
5667
6379
2254
1206
1058
2771
1465
1385
1815
3377
1910
2867
10008
1053
3865
-9
2151
13644
8157
2502
11194
4299
438
5501
0
3906
561
1366
7219
2963
995
2212
729
1729
4357
2175
3137
3765
2133
288
3247
3304
3864
5086
10536
2775
7780
1944
3750
180
2071
2666
4056
6529
3796
1831
6890
1452
2697
3234
220
6535
-6
352
6305
2725
1938

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