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
979 926 690 590 1051 580 1035 979 552 622 552 595 1013 690 869 323 1127 973 622 829 1013 745 690 1066 1013 634 1035 460 829 1045 580 745 953 1235 891 778 1130 735 647 234 884 1256 414 647 657 690 323 1176 1066 647 745 514 616 657 723 633 251 1013 792 1139 652 251 784 1066 745 595 690 745 251 664 958 344 467 1130 532 572 572 693 690 1127 514 1062 865 745 652 1045 795 869 690 1050 1121 792 745 595 829 0 926 987 1176 0 587 829 652 884 891 869 953 668 809 840 590 657 926 921 807 723 1396 840 840 787 987 580 745 668 818 1009 595 323 865 234 234 91 795 590 1066 580 973 704 789 958 818 865 891 690 795 795 436 1130 809 1130 479 460 626 1256 784 659 1007 572 344 953 408 580 808 757 626 465 657 757 611 745 414 1051 792 1045 414 809 865 735 778
JOJ Answer
1289 774 723 747 1007 652 365 722 805 155 831 544 706 361 764 514 882 1046 1045 885 441 1419 753 913 535 638 806 685 946 695 1257 629 1441 1400 833 589 824 612 864 727 955 249 414 824 800 691 475 774 913 638 687 353 940 1051 663 1171 670 813 345 655 718 271 951 619 745 386 433 644 759 320 762 360 710 1009 539 860 637 1216 603 1493 361 1485 998 297 659 432 775 739 603 935 1494 720 591 477 566 609 448 907 400 574 647 689 651 821 1058 678 439 693 668 748 825 437 617 705 776 588 1092 716 749 639 524 914 492 1200 849 700 477 650 774 459 673 695 621 788 857 757 742 457 662 762 1099 733 692 989 758 614 255 654 855 824 479 402 674 966 440 726 1016 367 519 1058 640 576 217 797 931 869 394 625 611 1169 427 498 527 874 314 646 749 817 768