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
0 935 1691 5588 2147483647 1440 4621 304 1906 2147483647 3445 2774 4445 2147483647 3504 2147483647 1076 7944 -471 6793 0 7730 349 2147483647 149 7261 4464 6551 1375 7607 9567 3337 1751 7949 1638 662 8616 1883 5080 2265 0 2614 3438 2414 5016 540 6986 3640 2529 1301 3116 3837 1055 3903 2927 1665 4148 5314 2369 234 0 3672 2518 5250 774 7220 3744 2763 1535 3350 4071 423 4007 3031 1899 4252 597 1532 2084 1881 0 1681 4250 901 2503 812 4042 3371 4869 3283 2304 3170 1673 2468 126 3117 4052 4635 4401 8073 0 6135 3421 5023 862 1606 5891 5533 3964 1916 3147 4193 6300 335 4565 1299 1882 1648 5320 1448 0 2422 6471 2310 1824 672 4419 3050 2071 2937 1961 242 1783 754 825 1408 1174 157 974 1075 0 2660 969 925 1747 4162 1396 1597 398 1487 1317 283 2100 2171 806 572 1503 1009 2421 1346 0 1871 118 2107 3922 2742 995 1744 2833 2471 1344 2654 2624 3207 2973 2057 1038 4033 2958 4560 0 2644 3519 -258 207 2954 3356 3286 4275 1373 3755 3223 2461 2227 3158 3372 4076 3001 5661 3162 0 3762 2904 1229 2650 3399 1322 -237 2148 1894 760 112
JOJ Answer
925 -247 499 1707 537 1055 1351 843 1009 801 1116 1535 542 578 597 619 1622 970 216 1311 149 305 1515 1806 564 -258 1685 483 540 1505 789 540 151 -374 -342 1229 1469 1548 1323 2261 122 1505 470 843 1172 356 -127 1599 1322 114 683 1109 233 -152 -120 1244 1229 1009 1535 470 1055 -195 1505 1449 441 1948 801 181 -279 -84 323 1047 1806 1400 -12 1400 817 596 107 149 320 352 342 1189 619 222 760 -471 323 334 414 -127 970 499 697 -342 542 697 1065 -342 -84 520 1034 378 118 1609 151 356 619 1260 537 169 743 564 1707 754 520 940 542 1244 344 -245 1322 1422 121 31 157 5 251 1299 931 789 1707 817 1016 -258 119 1010 828 286 563 679 754 200 119 564 910 238 226 -207 1311 754 1229 520 2065 373 1604 0 349 1448 746 579 151 122 1073 -364 470 760 854 342 323 2062 1548 470 470 597 235 -91 2027 226 1015 442 -163 2198 521 1274 1299 1465 743 151 -91 2304 1550 578 -163 342 356 149 242 233 378 1465 970 1274 591 984 1914 1536 442 970 1311 1203 1010 373 562 830 789 107 1301 1536 1015 -175 373 0 -207 828 1297 579 356 31 356 672 1322 1274