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

1593
695
8355
7274
497
13597
8088
2601
8817
5215
8997
2549
2067
8372
1389
980
4441
391
6509
2880
1400
1520
8115
151
1591
9486
2643
650
7011
1476
3890
6751
4340
10774
7251
3504
1957
7991
5888
851
2837
16137
8255
6852
2763
4206
2451
4222
6319
8
2972
1591
2177
14004
5284
968
12935
8057
2044
8088
2607
3182
38
2772
12800
1059
1360
4725
4187
480
7194
11770
4172
2980
7083
650
9286
7343
6351
2856
2004
8865
14004
8952
4597
9226
1099
1551

JOJ Answer

1593
695
852
911
497
2547
1796
1957
1472
1454
941
763
2067
2130
1389
980
1346
391
1680
1094
760
620
2894
151
919
1071
2643
650
432
1476
2288
1280
1659
854
2002
1035
850
1181
1331
851
2374
1687
3220
2341
1156
1859
1039
1469
856
8
1248
919
1405
2172
1365
866
3674
1863
2044
1796
1980
2676
38
1661
1315
1059
1360
198
701
480
1896
2567
1770
1519
3714
650
2461
3065
3054
851
2004
1636
2172
896
899
1695
1099
1551