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
-10 205 2610 5887 2901 1881 1268 3928 3983 1118 2990 8957 INF 3175 -6 INF 8855 5453 8824 7592 821 866 448 7757 5887 9310 5036 8370 1032 7468 INF 934 1140 8525 7486 5057 276 5025 4400 1934 4636 8419 7588 INF 842 2789 1319 INF 2072 1526 2432 1097 274 8780 740 8370 4664 415 5668 2547 2784 1942 780 8441 476 1794 -10 INF INF 944 4762 8951 7570 2990 INF 1319 7021 6122 67 780 1382 2592 1300 319 2051 5861 1097 INF -19 2432 -10 3068 2827 INF 282 142 3289 INF INF 1575 INF INF 6032 6003 7051 2670 6017 2581 8957 INF 1268 -65 288 1583 7588 344 INF 4970 INF 2818 9078 2956 8919 8212 -64 1966 INF INF 7746 4029 2069 INF 866 8309 2401 3490 1300 7592 2385 714 2535 448 7412 864 3175 6903 7746 3199 2990 2360 3711 8007 2401 467 6656 1552 618 760 3376 INF 5716 577 9108 4664 5299 866 INF 3140 800 1521 2239 2039 -64 1593 789 132 60 1002 8657 3804 3408 4651 4653 INF 8676 1402 1414 INF 793 1144 1277 3742 18 1028 2111 1440 7010 3489 1507 2356 4014 9 1141 3322 1479 714 732 3257 257 3322 7656 4746 4508 240 232 2152 877 2497 3656 55 2075 1
JOJ Answer
-10 181 45 -57 205 349 5 909 175 4 292 229 -48 1324 -6 319 10 169 1084 1358 -17 801 154 172 -57 308 213 1173 -25 698 -83 45 375 340 275 1817 276 846 205 551 750 1301 280 988 -80 1041 -120 692 219 378 244 -17 274 343 47 1173 607 104 1240 379 845 260 -37 777 361 -40 -10 2011 -22 373 112 514 135 292 452 -120 167 111 -18 -37 1382 192 867 -114 232 405 -17 328 -19 244 -10 81 185 -68 281 -183 301 1195 -116 332 927 110 759 61 1101 -67 519 1376 229 1763 5 -65 288 212 280 344 110 1772 348 171 1259 152 434 420 -64 1426 -48 139 24 779 218 -116 801 45 106 1324 867 1358 480 232 210 154 595 864 1324 212 24 405 292 311 1318 1108 106 234 1022 252 41 88 1698 126 5 577 179 607 85 801 2337 618 -111 373 -102 498 -173 252 1 132 -32 -215 98 -51 6 435 128 466 93 739 226 -48 -46 162 1088 642 18 279 108 74 455 861 1181 88 555 9 896 493 413 232 121 76 257 493 7 184 1719 240 -20 279 27 30 24 55 219 1028 -69 761 24 1656 -65 857 252 1832 132