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
1197 586 615 631 527 671 293 266 504 1014 146 926 1014 1125 478 875 1043 614 1060 522 856 732 1294 37 507 531 988 1123 785 489 939 193 1448 616 892 603 500 464 1153 724 1217 1139 779 180 953 1109 850 873 372 1270 218 525 1317 1130 258 687 381 951 798 886 394 360 463 477 669 574 365 1110 985 344 795 761 372 553 770 777 1010 829 721 941 642 306 1024 475 382 1385 827 341 1219 1066 643 864 720 92 922 760 1182 813 1252 712 807 732 771 627 430 205 1317 1083 563 894 679 1082 867 509 967 1144 370 706 714 860 1174 730 742 583 1425 766 1076 1068 437 267 877 650 789 814 1064 744 1151 728 558 676 403 1163 906 939 99 1228 396 747 786 1026 235 850 1207 874 824 831 787 252 1115 210 741 379 629 1115 251 1150 1263 903 771 776 939 731 1303 719 379 775 1148 871 1068 693 463 199 526 781 1114 895 718 1179 409 856 768 724 607 700 1019 924 917 954 810 527 829 748 1259 918 725 957 921 829 682 629 1166 759 1002 1351 443 888 1112 1411 934 909 401 670 577 726 561 532 569 487 789 698 831 306 1216 349 698 985 1054 634 765 910 842 468 105
JOJ Answer
Invalid graph. Exiting.