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
213 282 264 INF 241 INF 241 225 230 INF 197 151 189 234 248 113 INF 287 INF 275 113 186 130 275 INF 307 INF 209 168 194 203 INF INF INF INF INF INF INF 234 206 203 341 279 154 189 INF INF 165 INF INF INF 127 INF 233 INF INF 249 INF 222 215 INF 219 INF 257 INF INF INF INF 168 308 187 257 INF 279 121 INF INF INF INF 220 311 INF 199 137 148 85 193 239 179 235 INF INF 206 INF INF 255 INF 70 INF INF 219 102 203 241 INF INF INF 226 403 197 INF 263 160 INF 299 226 216 INF 97 337 342 333 INF 250 439 INF INF 373 314 250 INF INF 329 190 INF INF 258 INF 198 242 227 420 260 INF 20 263 232 345 INF 278 259 323 263 173 218 INF 238 INF 220 INF 320 244 215 INF 172 216 232 291 INF 284 INF 228 226 INF 270 INF 257 INF 293 54 329 INF INF 204 216 244 126 224 327 INF INF INF INF 124 191 INF 298 213 INF 139 INF INF 274 INF INF 182 INF INF 226 INF 191 INF INF 226 222 252 INF 238 INF 231 365 143 111 160 INF 213 222 INF 251 INF INF 351 220 272 INF INF 176 158 152 INF INF INF 283 155 INF 245 INF INF INF 67 218 INF 251 227 INF 233 INF 26
JOJ Answer
213 194 153 252 231 172 146 157 222 186 138 151 117 234 173 113 122 246 177 158 113 157 130 193 190 180 202 163 154 145 166 89 122 139 166 91 227 128 157 180 203 218 203 154 141 230 189 165 84 274 206 127 221 233 128 162 182 136 127 205 237 209 127 174 183 210 170 223 168 238 96 220 191 279 121 168 172 114 205 168 171 207 141 137 148 85 123 89 179 183 161 154 109 177 192 223 183 70 236 205 202 102 174 113 180 129 169 77 323 170 170 141 160 143 256 226 129 165 97 194 207 199 133 124 254 139 152 237 219 148 224 214 227 63 169 88 258 129 183 133 127 343 153 153 20 136 118 267 174 278 259 219 183 130 206 117 193 252 183 161 208 205 156 224 126 164 184 157 131 284 171 176 194 220 216 226 220 208 202 54 259 269 91 115 160 173 126 183 177 325 108 166 138 124 153 64 298 182 144 139 160 87 178 162 63 173 141 120 182 114 191 128 174 226 145 117 129 139 174 177 280 143 111 127 264 205 176 203 251 150 236 216 133 213 192 216 176 158 143 169 214 270 260 110 87 219 110 188 219 67 204 130 164 227 175 188 197 247 269 157 218