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

0
1386
1427
3064
1239
4884
6508
3224
9364
3543
7644
3129
6021
7681
2030
9225
6046
4909
2377
2263
7813
3396
8556
6719
7088
2356
6314
8979
5251
2235
727
4462
289
5859
4291
2562
9426
101
4862
3558
3076
5453
2682
7301
6157
1830
7364
8174
4123
1811
3695
7200
3755
2147483647
122
728
2672
643
2147483647
4847
4557
3073
1781
2147483647
1103
3884
5810
3562
2147483647
1255
1953
5197
7340
3652
7752
3732
6976
5576
4518
5619
7710
3621
4393
3341
6521
354
4963
9189
3130
6619
7093
1730
3915
1244
2276
5946
2144
1232
6550
7279
4969
6467
2854
3946
385
7979
8198
7020
688
4296
8154
1738
1641
4038
336
919
7237
8302
876
7795
128
8842
3954
3189
6659
6676
1583
7447
1945
2147483647
5972
9274
985
8067
2147483647
2670
756
947
1457
1556
8908
544
5538
1621
2915
4176
8689
2147483647
470
392
7605
6073
8600
3808
1606
1451
2373
1469
2562
3468
1304
5627
3754
3208
3224
8390
6861
7395
8388
1692
6166
6742
0
7219
3359
7457
7280
5507
8529
7623
8028
4430
7583
6940
14423
5497
872
2723
3697
3906
2274
4275
1412
3562
4865
55
4245
880
6213
641
8977
7469
7

JOJ Answer

316
81
549
252
348
220
322
124
230
396
229
345
231
204
416
264
545
116
341
366
444
300
229
244
315
194
650
245
139
541
223
402
182
244
253
211
342
237