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
0 2 19780 3 210 4 2340 6 45730 8 11920 9 85180 12 73630 14 66780 16 88550 17 31540 19 22710 20 43830 21 81910 23 88940 24 62670 25 8470 28 69710 29 1470 30 66160 31 21210 32 59220 33 16140 37 22600 39 89500 40 88080 41 71850 43 22310 45 17470 48 2910 49 53830 52 27700 53 72770 54 85230 55 34190 56 10250 57 90620 58 5430 61 51950 62 3320 63 42320 65 6810 67 17710 70 92160 72 54540 73 33990 74 24630 77 84060 79 69890 82 35520 85 29000 87 45350 88 32560 89 70750 91 16390 92 58190 94 8570 99 74260 101 40560 102 37650 104 64320 105 77490 108 17590 110 93740 112 22850 114 34600 115 75040 117 30040 119 31560 120 32330 122 80030 123 95600 125 50580 127 29520 128 11780 129 74870 132 20360 133 32610 134 80650 135 71240 137 53930 138 57740 139 35700 145 30840 148 91020 149 80400 150 84310 151 84660 152 55270 153 92420 155 6240 157 92450 158 46590 160 5180 161 55640 166 50100 167 79650 168 44090 169 25190 170 88400 173 17390 174 65290 175 69940 176 93060 177 16500 179 74830 180 67540 182 92050 183 51340 185 47470 186 849
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