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
3751
357
15611
9464
156
10696
4103
2433
3475
1733
2520
12792
5424
2870
8547
801
149
5018
1058
2850
4699
13641
4107
3568
1664
2489
1543
14023
4318
5276
5491
1036
8544
2784
3751
4277
3504
5991
713
3955
7354
4833
6941
4253
167
6977
21172
9816
13910
3982
4978
830
6142
8283
6185
6379
2254
2600
1058
2771
1465
1385
11795
3377
1910
4664
3453
3892
3865
-9
2151
12437
8157
2502
9343
3933
2786
5501
0
3906
1208
1366
6920
2963
995
2212
8482
1729
4357
1063
5563
4412
6804
288
3247
3304
11086
5086
6048
5036
7780
1561
3750
180
2071
2666
3271
6688
17882
1831
3431
1452
5458
4560
220
8258
-6
352
6305
2725
3175

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