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
1638 4477 2919 14355 4101 1055 5891 1099 7705 5120 2465 8540 1737 5700 597 619 6610 3390 3780 6899 149 3337 1559 3908 1166 -258 2937 2882 540 6973 2624 540 4255 1219 7886 1229 4434 6206 6112 4181 122 6973 4250 1099 5452 5249 4621 2369 1322 1881 4912 5192 2468 580 8221 3437 1229 7705 8540 4250 1055 -195 6973 6164 8095 7566 5162 3502 863 3820 4401 4166 3908 1673 402 1673 7989 3116 3576 2325 831 2503 6347 1863 619 222 760 -471 4401 1084 862 3445 3390 2919 3438 7886 1737 3438 3875 7886 3820 1796 2148 3421 9432 4193 4255 5249 619 5987 4101 901 5917 1166 14355 2737 1796 5200 1737 3437 10143 1906 1322 4984 2057 1274 157 1399 4635 1299 20279 2624 14355 7989 8296 -258 10826 6511 7261 2189 1375 6135 2737 2344 10826 1166 6894 4788 226 1560 6899 2737 1229 1796 8497 373 4419 11594 349 6077 1916 1075 4255 122 4592 7944 4250 760 7390 6347 4401 4300 6206 4042 4250 597 1309 3374 6156 226 4385 8130 4400 5376 1396 1274 3223 7808 5917 4255 3374 4993 5297 5700 4400 6347 6849 149 242 2468 3421 7808 3390 1274 8616 4315 1914 1918 81
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