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 1 49730 2 30820 3 57470 4 8970 7 13690 10 13280 11 80180 12 2970 13 11340 14 12070 15 91490 17 40520 18 74050 21 39100 23 54370 25 7910 26 32520 27 28100 29 38310 30 40520 31 2120 33 52020 35 12740 37 70350 38 63410 39 90780 40 13740 41 22180 42 35840 43 42930 44 2720 46 57890 48 57280 49 73160 50 58270 51 78370 52 16440 53 88330 55 64030 56 1470 57 18190 58 31020 59 14260 61 70090 62 38460 63 50340 65 250 66 7410 67 35540 70 18760 71 69370 72 69420 73 82230 74 92900 75 700 77 87510 78 45740 79 3070 80 29410 81 67070 82 82920 83 62211 0 20561 2 23921 3 68921 4 87061 5 37811 7 32901 8 21301 9 75561 10 88771 11 17441 12 20251 14 84431 15 39191 16 86911 17 68771 18 1301 19 12291 20 72311 21 23871 22 49571 23 17761 25 36021 27 72951 28 74711 29 6921 30 3621 31 13911 32 79161 33 40481 34 15791 36 57981 37 64571 38 13521 39 17641 40 66861 42 18831 43 58081 44 27141 46 271 47 16601 48 24411 49 72591 50 7361 51 54551 52 45981 53 94511 55 14161 56 4101 57 10311 58 17161 59 37211 60 77511 63 93211 64 20971 65 4021 66

JOJ Answer

474
657
352
251
590
322
462
842
582
720
352
794
473
585
584
1251
676
826
896
391
541
574
685
759
843
567
757
721
245
967
236
621
413
734
494
1450
806
920
764
830
448
593
312
532
513
719
491
494
745
669
86
637
622
499
350
596
436
1442
1071
674
389
581
1013
676
579
629
843
654
2023
218
370
1317
529
660
865
873
768
475
740
637
710
533
741
443
499
460
579
96
689
397
419
657
392
656
179
452
431
473
694
654
369
336
1556
548
1618
638
296
874
585
715
188
324
847
811
413
415
453
656
509
446
416
390
559
840
460
904
407
669
520
584
766
334
514
604
235
731
447
491
1120
802
467
283
321
267
331
464
414
479
487
579
553
581
237
418
875
647
104
985
138
774
1074
343
548
177
397
574
720
804
286
479
429
400
235
525
792
699
599
408
485
260
208
539
62
445
440
861
600
368
822
488
551
481
503
357
421
798
597
1006
440
730
299
588
423
530
654
618
54
761
931
979
631
507
816
452
742
762
596
600
572
459
702
218
817
155
353
250
740
682
358
531
716
372
736
783
641
636
104
630
325
684
432
702
530
675
300
360
580
341
608
423
382
760
757
501