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
2016 4138 2544 1911 5997 8303 6807 INF 5197 INF 4008 2588 3245 3367 7991 -6 -3 3319 8460 3856 1651 INF 2926 1548 10408 5072 1362 INF 2962 INF 2061 5702 2624 1989 1392 4743 4186 INF 6940 1994 1478 1916 4444 4399 5238 3834 1322 2839 2902 INF 7518 3476 5859 4682 -8 6123 4029 2708 9276 1062 2413 7100 4287 1167 -3 8907 8388 4221 9558 3483 5739 5975 6260 3904 3121 8725 9707 INF 1214 1961 1276 1054 6036 -1 1137 INF 8631 2971 2835 -2 INF 1073 2573 1725 2770 4991 4430 INF 2112 INF 8725 2810 10179 2866 7388 9563 8887 8465 9718 8018 INF 1915 -9 3306 2127 3329 8978 5751 2954 10080 8384 7488 9900 8585 1761 4509 2125 2456 4181 3507 2147 9569 INF 1297 1052 INF INF 1057 7818 1760 1726 3543 3183 2280 7567 INF 5537 3830 INF 2075 INF 2197 INF 1030 2673 7181 1501 3264 -2 5546 1032 4023 3010 INF 1062 9097 2324 6664 2166 7175 2791 7316 1918 4947 7866 3388 1863 7861 3371 2391 6347 4300 -10 INF 2108 2384 1291 10435 8305 1376 INF 2326 9260 3263 5123 3240 9455 1552 1279 5018 5290 1625 1322 7699 INF 5553 3072 6202 4407 INF 1504 -1 7458
JOJ Answer
-106 -86 -102 -105 1028 864 -84 865 853 982 -12 1431 996 908 1135 -13 -42 1066 897 939 945 -14 -136 877 1060 915 -29 1930 862 2060 -49 918 920 -9 1012 933 -117 899 -56 -119 864 -120 864 964 887 889 -94 -116 -136 956 1701 -51 -24 -27 -8 941 968 -25 -24 -118 936 2049 877 -98 -50 -14 -30 871 997 868 1089 -124 894 -60 944 968 928 888 1001 -11 878 856 -106 -55 940 883 -171 924 -38 -75 1644 -70 1739 -55 852 876 -70 1155 -91 1044 968 955 929 955 1183 1427 958 -33 -65 859 891 -153 -15 927 -73 -44 860 861 940 1048 885 903 1722 -65 904 880 -24 911 958 939 909 945 955 903 -80 906 985 -93 1004 858 -41 -25 968 -43 1095 908 901 942 976 -38 -12 -72 1930 -97 -22 880 901 -111 -103 1045 -56 917 1689 990 -162 -41 922 953 1026 -24 1807 -38 1335 948 997 -91 1059 844 909 941 -15 -114 -118 1029 -81 975 867 855 -48 876 906 -94 1052 -129 969 1727 1065 -43 981 885 -90 -118 1008 -36 937 876 987 1360 -14 896 1020 -89 936 -82 884 928 -68 -64 984 -106 942 -42 953 860 1265 -33 -16 -152 -120 891 -8 930 890 838 1947 854 1052 908 2129 -23 996