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
1 4 8026 1 5 8847 2 5 9006 6 9 2904 0 10 1913 9 10 8988 1 10 1873 11 15 8068 7 16 3535 8 16 7002 11 16 4602 4 16 2514 1 16 5409 15 17 8663 11 17 1520 10 21 8425 14 21 3571 20 22 5183 4 22 9432 18 22 8560 7 23 8434 21 23 594 14 23 8040 7 24 3949 4 24 3496 14 24 7019 10 24 5057 13 25 3841 7 25 8342 0 25 4122 16 25 1275 1 25 2328 22 26 9054 7 26 3483 0 26 7905 15 26 8673 6 26 4888 7 27 9996 19 27 2234 10 27 2275 12 28 2784 0 29 4612 1 29 2455 3 30 399 7 30 3987 20 30 2556 13 30 1945 2 30 3031 9 30 1184 18 32 6938 19 32 6387 26 33 8912 1 33 315 14 33 7961 11 33 6690 7 34 3160 15 34 839 30 34 9855 15 35 1555 8 35 5284 31 35 7329 24 36 1591 11 37 6699 34 38 853 22 39 8336 0 39 9047 20 39 2199 29 39 9818 38 39 2489 7 39 3193 21 40 1374 15 40 2747 2 40 7212 19 40 4203 34 40 6749 5 41 7265 14 41 1789 1 41 1689 38 41 5464 21 41 3783 29 41 263 15 41 2596 35 41 4917 19 42 8105 12 42 5400 2 42 7313 29 42 6233 13 42 3199 38 43 9175 2 43 2165 22 44 8074 16 44 5114 12 44 1794 30 45 5964 30 46 7840 5 46 274 13 46 7898 10 46 8
JOJ Answer
91948