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
2955 1 9881 6 9426 14 9721 15 9090 15 9364 18 9374 26 6939 21 8683 30 9519 37 6034 24 6462 27 9218 50 8404 49 7833 47 8715 53 9970 62 5496 37 9600 69 9892 72 9883 75 9879 79 8125 68 8551 74 7137 62 8672 89 9980 113 9149 107 9837 120 9507 117 7268 101 5094 71 8917 128 9336 143 5492 86 9396 150 8419 136 9138 153 8719 146 9823 166 9591 171 8179 154 6820 130 8900 175 7849 160 9573 199 8019 172 7952 173 9440 209 9857 222 9605 217 8199 188 9837 227 8149 193 6175 148 9828 237 5647 141 6030 152 9375 240 6749 175 8879 235 4402 118 9144 247 9904 284 8594 248 8597 250 8317 243 8870 262 7969 242 9072 280 6254 194 8438 264 8178 257 2964 95 8067 260 8155 268 9194 305 9319 322 8473 296 9459 337 7446 269 8959 328 9752 364 9537 358 9185 345 6890 260 8553 325 9845 385 9348 366 9035 354 9260 367 7705 306 5820 233 8642 351 9217 380 7883 327 9981 416 9512 399 8648 370 6753 293 7863 346 7260 323 7674 346 9129 414 5481 250 6912 317 9483 441 8153 381 5635 266 4543 215 7359 351 5426 259 9975 483 8787 429 7311 358 8712 432 6320 317 94
JOJ Answer
2955 1 9770 3 9881 6 9970 62 9980 113 9999 688 9998 5550 9997 8280 9996 8855 9972 9440 9956 9747 9945 9901 9703 9954 9381 9988 8616 9997 8030 9998 6859 9998 2846 9996 38 9986 1 9408 0 1129 11 545 47 67 503 23 991 2