Notes
This function is in beta test. Please help improve it in the issues
here.
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
3479 10 6648 26 7435 39 7378 117 9493 307 9450 308 9416 372 7474 367 9738 525 9663 539 8373 485 7550 449 9129 600 6984 506 8094 621 7931 614 7428 583 9032 730 9857 857 3935 344 8931 787 9829 924 9024 862 9914 979 8510 888 9586 1044 9195 1046 9623 1129 9821 1289 7629 1007 8636 1182 9188 1296 9727 1395 7416 1087 8849 1363 9231 1446 6359 1075 8827 1512 8333 1431 9169 1634 8937 1664 7317 1401 9440 1843 9378 2010 8261 1831 9063 2049 9941 2317 6692 1600 5899 1459 6730 1669 7327 1856 7758 1990 5106 1321 9909 2603 8630 2281 6235 1703 4888 1352 6247 1764 4710 1340 9904 2831 8682 2496 8541 2489 5944 1769 5065 1527 7748 2362 8504 2600 8876 2761 9114 2868 9113 2954 7121 2350 8779 2969 9246 3214 9017 3145 8675 3048 8885 3123 9265 3269 9907 3523 7903 2823 9582 3448 9820 3545 9341 3438 9590 3581 6610 2525 9779 3747 7888 3043 9646 3768 4569 1842 9802 3964 8971 3642 9808 4040 9844 4089 9185 3834 9620 4038 9980 4225 8134 3477 6570 2827 9205 3987 9834 4345 5937 2664 9812 4468 6345 2913 9281 4303 7607 3548 6623 3094 8171 3885 99
JOJ Answer
3479 10 9704 22 9914 979 9980 4225 9960 8880 9594 9989 4449 9995 1584 9972 143 9875 6 9662 27 1094 144 758 1187 101