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
122 3 3787 21 6509 85 9090 167 8382 155 4860 91 8352 156 6843 129 4242 140 9837 388 6623 281 2325 103 1978 91 4740 229 8379 409 2428 118 3973 201 7090 393 7275 405 4321 248 4131 244 3628 216 2691 160 7223 445 9603 616 2986 194 833 51 8882 597 4443 305 4978 350 6734 511 9351 714 1069 78 7559 594 5089 403 9897 813 9662 825 7796 666 3682 311 4298 377 9984 888 9932 900 7146 669 5898 551 6192 586 3581 345 7766 767 6352 678 7245 778 8366 928 7618 853 5333 615 9070 1057 6508 763 8589 1014 8200 992 925 102 2977 361 2633 327 9544 1285 4084 568 5044 714 5421 769 7106 1014 9348 1339 7849 1148 9369 1384 2423 348 9745 1460 6796 1039 9836 1551 5223 816 5387 844 8905 1408 9157 1457 7949 1263 5099 816 2998 482 412 52 4036 675 7014 1187 7450 1267 7554 1299 7560 1303 5069 869 8324 1441 5393 939 2717 465 8410 1508 1939 335 4195 757 5045 915 2691 484 6278 1192 6861 1312 7556 1450 4332 831 2030 380 3606 702 1158 212 7640 1537 5831 1169 5073 1026 8506 1738 5670 1158 2960 595 7259 1494 5663 1166 2200 441 3225 668 8867 1882 7421 160
JOJ Answer
122 3 3787 21 6509 85 9090 167 9837 388 9984 888 9956 4817 9941 6080 9912 8498 9820 9085 9488 9545 9033 9816 8623 9982 7289 9987 5973 9990 2321 9944 936 9818 57 9738 48 8375 3 1531