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
INF 4941 INF 4479 5718 42 INF 8247 360 INF INF 7992 1867 8857 INF INF 9317 5912 INF INF 2312 2255 8348 2348 6985 8249 4453 INF INF 8635 5942 8801 INF 2763 INF INF 7528 4937 7805 6459 INF 6364 8635 5472 9048 6723 853 235 4274 6944 8342 5651 8614 INF INF 5250 INF INF INF 527 1836 8236 950 630 3041 9124 3106 159 6959 6936 9406 5180 1288 99 INF 7154 7236 INF INF INF 87 2023 6294 INF 2529 INF 6865 2422 2782 INF INF INF 563 7917 7111 4290 8013 6079 INF 3335 -2147482791 8902 INF -6 9222 INF INF 6829 INF 4636 INF 7125 7016 77 INF 4674 2424 1118 2635 INF 712 115 155 1537 6132 INF 8676 INF 7219 INF 160 2887 INF INF 5687 INF 5690 INF 1135 7812 INF 1860 INF 933 5434 373 5873 2929 INF 630 INF INF 5028 5666 INF 8507 6665 1138 167 4121 989 3004 9124 -2147477929 1303 528 6097 3041 454 2685 5344 INF 7485 INF INF 8362 8887 8717 INF 9090 1939 1137 INF 4406 INF 7127 6691 INF 6422 346 INF 3233 2760 INF INF 4455 3242 1895 4238 INF 5511 INF 843 INF 1467 INF 6910 3687 9024 -2147475528 INF 2097 INF 3703 4345 1827 8418 3398 1882 INF 4
JOJ Answer
245 237 326 152 62 42 77 110 49 518 97 223 115 180 114 80 198 319 44 28 111 57 52 126 101 94 85 76 90 68 150 139 49 82 206 272 213 96 -1 180 21 78 105 199 154 36 98 174 161 44 158 244 345 101 38 12 73 187 81 90 239 264 118 86 128 154 454 112 163 91 79 147 213 4 121 223 86 331 58 308 87 131 240 239 60 65 70 171 71 85 121 -8 232 169 126 64 169 96 138 171 250 137 130 -6 86 141 134 32 28 65 242 241 189 77 18 101 22 15 91 179 183 115 155 101 144 289 280 108 103 113 25 12 85 7 252 95 118 79 321 71 99 72 247 7 58 49 109 182 75 134 183 304 167 71 183 179 188 68 83 131 33 100 154 287 81 49 193 52 -9 104 131 70 140 297 338 88 99 55 54 86 145 93 81 170 172 13 167 32 128 110 84 114 250 19 74 165 207 144 424 159 140 51 71 92 86 145 50 192 12 3 72 160 167 186 125 196 40 72 297 33 121 286 262 93 233 -9 288 148 100 127 154 30 91 25 166 13 176 21 67 81 112 79 113 85 66 497 -2 148 -10 40 183 94 136 120 494 24 280 156 35 140 180 65 1 -9 106 7 132 31 125 -14 136 58 191 34 -10 33 14 71 27 185 224 98 112 140 156 128 112 74 48 161