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
Sort: 5685 0 9965 3 8774 6 7051 4 9632 14 9577 15 8359 13 7228 9 8575 27 9427 42 8232 29 7282 21 8329 35 7028 19 8300 37 9655 64 9741 66 8811 51 9547 79 8521 61 7794 50 6648 23 8968 86 9793 112 9141 96 7765 63 8657 94 6435 25 9998 156 9452 145 9147 135 9869 171 7118 62 8167 108 7224 67 8982 154 9370 174 6541 41 9910 204 7105 72 7027 69 8525 149 9399 203 9422 210 9705 228 9545 238 9802 254 7155 91 7536 115 9897 264 6589 60 8318 192 9683 293 7351 124 7110 107 9090 258 7815 165 9196 274 8147 200 9375 301 7014 109 8548 235 7986 190 7162 123 9634 335 8001 197 9223 302 8870 272 8581 249 8758 267 8642 257 9297 319 8506 251 8051 211 7633 176 8884 290 9347 333 8856 291 9447 346 8100 225 9317 341 8824 297 9933 403 8763 298 8992 329 9619 392 8394 270 7997 232 7393 172 8398 276 6564 90 9277 370 8814 328 8536 299 6417 77 8772 326 7436 185 9274 383 7916 239 9643 425 9740 437 9588 436 9702 454 6965 146 8494 322 8948 379 7395 199 9626 460 8274 304 9964 511 6524 101 7915 269 6064 46 9155 428 9450 466 9515 489 6851 151 8178 32
JOJ Answer
5685 0 9965 3 9998 156 9999 5666 9997 7763 9988 9213 9984 9675 9980 9747 9832 9997 6699 9999 623 9995 34 9959 25 9855 3 8962 0 3845 6 876 14 93 203 12 1538 2