fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. const int BITS = 11;
  5. string dp[(1<<BITS)];
  6.  
  7. int main() {
  8. // your code goes here
  9.  
  10. dp[0] = "";
  11. for(int i=1;i<(1<<BITS);i++)
  12. {
  13. int last = i&(-i);
  14. int prev = i - last;
  15. dp[i] = dp[prev] + to_string(__builtin_ctz(last)) + " ";
  16. cout<<i<<" -> "<<dp[i]<<"\n";
  17. }
  18.  
  19. return 0;
  20. }
Success #stdin #stdout 0s 4528KB
stdin
Standard input is empty
stdout
1 -> 0 
2 -> 1 
3 -> 1 0 
4 -> 2 
5 -> 2 0 
6 -> 2 1 
7 -> 2 1 0 
8 -> 3 
9 -> 3 0 
10 -> 3 1 
11 -> 3 1 0 
12 -> 3 2 
13 -> 3 2 0 
14 -> 3 2 1 
15 -> 3 2 1 0 
16 -> 4 
17 -> 4 0 
18 -> 4 1 
19 -> 4 1 0 
20 -> 4 2 
21 -> 4 2 0 
22 -> 4 2 1 
23 -> 4 2 1 0 
24 -> 4 3 
25 -> 4 3 0 
26 -> 4 3 1 
27 -> 4 3 1 0 
28 -> 4 3 2 
29 -> 4 3 2 0 
30 -> 4 3 2 1 
31 -> 4 3 2 1 0 
32 -> 5 
33 -> 5 0 
34 -> 5 1 
35 -> 5 1 0 
36 -> 5 2 
37 -> 5 2 0 
38 -> 5 2 1 
39 -> 5 2 1 0 
40 -> 5 3 
41 -> 5 3 0 
42 -> 5 3 1 
43 -> 5 3 1 0 
44 -> 5 3 2 
45 -> 5 3 2 0 
46 -> 5 3 2 1 
47 -> 5 3 2 1 0 
48 -> 5 4 
49 -> 5 4 0 
50 -> 5 4 1 
51 -> 5 4 1 0 
52 -> 5 4 2 
53 -> 5 4 2 0 
54 -> 5 4 2 1 
55 -> 5 4 2 1 0 
56 -> 5 4 3 
57 -> 5 4 3 0 
58 -> 5 4 3 1 
59 -> 5 4 3 1 0 
60 -> 5 4 3 2 
61 -> 5 4 3 2 0 
62 -> 5 4 3 2 1 
63 -> 5 4 3 2 1 0 
64 -> 6 
65 -> 6 0 
66 -> 6 1 
67 -> 6 1 0 
68 -> 6 2 
69 -> 6 2 0 
70 -> 6 2 1 
71 -> 6 2 1 0 
72 -> 6 3 
73 -> 6 3 0 
74 -> 6 3 1 
75 -> 6 3 1 0 
76 -> 6 3 2 
77 -> 6 3 2 0 
78 -> 6 3 2 1 
79 -> 6 3 2 1 0 
80 -> 6 4 
81 -> 6 4 0 
82 -> 6 4 1 
83 -> 6 4 1 0 
84 -> 6 4 2 
85 -> 6 4 2 0 
86 -> 6 4 2 1 
87 -> 6 4 2 1 0 
88 -> 6 4 3 
89 -> 6 4 3 0 
90 -> 6 4 3 1 
91 -> 6 4 3 1 0 
92 -> 6 4 3 2 
93 -> 6 4 3 2 0 
94 -> 6 4 3 2 1 
95 -> 6 4 3 2 1 0 
96 -> 6 5 
97 -> 6 5 0 
98 -> 6 5 1 
99 -> 6 5 1 0 
100 -> 6 5 2 
101 -> 6 5 2 0 
102 -> 6 5 2 1 
103 -> 6 5 2 1 0 
104 -> 6 5 3 
105 -> 6 5 3 0 
106 -> 6 5 3 1 
107 -> 6 5 3 1 0 
108 -> 6 5 3 2 
109 -> 6 5 3 2 0 
110 -> 6 5 3 2 1 
111 -> 6 5 3 2 1 0 
112 -> 6 5 4 
113 -> 6 5 4 0 
114 -> 6 5 4 1 
115 -> 6 5 4 1 0 
116 -> 6 5 4 2 
117 -> 6 5 4 2 0 
118 -> 6 5 4 2 1 
119 -> 6 5 4 2 1 0 
120 -> 6 5 4 3 
121 -> 6 5 4 3 0 
122 -> 6 5 4 3 1 
123 -> 6 5 4 3 1 0 
124 -> 6 5 4 3 2 
125 -> 6 5 4 3 2 0 
126 -> 6 5 4 3 2 1 
127 -> 6 5 4 3 2 1 0 
128 -> 7 
129 -> 7 0 
130 -> 7 1 
131 -> 7 1 0 
132 -> 7 2 
133 -> 7 2 0 
134 -> 7 2 1 
135 -> 7 2 1 0 
136 -> 7 3 
137 -> 7 3 0 
138 -> 7 3 1 
139 -> 7 3 1 0 
140 -> 7 3 2 
141 -> 7 3 2 0 
142 -> 7 3 2 1 
143 -> 7 3 2 1 0 
144 -> 7 4 
145 -> 7 4 0 
146 -> 7 4 1 
147 -> 7 4 1 0 
148 -> 7 4 2 
149 -> 7 4 2 0 
150 -> 7 4 2 1 
151 -> 7 4 2 1 0 
152 -> 7 4 3 
153 -> 7 4 3 0 
154 -> 7 4 3 1 
155 -> 7 4 3 1 0 
156 -> 7 4 3 2 
157 -> 7 4 3 2 0 
158 -> 7 4 3 2 1 
159 -> 7 4 3 2 1 0 
160 -> 7 5 
161 -> 7 5 0 
162 -> 7 5 1 
163 -> 7 5 1 0 
164 -> 7 5 2 
165 -> 7 5 2 0 
166 -> 7 5 2 1 
167 -> 7 5 2 1 0 
168 -> 7 5 3 
169 -> 7 5 3 0 
170 -> 7 5 3 1 
171 -> 7 5 3 1 0 
172 -> 7 5 3 2 
173 -> 7 5 3 2 0 
174 -> 7 5 3 2 1 
175 -> 7 5 3 2 1 0 
176 -> 7 5 4 
177 -> 7 5 4 0 
178 -> 7 5 4 1 
179 -> 7 5 4 1 0 
180 -> 7 5 4 2 
181 -> 7 5 4 2 0 
182 -> 7 5 4 2 1 
183 -> 7 5 4 2 1 0 
184 -> 7 5 4 3 
185 -> 7 5 4 3 0 
186 -> 7 5 4 3 1 
187 -> 7 5 4 3 1 0 
188 -> 7 5 4 3 2 
189 -> 7 5 4 3 2 0 
190 -> 7 5 4 3 2 1 
191 -> 7 5 4 3 2 1 0 
192 -> 7 6 
193 -> 7 6 0 
194 -> 7 6 1 
195 -> 7 6 1 0 
196 -> 7 6 2 
197 -> 7 6 2 0 
198 -> 7 6 2 1 
199 -> 7 6 2 1 0 
200 -> 7 6 3 
201 -> 7 6 3 0 
202 -> 7 6 3 1 
203 -> 7 6 3 1 0 
204 -> 7 6 3 2 
205 -> 7 6 3 2 0 
206 -> 7 6 3 2 1 
207 -> 7 6 3 2 1 0 
208 -> 7 6 4 
209 -> 7 6 4 0 
210 -> 7 6 4 1 
211 -> 7 6 4 1 0 
212 -> 7 6 4 2 
213 -> 7 6 4 2 0 
214 -> 7 6 4 2 1 
215 -> 7 6 4 2 1 0 
216 -> 7 6 4 3 
217 -> 7 6 4 3 0 
218 -> 7 6 4 3 1 
219 -> 7 6 4 3 1 0 
220 -> 7 6 4 3 2 
221 -> 7 6 4 3 2 0 
222 -> 7 6 4 3 2 1 
223 -> 7 6 4 3 2 1 0 
224 -> 7 6 5 
225 -> 7 6 5 0 
226 -> 7 6 5 1 
227 -> 7 6 5 1 0 
228 -> 7 6 5 2 
229 -> 7 6 5 2 0 
230 -> 7 6 5 2 1 
231 -> 7 6 5 2 1 0 
232 -> 7 6 5 3 
233 -> 7 6 5 3 0 
234 -> 7 6 5 3 1 
235 -> 7 6 5 3 1 0 
236 -> 7 6 5 3 2 
237 -> 7 6 5 3 2 0 
238 -> 7 6 5 3 2 1 
239 -> 7 6 5 3 2 1 0 
240 -> 7 6 5 4 
241 -> 7 6 5 4 0 
242 -> 7 6 5 4 1 
243 -> 7 6 5 4 1 0 
244 -> 7 6 5 4 2 
245 -> 7 6 5 4 2 0 
246 -> 7 6 5 4 2 1 
247 -> 7 6 5 4 2 1 0 
248 -> 7 6 5 4 3 
249 -> 7 6 5 4 3 0 
250 -> 7 6 5 4 3 1 
251 -> 7 6 5 4 3 1 0 
252 -> 7 6 5 4 3 2 
253 -> 7 6 5 4 3 2 0 
254 -> 7 6 5 4 3 2 1 
255 -> 7 6 5 4 3 2 1 0 
256 -> 8 
257 -> 8 0 
258 -> 8 1 
259 -> 8 1 0 
260 -> 8 2 
261 -> 8 2 0 
262 -> 8 2 1 
263 -> 8 2 1 0 
264 -> 8 3 
265 -> 8 3 0 
266 -> 8 3 1 
267 -> 8 3 1 0 
268 -> 8 3 2 
269 -> 8 3 2 0 
270 -> 8 3 2 1 
271 -> 8 3 2 1 0 
272 -> 8 4 
273 -> 8 4 0 
274 -> 8 4 1 
275 -> 8 4 1 0 
276 -> 8 4 2 
277 -> 8 4 2 0 
278 -> 8 4 2 1 
279 -> 8 4 2 1 0 
280 -> 8 4 3 
281 -> 8 4 3 0 
282 -> 8 4 3 1 
283 -> 8 4 3 1 0 
284 -> 8 4 3 2 
285 -> 8 4 3 2 0 
286 -> 8 4 3 2 1 
287 -> 8 4 3 2 1 0 
288 -> 8 5 
289 -> 8 5 0 
290 -> 8 5 1 
291 -> 8 5 1 0 
292 -> 8 5 2 
293 -> 8 5 2 0 
294 -> 8 5 2 1 
295 -> 8 5 2 1 0 
296 -> 8 5 3 
297 -> 8 5 3 0 
298 -> 8 5 3 1 
299 -> 8 5 3 1 0 
300 -> 8 5 3 2 
301 -> 8 5 3 2 0 
302 -> 8 5 3 2 1 
303 -> 8 5 3 2 1 0 
304 -> 8 5 4 
305 -> 8 5 4 0 
306 -> 8 5 4 1 
307 -> 8 5 4 1 0 
308 -> 8 5 4 2 
309 -> 8 5 4 2 0 
310 -> 8 5 4 2 1 
311 -> 8 5 4 2 1 0 
312 -> 8 5 4 3 
313 -> 8 5 4 3 0 
314 -> 8 5 4 3 1 
315 -> 8 5 4 3 1 0 
316 -> 8 5 4 3 2 
317 -> 8 5 4 3 2 0 
318 -> 8 5 4 3 2 1 
319 -> 8 5 4 3 2 1 0 
320 -> 8 6 
321 -> 8 6 0 
322 -> 8 6 1 
323 -> 8 6 1 0 
324 -> 8 6 2 
325 -> 8 6 2 0 
326 -> 8 6 2 1 
327 -> 8 6 2 1 0 
328 -> 8 6 3 
329 -> 8 6 3 0 
330 -> 8 6 3 1 
331 -> 8 6 3 1 0 
332 -> 8 6 3 2 
333 -> 8 6 3 2 0 
334 -> 8 6 3 2 1 
335 -> 8 6 3 2 1 0 
336 -> 8 6 4 
337 -> 8 6 4 0 
338 -> 8 6 4 1 
339 -> 8 6 4 1 0 
340 -> 8 6 4 2 
341 -> 8 6 4 2 0 
342 -> 8 6 4 2 1 
343 -> 8 6 4 2 1 0 
344 -> 8 6 4 3 
345 -> 8 6 4 3 0 
346 -> 8 6 4 3 1 
347 -> 8 6 4 3 1 0 
348 -> 8 6 4 3 2 
349 -> 8 6 4 3 2 0 
350 -> 8 6 4 3 2 1 
351 -> 8 6 4 3 2 1 0 
352 -> 8 6 5 
353 -> 8 6 5 0 
354 -> 8 6 5 1 
355 -> 8 6 5 1 0 
356 -> 8 6 5 2 
357 -> 8 6 5 2 0 
358 -> 8 6 5 2 1 
359 -> 8 6 5 2 1 0 
360 -> 8 6 5 3 
361 -> 8 6 5 3 0 
362 -> 8 6 5 3 1 
363 -> 8 6 5 3 1 0 
364 -> 8 6 5 3 2 
365 -> 8 6 5 3 2 0 
366 -> 8 6 5 3 2 1 
367 -> 8 6 5 3 2 1 0 
368 -> 8 6 5 4 
369 -> 8 6 5 4 0 
370 -> 8 6 5 4 1 
371 -> 8 6 5 4 1 0 
372 -> 8 6 5 4 2 
373 -> 8 6 5 4 2 0 
374 -> 8 6 5 4 2 1 
375 -> 8 6 5 4 2 1 0 
376 -> 8 6 5 4 3 
377 -> 8 6 5 4 3 0 
378 -> 8 6 5 4 3 1 
379 -> 8 6 5 4 3 1 0 
380 -> 8 6 5 4 3 2 
381 -> 8 6 5 4 3 2 0 
382 -> 8 6 5 4 3 2 1 
383 -> 8 6 5 4 3 2 1 0 
384 -> 8 7 
385 -> 8 7 0 
386 -> 8 7 1 
387 -> 8 7 1 0 
388 -> 8 7 2 
389 -> 8 7 2 0 
390 -> 8 7 2 1 
391 -> 8 7 2 1 0 
392 -> 8 7 3 
393 -> 8 7 3 0 
394 -> 8 7 3 1 
395 -> 8 7 3 1 0 
396 -> 8 7 3 2 
397 -> 8 7 3 2 0 
398 -> 8 7 3 2 1 
399 -> 8 7 3 2 1 0 
400 -> 8 7 4 
401 -> 8 7 4 0 
402 -> 8 7 4 1 
403 -> 8 7 4 1 0 
404 -> 8 7 4 2 
405 -> 8 7 4 2 0 
406 -> 8 7 4 2 1 
407 -> 8 7 4 2 1 0 
408 -> 8 7 4 3 
409 -> 8 7 4 3 0 
410 -> 8 7 4 3 1 
411 -> 8 7 4 3 1 0 
412 -> 8 7 4 3 2 
413 -> 8 7 4 3 2 0 
414 -> 8 7 4 3 2 1 
415 -> 8 7 4 3 2 1 0 
416 -> 8 7 5 
417 -> 8 7 5 0 
418 -> 8 7 5 1 
419 -> 8 7 5 1 0 
420 -> 8 7 5 2 
421 -> 8 7 5 2 0 
422 -> 8 7 5 2 1 
423 -> 8 7 5 2 1 0 
424 -> 8 7 5 3 
425 -> 8 7 5 3 0 
426 -> 8 7 5 3 1 
427 -> 8 7 5 3 1 0 
428 -> 8 7 5 3 2 
429 -> 8 7 5 3 2 0 
430 -> 8 7 5 3 2 1 
431 -> 8 7 5 3 2 1 0 
432 -> 8 7 5 4 
433 -> 8 7 5 4 0 
434 -> 8 7 5 4 1 
435 -> 8 7 5 4 1 0 
436 -> 8 7 5 4 2 
437 -> 8 7 5 4 2 0 
438 -> 8 7 5 4 2 1 
439 -> 8 7 5 4 2 1 0 
440 -> 8 7 5 4 3 
441 -> 8 7 5 4 3 0 
442 -> 8 7 5 4 3 1 
443 -> 8 7 5 4 3 1 0 
444 -> 8 7 5 4 3 2 
445 -> 8 7 5 4 3 2 0 
446 -> 8 7 5 4 3 2 1 
447 -> 8 7 5 4 3 2 1 0 
448 -> 8 7 6 
449 -> 8 7 6 0 
450 -> 8 7 6 1 
451 -> 8 7 6 1 0 
452 -> 8 7 6 2 
453 -> 8 7 6 2 0 
454 -> 8 7 6 2 1 
455 -> 8 7 6 2 1 0 
456 -> 8 7 6 3 
457 -> 8 7 6 3 0 
458 -> 8 7 6 3 1 
459 -> 8 7 6 3 1 0 
460 -> 8 7 6 3 2 
461 -> 8 7 6 3 2 0 
462 -> 8 7 6 3 2 1 
463 -> 8 7 6 3 2 1 0 
464 -> 8 7 6 4 
465 -> 8 7 6 4 0 
466 -> 8 7 6 4 1 
467 -> 8 7 6 4 1 0 
468 -> 8 7 6 4 2 
469 -> 8 7 6 4 2 0 
470 -> 8 7 6 4 2 1 
471 -> 8 7 6 4 2 1 0 
472 -> 8 7 6 4 3 
473 -> 8 7 6 4 3 0 
474 -> 8 7 6 4 3 1 
475 -> 8 7 6 4 3 1 0 
476 -> 8 7 6 4 3 2 
477 -> 8 7 6 4 3 2 0 
478 -> 8 7 6 4 3 2 1 
479 -> 8 7 6 4 3 2 1 0 
480 -> 8 7 6 5 
481 -> 8 7 6 5 0 
482 -> 8 7 6 5 1 
483 -> 8 7 6 5 1 0 
484 -> 8 7 6 5 2 
485 -> 8 7 6 5 2 0 
486 -> 8 7 6 5 2 1 
487 -> 8 7 6 5 2 1 0 
488 -> 8 7 6 5 3 
489 -> 8 7 6 5 3 0 
490 -> 8 7 6 5 3 1 
491 -> 8 7 6 5 3 1 0 
492 -> 8 7 6 5 3 2 
493 -> 8 7 6 5 3 2 0 
494 -> 8 7 6 5 3 2 1 
495 -> 8 7 6 5 3 2 1 0 
496 -> 8 7 6 5 4 
497 -> 8 7 6 5 4 0 
498 -> 8 7 6 5 4 1 
499 -> 8 7 6 5 4 1 0 
500 -> 8 7 6 5 4 2 
501 -> 8 7 6 5 4 2 0 
502 -> 8 7 6 5 4 2 1 
503 -> 8 7 6 5 4 2 1 0 
504 -> 8 7 6 5 4 3 
505 -> 8 7 6 5 4 3 0 
506 -> 8 7 6 5 4 3 1 
507 -> 8 7 6 5 4 3 1 0 
508 -> 8 7 6 5 4 3 2 
509 -> 8 7 6 5 4 3 2 0 
510 -> 8 7 6 5 4 3 2 1 
511 -> 8 7 6 5 4 3 2 1 0 
512 -> 9 
513 -> 9 0 
514 -> 9 1 
515 -> 9 1 0 
516 -> 9 2 
517 -> 9 2 0 
518 -> 9 2 1 
519 -> 9 2 1 0 
520 -> 9 3 
521 -> 9 3 0 
522 -> 9 3 1 
523 -> 9 3 1 0 
524 -> 9 3 2 
525 -> 9 3 2 0 
526 -> 9 3 2 1 
527 -> 9 3 2 1 0 
528 -> 9 4 
529 -> 9 4 0 
530 -> 9 4 1 
531 -> 9 4 1 0 
532 -> 9 4 2 
533 -> 9 4 2 0 
534 -> 9 4 2 1 
535 -> 9 4 2 1 0 
536 -> 9 4 3 
537 -> 9 4 3 0 
538 -> 9 4 3 1 
539 -> 9 4 3 1 0 
540 -> 9 4 3 2 
541 -> 9 4 3 2 0 
542 -> 9 4 3 2 1 
543 -> 9 4 3 2 1 0 
544 -> 9 5 
545 -> 9 5 0 
546 -> 9 5 1 
547 -> 9 5 1 0 
548 -> 9 5 2 
549 -> 9 5 2 0 
550 -> 9 5 2 1 
551 -> 9 5 2 1 0 
552 -> 9 5 3 
553 -> 9 5 3 0 
554 -> 9 5 3 1 
555 -> 9 5 3 1 0 
556 -> 9 5 3 2 
557 -> 9 5 3 2 0 
558 -> 9 5 3 2 1 
559 -> 9 5 3 2 1 0 
560 -> 9 5 4 
561 -> 9 5 4 0 
562 -> 9 5 4 1 
563 -> 9 5 4 1 0 
564 -> 9 5 4 2 
565 -> 9 5 4 2 0 
566 -> 9 5 4 2 1 
567 -> 9 5 4 2 1 0 
568 -> 9 5 4 3 
569 -> 9 5 4 3 0 
570 -> 9 5 4 3 1 
571 -> 9 5 4 3 1 0 
572 -> 9 5 4 3 2 
573 -> 9 5 4 3 2 0 
574 -> 9 5 4 3 2 1 
575 -> 9 5 4 3 2 1 0 
576 -> 9 6 
577 -> 9 6 0 
578 -> 9 6 1 
579 -> 9 6 1 0 
580 -> 9 6 2 
581 -> 9 6 2 0 
582 -> 9 6 2 1 
583 -> 9 6 2 1 0 
584 -> 9 6 3 
585 -> 9 6 3 0 
586 -> 9 6 3 1 
587 -> 9 6 3 1 0 
588 -> 9 6 3 2 
589 -> 9 6 3 2 0 
590 -> 9 6 3 2 1 
591 -> 9 6 3 2 1 0 
592 -> 9 6 4 
593 -> 9 6 4 0 
594 -> 9 6 4 1 
595 -> 9 6 4 1 0 
596 -> 9 6 4 2 
597 -> 9 6 4 2 0 
598 -> 9 6 4 2 1 
599 -> 9 6 4 2 1 0 
600 -> 9 6 4 3 
601 -> 9 6 4 3 0 
602 -> 9 6 4 3 1 
603 -> 9 6 4 3 1 0 
604 -> 9 6 4 3 2 
605 -> 9 6 4 3 2 0 
606 -> 9 6 4 3 2 1 
607 -> 9 6 4 3 2 1 0 
608 -> 9 6 5 
609 -> 9 6 5 0 
610 -> 9 6 5 1 
611 -> 9 6 5 1 0 
612 -> 9 6 5 2 
613 -> 9 6 5 2 0 
614 -> 9 6 5 2 1 
615 -> 9 6 5 2 1 0 
616 -> 9 6 5 3 
617 -> 9 6 5 3 0 
618 -> 9 6 5 3 1 
619 -> 9 6 5 3 1 0 
620 -> 9 6 5 3 2 
621 -> 9 6 5 3 2 0 
622 -> 9 6 5 3 2 1 
623 -> 9 6 5 3 2 1 0 
624 -> 9 6 5 4 
625 -> 9 6 5 4 0 
626 -> 9 6 5 4 1 
627 -> 9 6 5 4 1 0 
628 -> 9 6 5 4 2 
629 -> 9 6 5 4 2 0 
630 -> 9 6 5 4 2 1 
631 -> 9 6 5 4 2 1 0 
632 -> 9 6 5 4 3 
633 -> 9 6 5 4 3 0 
634 -> 9 6 5 4 3 1 
635 -> 9 6 5 4 3 1 0 
636 -> 9 6 5 4 3 2 
637 -> 9 6 5 4 3 2 0 
638 -> 9 6 5 4 3 2 1 
639 -> 9 6 5 4 3 2 1 0 
640 -> 9 7 
641 -> 9 7 0 
642 -> 9 7 1 
643 -> 9 7 1 0 
644 -> 9 7 2 
645 -> 9 7 2 0 
646 -> 9 7 2 1 
647 -> 9 7 2 1 0 
648 -> 9 7 3 
649 -> 9 7 3 0 
650 -> 9 7 3 1 
651 -> 9 7 3 1 0 
652 -> 9 7 3 2 
653 -> 9 7 3 2 0 
654 -> 9 7 3 2 1 
655 -> 9 7 3 2 1 0 
656 -> 9 7 4 
657 -> 9 7 4 0 
658 -> 9 7 4 1 
659 -> 9 7 4 1 0 
660 -> 9 7 4 2 
661 -> 9 7 4 2 0 
662 -> 9 7 4 2 1 
663 -> 9 7 4 2 1 0 
664 -> 9 7 4 3 
665 -> 9 7 4 3 0 
666 -> 9 7 4 3 1 
667 -> 9 7 4 3 1 0 
668 -> 9 7 4 3 2 
669 -> 9 7 4 3 2 0 
670 -> 9 7 4 3 2 1 
671 -> 9 7 4 3 2 1 0 
672 -> 9 7 5 
673 -> 9 7 5 0 
674 -> 9 7 5 1 
675 -> 9 7 5 1 0 
676 -> 9 7 5 2 
677 -> 9 7 5 2 0 
678 -> 9 7 5 2 1 
679 -> 9 7 5 2 1 0 
680 -> 9 7 5 3 
681 -> 9 7 5 3 0 
682 -> 9 7 5 3 1 
683 -> 9 7 5 3 1 0 
684 -> 9 7 5 3 2 
685 -> 9 7 5 3 2 0 
686 -> 9 7 5 3 2 1 
687 -> 9 7 5 3 2 1 0 
688 -> 9 7 5 4 
689 -> 9 7 5 4 0 
690 -> 9 7 5 4 1 
691 -> 9 7 5 4 1 0 
692 -> 9 7 5 4 2 
693 -> 9 7 5 4 2 0 
694 -> 9 7 5 4 2 1 
695 -> 9 7 5 4 2 1 0 
696 -> 9 7 5 4 3 
697 -> 9 7 5 4 3 0 
698 -> 9 7 5 4 3 1 
699 -> 9 7 5 4 3 1 0 
700 -> 9 7 5 4 3 2 
701 -> 9 7 5 4 3 2 0 
702 -> 9 7 5 4 3 2 1 
703 -> 9 7 5 4 3 2 1 0 
704 -> 9 7 6 
705 -> 9 7 6 0 
706 -> 9 7 6 1 
707 -> 9 7 6 1 0 
708 -> 9 7 6 2 
709 -> 9 7 6 2 0 
710 -> 9 7 6 2 1 
711 -> 9 7 6 2 1 0 
712 -> 9 7 6 3 
713 -> 9 7 6 3 0 
714 -> 9 7 6 3 1 
715 -> 9 7 6 3 1 0 
716 -> 9 7 6 3 2 
717 -> 9 7 6 3 2 0 
718 -> 9 7 6 3 2 1 
719 -> 9 7 6 3 2 1 0 
720 -> 9 7 6 4 
721 -> 9 7 6 4 0 
722 -> 9 7 6 4 1 
723 -> 9 7 6 4 1 0 
724 -> 9 7 6 4 2 
725 -> 9 7 6 4 2 0 
726 -> 9 7 6 4 2 1 
727 -> 9 7 6 4 2 1 0 
728 -> 9 7 6 4 3 
729 -> 9 7 6 4 3 0 
730 -> 9 7 6 4 3 1 
731 -> 9 7 6 4 3 1 0 
732 -> 9 7 6 4 3 2 
733 -> 9 7 6 4 3 2 0 
734 -> 9 7 6 4 3 2 1 
735 -> 9 7 6 4 3 2 1 0 
736 -> 9 7 6 5 
737 -> 9 7 6 5 0 
738 -> 9 7 6 5 1 
739 -> 9 7 6 5 1 0 
740 -> 9 7 6 5 2 
741 -> 9 7 6 5 2 0 
742 -> 9 7 6 5 2 1 
743 -> 9 7 6 5 2 1 0 
744 -> 9 7 6 5 3 
745 -> 9 7 6 5 3 0 
746 -> 9 7 6 5 3 1 
747 -> 9 7 6 5 3 1 0 
748 -> 9 7 6 5 3 2 
749 -> 9 7 6 5 3 2 0 
750 -> 9 7 6 5 3 2 1 
751 -> 9 7 6 5 3 2 1 0 
752 -> 9 7 6 5 4 
753 -> 9 7 6 5 4 0 
754 -> 9 7 6 5 4 1 
755 -> 9 7 6 5 4 1 0 
756 -> 9 7 6 5 4 2 
757 -> 9 7 6 5 4 2 0 
758 -> 9 7 6 5 4 2 1 
759 -> 9 7 6 5 4 2 1 0 
760 -> 9 7 6 5 4 3 
761 -> 9 7 6 5 4 3 0 
762 -> 9 7 6 5 4 3 1 
763 -> 9 7 6 5 4 3 1 0 
764 -> 9 7 6 5 4 3 2 
765 -> 9 7 6 5 4 3 2 0 
766 -> 9 7 6 5 4 3 2 1 
767 -> 9 7 6 5 4 3 2 1 0 
768 -> 9 8 
769 -> 9 8 0 
770 -> 9 8 1 
771 -> 9 8 1 0 
772 -> 9 8 2 
773 -> 9 8 2 0 
774 -> 9 8 2 1 
775 -> 9 8 2 1 0 
776 -> 9 8 3 
777 -> 9 8 3 0 
778 -> 9 8 3 1 
779 -> 9 8 3 1 0 
780 -> 9 8 3 2 
781 -> 9 8 3 2 0 
782 -> 9 8 3 2 1 
783 -> 9 8 3 2 1 0 
784 -> 9 8 4 
785 -> 9 8 4 0 
786 -> 9 8 4 1 
787 -> 9 8 4 1 0 
788 -> 9 8 4 2 
789 -> 9 8 4 2 0 
790 -> 9 8 4 2 1 
791 -> 9 8 4 2 1 0 
792 -> 9 8 4 3 
793 -> 9 8 4 3 0 
794 -> 9 8 4 3 1 
795 -> 9 8 4 3 1 0 
796 -> 9 8 4 3 2 
797 -> 9 8 4 3 2 0 
798 -> 9 8 4 3 2 1 
799 -> 9 8 4 3 2 1 0 
800 -> 9 8 5 
801 -> 9 8 5 0 
802 -> 9 8 5 1 
803 -> 9 8 5 1 0 
804 -> 9 8 5 2 
805 -> 9 8 5 2 0 
806 -> 9 8 5 2 1 
807 -> 9 8 5 2 1 0 
808 -> 9 8 5 3 
809 -> 9 8 5 3 0 
810 -> 9 8 5 3 1 
811 -> 9 8 5 3 1 0 
812 -> 9 8 5 3 2 
813 -> 9 8 5 3 2 0 
814 -> 9 8 5 3 2 1 
815 -> 9 8 5 3 2 1 0 
816 -> 9 8 5 4 
817 -> 9 8 5 4 0 
818 -> 9 8 5 4 1 
819 -> 9 8 5 4 1 0 
820 -> 9 8 5 4 2 
821 -> 9 8 5 4 2 0 
822 -> 9 8 5 4 2 1 
823 -> 9 8 5 4 2 1 0 
824 -> 9 8 5 4 3 
825 -> 9 8 5 4 3 0 
826 -> 9 8 5 4 3 1 
827 -> 9 8 5 4 3 1 0 
828 -> 9 8 5 4 3 2 
829 -> 9 8 5 4 3 2 0 
830 -> 9 8 5 4 3 2 1 
831 -> 9 8 5 4 3 2 1 0 
832 -> 9 8 6 
833 -> 9 8 6 0 
834 -> 9 8 6 1 
835 -> 9 8 6 1 0 
836 -> 9 8 6 2 
837 -> 9 8 6 2 0 
838 -> 9 8 6 2 1 
839 -> 9 8 6 2 1 0 
840 -> 9 8 6 3 
841 -> 9 8 6 3 0 
842 -> 9 8 6 3 1 
843 -> 9 8 6 3 1 0 
844 -> 9 8 6 3 2 
845 -> 9 8 6 3 2 0 
846 -> 9 8 6 3 2 1 
847 -> 9 8 6 3 2 1 0 
848 -> 9 8 6 4 
849 -> 9 8 6 4 0 
850 -> 9 8 6 4 1 
851 -> 9 8 6 4 1 0 
852 -> 9 8 6 4 2 
853 -> 9 8 6 4 2 0 
854 -> 9 8 6 4 2 1 
855 -> 9 8 6 4 2 1 0 
856 -> 9 8 6 4 3 
857 -> 9 8 6 4 3 0 
858 -> 9 8 6 4 3 1 
859 -> 9 8 6 4 3 1 0 
860 -> 9 8 6 4 3 2 
861 -> 9 8 6 4 3 2 0 
862 -> 9 8 6 4 3 2 1 
863 -> 9 8 6 4 3 2 1 0 
864 -> 9 8 6 5 
865 -> 9 8 6 5 0 
866 -> 9 8 6 5 1 
867 -> 9 8 6 5 1 0 
868 -> 9 8 6 5 2 
869 -> 9 8 6 5 2 0 
870 -> 9 8 6 5 2 1 
871 -> 9 8 6 5 2 1 0 
872 -> 9 8 6 5 3 
873 -> 9 8 6 5 3 0 
874 -> 9 8 6 5 3 1 
875 -> 9 8 6 5 3 1 0 
876 -> 9 8 6 5 3 2 
877 -> 9 8 6 5 3 2 0 
878 -> 9 8 6 5 3 2 1 
879 -> 9 8 6 5 3 2 1 0 
880 -> 9 8 6 5 4 
881 -> 9 8 6 5 4 0 
882 -> 9 8 6 5 4 1 
883 -> 9 8 6 5 4 1 0 
884 -> 9 8 6 5 4 2 
885 -> 9 8 6 5 4 2 0 
886 -> 9 8 6 5 4 2 1 
887 -> 9 8 6 5 4 2 1 0 
888 -> 9 8 6 5 4 3 
889 -> 9 8 6 5 4 3 0 
890 -> 9 8 6 5 4 3 1 
891 -> 9 8 6 5 4 3 1 0 
892 -> 9 8 6 5 4 3 2 
893 -> 9 8 6 5 4 3 2 0 
894 -> 9 8 6 5 4 3 2 1 
895 -> 9 8 6 5 4 3 2 1 0 
896 -> 9 8 7 
897 -> 9 8 7 0 
898 -> 9 8 7 1 
899 -> 9 8 7 1 0 
900 -> 9 8 7 2 
901 -> 9 8 7 2 0 
902 -> 9 8 7 2 1 
903 -> 9 8 7 2 1 0 
904 -> 9 8 7 3 
905 -> 9 8 7 3 0 
906 -> 9 8 7 3 1 
907 -> 9 8 7 3 1 0 
908 -> 9 8 7 3 2 
909 -> 9 8 7 3 2 0 
910 -> 9 8 7 3 2 1 
911 -> 9 8 7 3 2 1 0 
912 -> 9 8 7 4 
913 -> 9 8 7 4 0 
914 -> 9 8 7 4 1 
915 -> 9 8 7 4 1 0 
916 -> 9 8 7 4 2 
917 -> 9 8 7 4 2 0 
918 -> 9 8 7 4 2 1 
919 -> 9 8 7 4 2 1 0 
920 -> 9 8 7 4 3 
921 -> 9 8 7 4 3 0 
922 -> 9 8 7 4 3 1 
923 -> 9 8 7 4 3 1 0 
924 -> 9 8 7 4 3 2 
925 -> 9 8 7 4 3 2 0 
926 -> 9 8 7 4 3 2 1 
927 -> 9 8 7 4 3 2 1 0 
928 -> 9 8 7 5 
929 -> 9 8 7 5 0 
930 -> 9 8 7 5 1 
931 -> 9 8 7 5 1 0 
932 -> 9 8 7 5 2 
933 -> 9 8 7 5 2 0 
934 -> 9 8 7 5 2 1 
935 -> 9 8 7 5 2 1 0 
936 -> 9 8 7 5 3 
937 -> 9 8 7 5 3 0 
938 -> 9 8 7 5 3 1 
939 -> 9 8 7 5 3 1 0 
940 -> 9 8 7 5 3 2 
941 -> 9 8 7 5 3 2 0 
942 -> 9 8 7 5 3 2 1 
943 -> 9 8 7 5 3 2 1 0 
944 -> 9 8 7 5 4 
945 -> 9 8 7 5 4 0 
946 -> 9 8 7 5 4 1 
947 -> 9 8 7 5 4 1 0 
948 -> 9 8 7 5 4 2 
949 -> 9 8 7 5 4 2 0 
950 -> 9 8 7 5 4 2 1 
951 -> 9 8 7 5 4 2 1 0 
952 -> 9 8 7 5 4 3 
953 -> 9 8 7 5 4 3 0 
954 -> 9 8 7 5 4 3 1 
955 -> 9 8 7 5 4 3 1 0 
956 -> 9 8 7 5 4 3 2 
957 -> 9 8 7 5 4 3 2 0 
958 -> 9 8 7 5 4 3 2 1 
959 -> 9 8 7 5 4 3 2 1 0 
960 -> 9 8 7 6 
961 -> 9 8 7 6 0 
962 -> 9 8 7 6 1 
963 -> 9 8 7 6 1 0 
964 -> 9 8 7 6 2 
965 -> 9 8 7 6 2 0 
966 -> 9 8 7 6 2 1 
967 -> 9 8 7 6 2 1 0 
968 -> 9 8 7 6 3 
969 -> 9 8 7 6 3 0 
970 -> 9 8 7 6 3 1 
971 -> 9 8 7 6 3 1 0 
972 -> 9 8 7 6 3 2 
973 -> 9 8 7 6 3 2 0 
974 -> 9 8 7 6 3 2 1 
975 -> 9 8 7 6 3 2 1 0 
976 -> 9 8 7 6 4 
977 -> 9 8 7 6 4 0 
978 -> 9 8 7 6 4 1 
979 -> 9 8 7 6 4 1 0 
980 -> 9 8 7 6 4 2 
981 -> 9 8 7 6 4 2 0 
982 -> 9 8 7 6 4 2 1 
983 -> 9 8 7 6 4 2 1 0 
984 -> 9 8 7 6 4 3 
985 -> 9 8 7 6 4 3 0 
986 -> 9 8 7 6 4 3 1 
987 -> 9 8 7 6 4 3 1 0 
988 -> 9 8 7 6 4 3 2 
989 -> 9 8 7 6 4 3 2 0 
990 -> 9 8 7 6 4 3 2 1 
991 -> 9 8 7 6 4 3 2 1 0 
992 -> 9 8 7 6 5 
993 -> 9 8 7 6 5 0 
994 -> 9 8 7 6 5 1 
995 -> 9 8 7 6 5 1 0 
996 -> 9 8 7 6 5 2 
997 -> 9 8 7 6 5 2 0 
998 -> 9 8 7 6 5 2 1 
999 -> 9 8 7 6 5 2 1 0 
1000 -> 9 8 7 6 5 3 
1001 -> 9 8 7 6 5 3 0 
1002 -> 9 8 7 6 5 3 1 
1003 -> 9 8 7 6 5 3 1 0 
1004 -> 9 8 7 6 5 3 2 
1005 -> 9 8 7 6 5 3 2 0 
1006 -> 9 8 7 6 5 3 2 1 
1007 -> 9 8 7 6 5 3 2 1 0 
1008 -> 9 8 7 6 5 4 
1009 -> 9 8 7 6 5 4 0 
1010 -> 9 8 7 6 5 4 1 
1011 -> 9 8 7 6 5 4 1 0 
1012 -> 9 8 7 6 5 4 2 
1013 -> 9 8 7 6 5 4 2 0 
1014 -> 9 8 7 6 5 4 2 1 
1015 -> 9 8 7 6 5 4 2 1 0 
1016 -> 9 8 7 6 5 4 3 
1017 -> 9 8 7 6 5 4 3 0 
1018 -> 9 8 7 6 5 4 3 1 
1019 -> 9 8 7 6 5 4 3 1 0 
1020 -> 9 8 7 6 5 4 3 2 
1021 -> 9 8 7 6 5 4 3 2 0 
1022 -> 9 8 7 6 5 4 3 2 1 
1023 -> 9 8 7 6 5 4 3 2 1 0 
1024 -> 10 
1025 -> 10 0 
1026 -> 10 1 
1027 -> 10 1 0 
1028 -> 10 2 
1029 -> 10 2 0 
1030 -> 10 2 1 
1031 -> 10 2 1 0 
1032 -> 10 3 
1033 -> 10 3 0 
1034 -> 10 3 1 
1035 -> 10 3 1 0 
1036 -> 10 3 2 
1037 -> 10 3 2 0 
1038 -> 10 3 2 1 
1039 -> 10 3 2 1 0 
1040 -> 10 4 
1041 -> 10 4 0 
1042 -> 10 4 1 
1043 -> 10 4 1 0 
1044 -> 10 4 2 
1045 -> 10 4 2 0 
1046 -> 10 4 2 1 
1047 -> 10 4 2 1 0 
1048 -> 10 4 3 
1049 -> 10 4 3 0 
1050 -> 10 4 3 1 
1051 -> 10 4 3 1 0 
1052 -> 10 4 3 2 
1053 -> 10 4 3 2 0 
1054 -> 10 4 3 2 1 
1055 -> 10 4 3 2 1 0 
1056 -> 10 5 
1057 -> 10 5 0 
1058 -> 10 5 1 
1059 -> 10 5 1 0 
1060 -> 10 5 2 
1061 -> 10 5 2 0 
1062 -> 10 5 2 1 
1063 -> 10 5 2 1 0 
1064 -> 10 5 3 
1065 -> 10 5 3 0 
1066 -> 10 5 3 1 
1067 -> 10 5 3 1 0 
1068 -> 10 5 3 2 
1069 -> 10 5 3 2 0 
1070 -> 10 5 3 2 1 
1071 -> 10 5 3 2 1 0 
1072 -> 10 5 4 
1073 -> 10 5 4 0 
1074 -> 10 5 4 1 
1075 -> 10 5 4 1 0 
1076 -> 10 5 4 2 
1077 -> 10 5 4 2 0 
1078 -> 10 5 4 2 1 
1079 -> 10 5 4 2 1 0 
1080 -> 10 5 4 3 
1081 -> 10 5 4 3 0 
1082 -> 10 5 4 3 1 
1083 -> 10 5 4 3 1 0 
1084 -> 10 5 4 3 2 
1085 -> 10 5 4 3 2 0 
1086 -> 10 5 4 3 2 1 
1087 -> 10 5 4 3 2 1 0 
1088 -> 10 6 
1089 -> 10 6 0 
1090 -> 10 6 1 
1091 -> 10 6 1 0 
1092 -> 10 6 2 
1093 -> 10 6 2 0 
1094 -> 10 6 2 1 
1095 -> 10 6 2 1 0 
1096 -> 10 6 3 
1097 -> 10 6 3 0 
1098 -> 10 6 3 1 
1099 -> 10 6 3 1 0 
1100 -> 10 6 3 2 
1101 -> 10 6 3 2 0 
1102 -> 10 6 3 2 1 
1103 -> 10 6 3 2 1 0 
1104 -> 10 6 4 
1105 -> 10 6 4 0 
1106 -> 10 6 4 1 
1107 -> 10 6 4 1 0 
1108 -> 10 6 4 2 
1109 -> 10 6 4 2 0 
1110 -> 10 6 4 2 1 
1111 -> 10 6 4 2 1 0 
1112 -> 10 6 4 3 
1113 -> 10 6 4 3 0 
1114 -> 10 6 4 3 1 
1115 -> 10 6 4 3 1 0 
1116 -> 10 6 4 3 2 
1117 -> 10 6 4 3 2 0 
1118 -> 10 6 4 3 2 1 
1119 -> 10 6 4 3 2 1 0 
1120 -> 10 6 5 
1121 -> 10 6 5 0 
1122 -> 10 6 5 1 
1123 -> 10 6 5 1 0 
1124 -> 10 6 5 2 
1125 -> 10 6 5 2 0 
1126 -> 10 6 5 2 1 
1127 -> 10 6 5 2 1 0 
1128 -> 10 6 5 3 
1129 -> 10 6 5 3 0 
1130 -> 10 6 5 3 1 
1131 -> 10 6 5 3 1 0 
1132 -> 10 6 5 3 2 
1133 -> 10 6 5 3 2 0 
1134 -> 10 6 5 3 2 1 
1135 -> 10 6 5 3 2 1 0 
1136 -> 10 6 5 4 
1137 -> 10 6 5 4 0 
1138 -> 10 6 5 4 1 
1139 -> 10 6 5 4 1 0 
1140 -> 10 6 5 4 2 
1141 -> 10 6 5 4 2 0 
1142 -> 10 6 5 4 2 1 
1143 -> 10 6 5 4 2 1 0 
1144 -> 10 6 5 4 3 
1145 -> 10 6 5 4 3 0 
1146 -> 10 6 5 4 3 1 
1147 -> 10 6 5 4 3 1 0 
1148 -> 10 6 5 4 3 2 
1149 -> 10 6 5 4 3 2 0 
1150 -> 10 6 5 4 3 2 1 
1151 -> 10 6 5 4 3 2 1 0 
1152 -> 10 7 
1153 -> 10 7 0 
1154 -> 10 7 1 
1155 -> 10 7 1 0 
1156 -> 10 7 2 
1157 -> 10 7 2 0 
1158 -> 10 7 2 1 
1159 -> 10 7 2 1 0 
1160 -> 10 7 3 
1161 -> 10 7 3 0 
1162 -> 10 7 3 1 
1163 -> 10 7 3 1 0 
1164 -> 10 7 3 2 
1165 -> 10 7 3 2 0 
1166 -> 10 7 3 2 1 
1167 -> 10 7 3 2 1 0 
1168 -> 10 7 4 
1169 -> 10 7 4 0 
1170 -> 10 7 4 1 
1171 -> 10 7 4 1 0 
1172 -> 10 7 4 2 
1173 -> 10 7 4 2 0 
1174 -> 10 7 4 2 1 
1175 -> 10 7 4 2 1 0 
1176 -> 10 7 4 3 
1177 -> 10 7 4 3 0 
1178 -> 10 7 4 3 1 
1179 -> 10 7 4 3 1 0 
1180 -> 10 7 4 3 2 
1181 -> 10 7 4 3 2 0 
1182 -> 10 7 4 3 2 1 
1183 -> 10 7 4 3 2 1 0 
1184 -> 10 7 5 
1185 -> 10 7 5 0 
1186 -> 10 7 5 1 
1187 -> 10 7 5 1 0 
1188 -> 10 7 5 2 
1189 -> 10 7 5 2 0 
1190 -> 10 7 5 2 1 
1191 -> 10 7 5 2 1 0 
1192 -> 10 7 5 3 
1193 -> 10 7 5 3 0 
1194 -> 10 7 5 3 1 
1195 -> 10 7 5 3 1 0 
1196 -> 10 7 5 3 2 
1197 -> 10 7 5 3 2 0 
1198 -> 10 7 5 3 2 1 
1199 -> 10 7 5 3 2 1 0 
1200 -> 10 7 5 4 
1201 -> 10 7 5 4 0 
1202 -> 10 7 5 4 1 
1203 -> 10 7 5 4 1 0 
1204 -> 10 7 5 4 2 
1205 -> 10 7 5 4 2 0 
1206 -> 10 7 5 4 2 1 
1207 -> 10 7 5 4 2 1 0 
1208 -> 10 7 5 4 3 
1209 -> 10 7 5 4 3 0 
1210 -> 10 7 5 4 3 1 
1211 -> 10 7 5 4 3 1 0 
1212 -> 10 7 5 4 3 2 
1213 -> 10 7 5 4 3 2 0 
1214 -> 10 7 5 4 3 2 1 
1215 -> 10 7 5 4 3 2 1 0 
1216 -> 10 7 6 
1217 -> 10 7 6 0 
1218 -> 10 7 6 1 
1219 -> 10 7 6 1 0 
1220 -> 10 7 6 2 
1221 -> 10 7 6 2 0 
1222 -> 10 7 6 2 1 
1223 -> 10 7 6 2 1 0 
1224 -> 10 7 6 3 
1225 -> 10 7 6 3 0 
1226 -> 10 7 6 3 1 
1227 -> 10 7 6 3 1 0 
1228 -> 10 7 6 3 2 
1229 -> 10 7 6 3 2 0 
1230 -> 10 7 6 3 2 1 
1231 -> 10 7 6 3 2 1 0 
1232 -> 10 7 6 4 
1233 -> 10 7 6 4 0 
1234 -> 10 7 6 4 1 
1235 -> 10 7 6 4 1 0 
1236 -> 10 7 6 4 2 
1237 -> 10 7 6 4 2 0 
1238 -> 10 7 6 4 2 1 
1239 -> 10 7 6 4 2 1 0 
1240 -> 10 7 6 4 3 
1241 -> 10 7 6 4 3 0 
1242 -> 10 7 6 4 3 1 
1243 -> 10 7 6 4 3 1 0 
1244 -> 10 7 6 4 3 2 
1245 -> 10 7 6 4 3 2 0 
1246 -> 10 7 6 4 3 2 1 
1247 -> 10 7 6 4 3 2 1 0 
1248 -> 10 7 6 5 
1249 -> 10 7 6 5 0 
1250 -> 10 7 6 5 1 
1251 -> 10 7 6 5 1 0 
1252 -> 10 7 6 5 2 
1253 -> 10 7 6 5 2 0 
1254 -> 10 7 6 5 2 1 
1255 -> 10 7 6 5 2 1 0 
1256 -> 10 7 6 5 3 
1257 -> 10 7 6 5 3 0 
1258 -> 10 7 6 5 3 1 
1259 -> 10 7 6 5 3 1 0 
1260 -> 10 7 6 5 3 2 
1261 -> 10 7 6 5 3 2 0 
1262 -> 10 7 6 5 3 2 1 
1263 -> 10 7 6 5 3 2 1 0 
1264 -> 10 7 6 5 4 
1265 -> 10 7 6 5 4 0 
1266 -> 10 7 6 5 4 1 
1267 -> 10 7 6 5 4 1 0 
1268 -> 10 7 6 5 4 2 
1269 -> 10 7 6 5 4 2 0 
1270 -> 10 7 6 5 4 2 1 
1271 -> 10 7 6 5 4 2 1 0 
1272 -> 10 7 6 5 4 3 
1273 -> 10 7 6 5 4 3 0 
1274 -> 10 7 6 5 4 3 1 
1275 -> 10 7 6 5 4 3 1 0 
1276 -> 10 7 6 5 4 3 2 
1277 -> 10 7 6 5 4 3 2 0 
1278 -> 10 7 6 5 4 3 2 1 
1279 -> 10 7 6 5 4 3 2 1 0 
1280 -> 10 8 
1281 -> 10 8 0 
1282 -> 10 8 1 
1283 -> 10 8 1 0 
1284 -> 10 8 2 
1285 -> 10 8 2 0 
1286 -> 10 8 2 1 
1287 -> 10 8 2 1 0 
1288 -> 10 8 3 
1289 -> 10 8 3 0 
1290 -> 10 8 3 1 
1291 -> 10 8 3 1 0 
1292 -> 10 8 3 2 
1293 -> 10 8 3 2 0 
1294 -> 10 8 3 2 1 
1295 -> 10 8 3 2 1 0 
1296 -> 10 8 4 
1297 -> 10 8 4 0 
1298 -> 10 8 4 1 
1299 -> 10 8 4 1 0 
1300 -> 10 8 4 2 
1301 -> 10 8 4 2 0 
1302 -> 10 8 4 2 1 
1303 -> 10 8 4 2 1 0 
1304 -> 10 8 4 3 
1305 -> 10 8 4 3 0 
1306 -> 10 8 4 3 1 
1307 -> 10 8 4 3 1 0 
1308 -> 10 8 4 3 2 
1309 -> 10 8 4 3 2 0 
1310 -> 10 8 4 3 2 1 
1311 -> 10 8 4 3 2 1 0 
1312 -> 10 8 5 
1313 -> 10 8 5 0 
1314 -> 10 8 5 1 
1315 -> 10 8 5 1 0 
1316 -> 10 8 5 2 
1317 -> 10 8 5 2 0 
1318 -> 10 8 5 2 1 
1319 -> 10 8 5 2 1 0 
1320 -> 10 8 5 3 
1321 -> 10 8 5 3 0 
1322 -> 10 8 5 3 1 
1323 -> 10 8 5 3 1 0 
1324 -> 10 8 5 3 2 
1325 -> 10 8 5 3 2 0 
1326 -> 10 8 5 3 2 1 
1327 -> 10 8 5 3 2 1 0 
1328 -> 10 8 5 4 
1329 -> 10 8 5 4 0 
1330 -> 10 8 5 4 1 
1331 -> 10 8 5 4 1 0 
1332 -> 10 8 5 4 2 
1333 -> 10 8 5 4 2 0 
1334 -> 10 8 5 4 2 1 
1335 -> 10 8 5 4 2 1 0 
1336 -> 10 8 5 4 3 
1337 -> 10 8 5 4 3 0 
1338 -> 10 8 5 4 3 1 
1339 -> 10 8 5 4 3 1 0 
1340 -> 10 8 5 4 3 2 
1341 -> 10 8 5 4 3 2 0 
1342 -> 10 8 5 4 3 2 1 
1343 -> 10 8 5 4 3 2 1 0 
1344 -> 10 8 6 
1345 -> 10 8 6 0 
1346 -> 10 8 6 1 
1347 -> 10 8 6 1 0 
1348 -> 10 8 6 2 
1349 -> 10 8 6 2 0 
1350 -> 10 8 6 2 1 
1351 -> 10 8 6 2 1 0 
1352 -> 10 8 6 3 
1353 -> 10 8 6 3 0 
1354 -> 10 8 6 3 1 
1355 -> 10 8 6 3 1 0 
1356 -> 10 8 6 3 2 
1357 -> 10 8 6 3 2 0 
1358 -> 10 8 6 3 2 1 
1359 -> 10 8 6 3 2 1 0 
1360 -> 10 8 6 4 
1361 -> 10 8 6 4 0 
1362 -> 10 8 6 4 1 
1363 -> 10 8 6 4 1 0 
1364 -> 10 8 6 4 2 
1365 -> 10 8 6 4 2 0 
1366 -> 10 8 6 4 2 1 
1367 -> 10 8 6 4 2 1 0 
1368 -> 10 8 6 4 3 
1369 -> 10 8 6 4 3 0 
1370 -> 10 8 6 4 3 1 
1371 -> 10 8 6 4 3 1 0 
1372 -> 10 8 6 4 3 2 
1373 -> 10 8 6 4 3 2 0 
1374 -> 10 8 6 4 3 2 1 
1375 -> 10 8 6 4 3 2 1 0 
1376 -> 10 8 6 5 
1377 -> 10 8 6 5 0 
1378 -> 10 8 6 5 1 
1379 -> 10 8 6 5 1 0 
1380 -> 10 8 6 5 2 
1381 -> 10 8 6 5 2 0 
1382 -> 10 8 6 5 2 1 
1383 -> 10 8 6 5 2 1 0 
1384 -> 10 8 6 5 3 
1385 -> 10 8 6 5 3 0 
1386 -> 10 8 6 5 3 1 
1387 -> 10 8 6 5 3 1 0 
1388 -> 10 8 6 5 3 2 
1389 -> 10 8 6 5 3 2 0 
1390 -> 10 8 6 5 3 2 1 
1391 -> 10 8 6 5 3 2 1 0 
1392 -> 10 8 6 5 4 
1393 -> 10 8 6 5 4 0 
1394 -> 10 8 6 5 4 1 
1395 -> 10 8 6 5 4 1 0 
1396 -> 10 8 6 5 4 2 
1397 -> 10 8 6 5 4 2 0 
1398 -> 10 8 6 5 4 2 1 
1399 -> 10 8 6 5 4 2 1 0 
1400 -> 10 8 6 5 4 3 
1401 -> 10 8 6 5 4 3 0 
1402 -> 10 8 6 5 4 3 1 
1403 -> 10 8 6 5 4 3 1 0 
1404 -> 10 8 6 5 4 3 2 
1405 -> 10 8 6 5 4 3 2 0 
1406 -> 10 8 6 5 4 3 2 1 
1407 -> 10 8 6 5 4 3 2 1 0 
1408 -> 10 8 7 
1409 -> 10 8 7 0 
1410 -> 10 8 7 1 
1411 -> 10 8 7 1 0 
1412 -> 10 8 7 2 
1413 -> 10 8 7 2 0 
1414 -> 10 8 7 2 1 
1415 -> 10 8 7 2 1 0 
1416 -> 10 8 7 3 
1417 -> 10 8 7 3 0 
1418 -> 10 8 7 3 1 
1419 -> 10 8 7 3 1 0 
1420 -> 10 8 7 3 2 
1421 -> 10 8 7 3 2 0 
1422 -> 10 8 7 3 2 1 
1423 -> 10 8 7 3 2 1 0 
1424 -> 10 8 7 4 
1425 -> 10 8 7 4 0 
1426 -> 10 8 7 4 1 
1427 -> 10 8 7 4 1 0 
1428 -> 10 8 7 4 2 
1429 -> 10 8 7 4 2 0 
1430 -> 10 8 7 4 2 1 
1431 -> 10 8 7 4 2 1 0 
1432 -> 10 8 7 4 3 
1433 -> 10 8 7 4 3 0 
1434 -> 10 8 7 4 3 1 
1435 -> 10 8 7 4 3 1 0 
1436 -> 10 8 7 4 3 2 
1437 -> 10 8 7 4 3 2 0 
1438 -> 10 8 7 4 3 2 1 
1439 -> 10 8 7 4 3 2 1 0 
1440 -> 10 8 7 5 
1441 -> 10 8 7 5 0 
1442 -> 10 8 7 5 1 
1443 -> 10 8 7 5 1 0 
1444 -> 10 8 7 5 2 
1445 -> 10 8 7 5 2 0 
1446 -> 10 8 7 5 2 1 
1447 -> 10 8 7 5 2 1 0 
1448 -> 10 8 7 5 3 
1449 -> 10 8 7 5 3 0 
1450 -> 10 8 7 5 3 1 
1451 -> 10 8 7 5 3 1 0 
1452 -> 10 8 7 5 3 2 
1453 -> 10 8 7 5 3 2 0 
1454 -> 10 8 7 5 3 2 1 
1455 -> 10 8 7 5 3 2 1 0 
1456 -> 10 8 7 5 4 
1457 -> 10 8 7 5 4 0 
1458 -> 10 8 7 5 4 1 
1459 -> 10 8 7 5 4 1 0 
1460 -> 10 8 7 5 4 2 
1461 -> 10 8 7 5 4 2 0 
1462 -> 10 8 7 5 4 2 1 
1463 -> 10 8 7 5 4 2 1 0 
1464 -> 10 8 7 5 4 3 
1465 -> 10 8 7 5 4 3 0 
1466 -> 10 8 7 5 4 3 1 
1467 -> 10 8 7 5 4 3 1 0 
1468 -> 10 8 7 5 4 3 2 
1469 -> 10 8 7 5 4 3 2 0 
1470 -> 10 8 7 5 4 3 2 1 
1471 -> 10 8 7 5 4 3 2 1 0 
1472 -> 10 8 7 6 
1473 -> 10 8 7 6 0 
1474 -> 10 8 7 6 1 
1475 -> 10 8 7 6 1 0 
1476 -> 10 8 7 6 2 
1477 -> 10 8 7 6 2 0 
1478 -> 10 8 7 6 2 1 
1479 -> 10 8 7 6 2 1 0 
1480 -> 10 8 7 6 3 
1481 -> 10 8 7 6 3 0 
1482 -> 10 8 7 6 3 1 
1483 -> 10 8 7 6 3 1 0 
1484 -> 10 8 7 6 3 2 
1485 -> 10 8 7 6 3 2 0 
1486 -> 10 8 7 6 3 2 1 
1487 -> 10 8 7 6 3 2 1 0 
1488 -> 10 8 7 6 4 
1489 -> 10 8 7 6 4 0 
1490 -> 10 8 7 6 4 1 
1491 -> 10 8 7 6 4 1 0 
1492 -> 10 8 7 6 4 2 
1493 -> 10 8 7 6 4 2 0 
1494 -> 10 8 7 6 4 2 1 
1495 -> 10 8 7 6 4 2 1 0 
1496 -> 10 8 7 6 4 3 
1497 -> 10 8 7 6 4 3 0 
1498 -> 10 8 7 6 4 3 1 
1499 -> 10 8 7 6 4 3 1 0 
1500 -> 10 8 7 6 4 3 2 
1501 -> 10 8 7 6 4 3 2 0 
1502 -> 10 8 7 6 4 3 2 1 
1503 -> 10 8 7 6 4 3 2 1 0 
1504 -> 10 8 7 6 5 
1505 -> 10 8 7 6 5 0 
1506 -> 10 8 7 6 5 1 
1507 -> 10 8 7 6 5 1 0 
1508 -> 10 8 7 6 5 2 
1509 -> 10 8 7 6 5 2 0 
1510 -> 10 8 7 6 5 2 1 
1511 -> 10 8 7 6 5 2 1 0 
1512 -> 10 8 7 6 5 3 
1513 -> 10 8 7 6 5 3 0 
1514 -> 10 8 7 6 5 3 1 
1515 -> 10 8 7 6 5 3 1 0 
1516 -> 10 8 7 6 5 3 2 
1517 -> 10 8 7 6 5 3 2 0 
1518 -> 10 8 7 6 5 3 2 1 
1519 -> 10 8 7 6 5 3 2 1 0 
1520 -> 10 8 7 6 5 4 
1521 -> 10 8 7 6 5 4 0 
1522 -> 10 8 7 6 5 4 1 
1523 -> 10 8 7 6 5 4 1 0 
1524 -> 10 8 7 6 5 4 2 
1525 -> 10 8 7 6 5 4 2 0 
1526 -> 10 8 7 6 5 4 2 1 
1527 -> 10 8 7 6 5 4 2 1 0 
1528 -> 10 8 7 6 5 4 3 
1529 -> 10 8 7 6 5 4 3 0 
1530 -> 10 8 7 6 5 4 3 1 
1531 -> 10 8 7 6 5 4 3 1 0 
1532 -> 10 8 7 6 5 4 3 2 
1533 -> 10 8 7 6 5 4 3 2 0 
1534 -> 10 8 7 6 5 4 3 2 1 
1535 -> 10 8 7 6 5 4 3 2 1 0 
1536 -> 10 9 
1537 -> 10 9 0 
1538 -> 10 9 1 
1539 -> 10 9 1 0 
1540 -> 10 9 2 
1541 -> 10 9 2 0 
1542 -> 10 9 2 1 
1543 -> 10 9 2 1 0 
1544 -> 10 9 3 
1545 -> 10 9 3 0 
1546 -> 10 9 3 1 
1547 -> 10 9 3 1 0 
1548 -> 10 9 3 2 
1549 -> 10 9 3 2 0 
1550 -> 10 9 3 2 1 
1551 -> 10 9 3 2 1 0 
1552 -> 10 9 4 
1553 -> 10 9 4 0 
1554 -> 10 9 4 1 
1555 -> 10 9 4 1 0 
1556 -> 10 9 4 2 
1557 -> 10 9 4 2 0 
1558 -> 10 9 4 2 1 
1559 -> 10 9 4 2 1 0 
1560 -> 10 9 4 3 
1561 -> 10 9 4 3 0 
1562 -> 10 9 4 3 1 
1563 -> 10 9 4 3 1 0 
1564 -> 10 9 4 3 2 
1565 -> 10 9 4 3 2 0 
1566 -> 10 9 4 3 2 1 
1567 -> 10 9 4 3 2 1 0 
1568 -> 10 9 5 
1569 -> 10 9 5 0 
1570 -> 10 9 5 1 
1571 -> 10 9 5 1 0 
1572 -> 10 9 5 2 
1573 -> 10 9 5 2 0 
1574 -> 10 9 5 2 1 
1575 -> 10 9 5 2 1 0 
1576 -> 10 9 5 3 
1577 -> 10 9 5 3 0 
1578 -> 10 9 5 3 1 
1579 -> 10 9 5 3 1 0 
1580 -> 10 9 5 3 2 
1581 -> 10 9 5 3 2 0 
1582 -> 10 9 5 3 2 1 
1583 -> 10 9 5 3 2 1 0 
1584 -> 10 9 5 4 
1585 -> 10 9 5 4 0 
1586 -> 10 9 5 4 1 
1587 -> 10 9 5 4 1 0 
1588 -> 10 9 5 4 2 
1589 -> 10 9 5 4 2 0 
1590 -> 10 9 5 4 2 1 
1591 -> 10 9 5 4 2 1 0 
1592 -> 10 9 5 4 3 
1593 -> 10 9 5 4 3 0 
1594 -> 10 9 5 4 3 1 
1595 -> 10 9 5 4 3 1 0 
1596 -> 10 9 5 4 3 2 
1597 -> 10 9 5 4 3 2 0 
1598 -> 10 9 5 4 3 2 1 
1599 -> 10 9 5 4 3 2 1 0 
1600 -> 10 9 6 
1601 -> 10 9 6 0 
1602 -> 10 9 6 1 
1603 -> 10 9 6 1 0 
1604 -> 10 9 6 2 
1605 -> 10 9 6 2 0 
1606 -> 10 9 6 2 1 
1607 -> 10 9 6 2 1 0 
1608 -> 10 9 6 3 
1609 -> 10 9 6 3 0 
1610 -> 10 9 6 3 1 
1611 -> 10 9 6 3 1 0 
1612 -> 10 9 6 3 2 
1613 -> 10 9 6 3 2 0 
1614 -> 10 9 6 3 2 1 
1615 -> 10 9 6 3 2 1 0 
1616 -> 10 9 6 4 
1617 -> 10 9 6 4 0 
1618 -> 10 9 6 4 1 
1619 -> 10 9 6 4 1 0 
1620 -> 10 9 6 4 2 
1621 -> 10 9 6 4 2 0 
1622 -> 10 9 6 4 2 1 
1623 -> 10 9 6 4 2 1 0 
1624 -> 10 9 6 4 3 
1625 -> 10 9 6 4 3 0 
1626 -> 10 9 6 4 3 1 
1627 -> 10 9 6 4 3 1 0 
1628 -> 10 9 6 4 3 2 
1629 -> 10 9 6 4 3 2 0 
1630 -> 10 9 6 4 3 2 1 
1631 -> 10 9 6 4 3 2 1 0 
1632 -> 10 9 6 5 
1633 -> 10 9 6 5 0 
1634 -> 10 9 6 5 1 
1635 -> 10 9 6 5 1 0 
1636 -> 10 9 6 5 2 
1637 -> 10 9 6 5 2 0 
1638 -> 10 9 6 5 2 1 
1639 -> 10 9 6 5 2 1 0 
1640 -> 10 9 6 5 3 
1641 -> 10 9 6 5 3 0 
1642 -> 10 9 6 5 3 1 
1643 -> 10 9 6 5 3 1 0 
1644 -> 10 9 6 5 3 2 
1645 -> 10 9 6 5 3 2 0 
1646 -> 10 9 6 5 3 2 1 
1647 -> 10 9 6 5 3 2 1 0 
1648 -> 10 9 6 5 4 
1649 -> 10 9 6 5 4 0 
1650 -> 10 9 6 5 4 1 
1651 -> 10 9 6 5 4 1 0 
1652 -> 10 9 6 5 4 2 
1653 -> 10 9 6 5 4 2 0 
1654 -> 10 9 6 5 4 2 1 
1655 -> 10 9 6 5 4 2 1 0 
1656 -> 10 9 6 5 4 3 
1657 -> 10 9 6 5 4 3 0 
1658 -> 10 9 6 5 4 3 1 
1659 -> 10 9 6 5 4 3 1 0 
1660 -> 10 9 6 5 4 3 2 
1661 -> 10 9 6 5 4 3 2 0 
1662 -> 10 9 6 5 4 3 2 1 
1663 -> 10 9 6 5 4 3 2 1 0 
1664 -> 10 9 7 
1665 -> 10 9 7 0 
1666 -> 10 9 7 1 
1667 -> 10 9 7 1 0 
1668 -> 10 9 7 2 
1669 -> 10 9 7 2 0 
1670 -> 10 9 7 2 1 
1671 -> 10 9 7 2 1 0 
1672 -> 10 9 7 3 
1673 -> 10 9 7 3 0 
1674 -> 10 9 7 3 1 
1675 -> 10 9 7 3 1 0 
1676 -> 10 9 7 3 2 
1677 -> 10 9 7 3 2 0 
1678 -> 10 9 7 3 2 1 
1679 -> 10 9 7 3 2 1 0 
1680 -> 10 9 7 4 
1681 -> 10 9 7 4 0 
1682 -> 10 9 7 4 1 
1683 -> 10 9 7 4 1 0 
1684 -> 10 9 7 4 2 
1685 -> 10 9 7 4 2 0 
1686 -> 10 9 7 4 2 1 
1687 -> 10 9 7 4 2 1 0 
1688 -> 10 9 7 4 3 
1689 -> 10 9 7 4 3 0 
1690 -> 10 9 7 4 3 1 
1691 -> 10 9 7 4 3 1 0 
1692 -> 10 9 7 4 3 2 
1693 -> 10 9 7 4 3 2 0 
1694 -> 10 9 7 4 3 2 1 
1695 -> 10 9 7 4 3 2 1 0 
1696 -> 10 9 7 5 
1697 -> 10 9 7 5 0 
1698 -> 10 9 7 5 1 
1699 -> 10 9 7 5 1 0 
1700 -> 10 9 7 5 2 
1701 -> 10 9 7 5 2 0 
1702 -> 10 9 7 5 2 1 
1703 -> 10 9 7 5 2 1 0 
1704 -> 10 9 7 5 3 
1705 -> 10 9 7 5 3 0 
1706 -> 10 9 7 5 3 1 
1707 -> 10 9 7 5 3 1 0 
1708 -> 10 9 7 5 3 2 
1709 -> 10 9 7 5 3 2 0 
1710 -> 10 9 7 5 3 2 1 
1711 -> 10 9 7 5 3 2 1 0 
1712 -> 10 9 7 5 4 
1713 -> 10 9 7 5 4 0 
1714 -> 10 9 7 5 4 1 
1715 -> 10 9 7 5 4 1 0 
1716 -> 10 9 7 5 4 2 
1717 -> 10 9 7 5 4 2 0 
1718 -> 10 9 7 5 4 2 1 
1719 -> 10 9 7 5 4 2 1 0 
1720 -> 10 9 7 5 4 3 
1721 -> 10 9 7 5 4 3 0 
1722 -> 10 9 7 5 4 3 1 
1723 -> 10 9 7 5 4 3 1 0 
1724 -> 10 9 7 5 4 3 2 
1725 -> 10 9 7 5 4 3 2 0 
1726 -> 10 9 7 5 4 3 2 1 
1727 -> 10 9 7 5 4 3 2 1 0 
1728 -> 10 9 7 6 
1729 -> 10 9 7 6 0 
1730 -> 10 9 7 6 1 
1731 -> 10 9 7 6 1 0 
1732 -> 10 9 7 6 2 
1733 -> 10 9 7 6 2 0 
1734 -> 10 9 7 6 2 1 
1735 -> 10 9 7 6 2 1 0 
1736 -> 10 9 7 6 3 
1737 -> 10 9 7 6 3 0 
1738 -> 10 9 7 6 3 1 
1739 -> 10 9 7 6 3 1 0 
1740 -> 10 9 7 6 3 2 
1741 -> 10 9 7 6 3 2 0 
1742 -> 10 9 7 6 3 2 1 
1743 -> 10 9 7 6 3 2 1 0 
1744 -> 10 9 7 6 4 
1745 -> 10 9 7 6 4 0 
1746 -> 10 9 7 6 4 1 
1747 -> 10 9 7 6 4 1 0 
1748 -> 10 9 7 6 4 2 
1749 -> 10 9 7 6 4 2 0 
1750 -> 10 9 7 6 4 2 1 
1751 -> 10 9 7 6 4 2 1 0 
1752 -> 10 9 7 6 4 3 
1753 -> 10 9 7 6 4 3 0 
1754 -> 10 9 7 6 4 3 1 
1755 -> 10 9 7 6 4 3 1 0 
1756 -> 10 9 7 6 4 3 2 
1757 -> 10 9 7 6 4 3 2 0 
1758 -> 10 9 7 6 4 3 2 1 
1759 -> 10 9 7 6 4 3 2 1 0 
1760 -> 10 9 7 6 5 
1761 -> 10 9 7 6 5 0 
1762 -> 10 9 7 6 5 1 
1763 -> 10 9 7 6 5 1 0 
1764 -> 10 9 7 6 5 2 
1765 -> 10 9 7 6 5 2 0 
1766 -> 10 9 7 6 5 2 1 
1767 -> 10 9 7 6 5 2 1 0 
1768 -> 10 9 7 6 5 3 
1769 -> 10 9 7 6 5 3 0 
1770 -> 10 9 7 6 5 3 1 
1771 -> 10 9 7 6 5 3 1 0 
1772 -> 10 9 7 6 5 3 2 
1773 -> 10 9 7 6 5 3 2 0 
1774 -> 10 9 7 6 5 3 2 1 
1775 -> 10 9 7 6 5 3 2 1 0 
1776 -> 10 9 7 6 5 4 
1777 -> 10 9 7 6 5 4 0 
1778 -> 10 9 7 6 5 4 1 
1779 -> 10 9 7 6 5 4 1 0 
1780 -> 10 9 7 6 5 4 2 
1781 -> 10 9 7 6 5 4 2 0 
1782 -> 10 9 7 6 5 4 2 1 
1783 -> 10 9 7 6 5 4 2 1 0 
1784 -> 10 9 7 6 5 4 3 
1785 -> 10 9 7 6 5 4 3 0 
1786 -> 10 9 7 6 5 4 3 1 
1787 -> 10 9 7 6 5 4 3 1 0 
1788 -> 10 9 7 6 5 4 3 2 
1789 -> 10 9 7 6 5 4 3 2 0 
1790 -> 10 9 7 6 5 4 3 2 1 
1791 -> 10 9 7 6 5 4 3 2 1 0 
1792 -> 10 9 8 
1793 -> 10 9 8 0 
1794 -> 10 9 8 1 
1795 -> 10 9 8 1 0 
1796 -> 10 9 8 2 
1797 -> 10 9 8 2 0 
1798 -> 10 9 8 2 1 
1799 -> 10 9 8 2 1 0 
1800 -> 10 9 8 3 
1801 -> 10 9 8 3 0 
1802 -> 10 9 8 3 1 
1803 -> 10 9 8 3 1 0 
1804 -> 10 9 8 3 2 
1805 -> 10 9 8 3 2 0 
1806 -> 10 9 8 3 2 1 
1807 -> 10 9 8 3 2 1 0 
1808 -> 10 9 8 4 
1809 -> 10 9 8 4 0 
1810 -> 10 9 8 4 1 
1811 -> 10 9 8 4 1 0 
1812 -> 10 9 8 4 2 
1813 -> 10 9 8 4 2 0 
1814 -> 10 9 8 4 2 1 
1815 -> 10 9 8 4 2 1 0 
1816 -> 10 9 8 4 3 
1817 -> 10 9 8 4 3 0 
1818 -> 10 9 8 4 3 1 
1819 -> 10 9 8 4 3 1 0 
1820 -> 10 9 8 4 3 2 
1821 -> 10 9 8 4 3 2 0 
1822 -> 10 9 8 4 3 2 1 
1823 -> 10 9 8 4 3 2 1 0 
1824 -> 10 9 8 5 
1825 -> 10 9 8 5 0 
1826 -> 10 9 8 5 1 
1827 -> 10 9 8 5 1 0 
1828 -> 10 9 8 5 2 
1829 -> 10 9 8 5 2 0 
1830 -> 10 9 8 5 2 1 
1831 -> 10 9 8 5 2 1 0 
1832 -> 10 9 8 5 3 
1833 -> 10 9 8 5 3 0 
1834 -> 10 9 8 5 3 1 
1835 -> 10 9 8 5 3 1 0 
1836 -> 10 9 8 5 3 2 
1837 -> 10 9 8 5 3 2 0 
1838 -> 10 9 8 5 3 2 1 
1839 -> 10 9 8 5 3 2 1 0 
1840 -> 10 9 8 5 4 
1841 -> 10 9 8 5 4 0 
1842 -> 10 9 8 5 4 1 
1843 -> 10 9 8 5 4 1 0 
1844 -> 10 9 8 5 4 2 
1845 -> 10 9 8 5 4 2 0 
1846 -> 10 9 8 5 4 2 1 
1847 -> 10 9 8 5 4 2 1 0 
1848 -> 10 9 8 5 4 3 
1849 -> 10 9 8 5 4 3 0 
1850 -> 10 9 8 5 4 3 1 
1851 -> 10 9 8 5 4 3 1 0 
1852 -> 10 9 8 5 4 3 2 
1853 -> 10 9 8 5 4 3 2 0 
1854 -> 10 9 8 5 4 3 2 1 
1855 -> 10 9 8 5 4 3 2 1 0 
1856 -> 10 9 8 6 
1857 -> 10 9 8 6 0 
1858 -> 10 9 8 6 1 
1859 -> 10 9 8 6 1 0 
1860 -> 10 9 8 6 2 
1861 -> 10 9 8 6 2 0 
1862 -> 10 9 8 6 2 1 
1863 -> 10 9 8 6 2 1 0 
1864 -> 10 9 8 6 3 
1865 -> 10 9 8 6 3 0 
1866 -> 10 9 8 6 3 1 
1867 -> 10 9 8 6 3 1 0 
1868 -> 10 9 8 6 3 2 
1869 -> 10 9 8 6 3 2 0 
1870 -> 10 9 8 6 3 2 1 
1871 -> 10 9 8 6 3 2 1 0 
1872 -> 10 9 8 6 4 
1873 -> 10 9 8 6 4 0 
1874 -> 10 9 8 6 4 1 
1875 -> 10 9 8 6 4 1 0 
1876 -> 10 9 8 6 4 2 
1877 -> 10 9 8 6 4 2 0 
1878 -> 10 9 8 6 4 2 1 
1879 -> 10 9 8 6 4 2 1 0 
1880 -> 10 9 8 6 4 3 
1881 -> 10 9 8 6 4 3 0 
1882 -> 10 9 8 6 4 3 1 
1883 -> 10 9 8 6 4 3 1 0 
1884 -> 10 9 8 6 4 3 2 
1885 -> 10 9 8 6 4 3 2 0 
1886 -> 10 9 8 6 4 3 2 1 
1887 -> 10 9 8 6 4 3 2 1 0 
1888 -> 10 9 8 6 5 
1889 -> 10 9 8 6 5 0 
1890 -> 10 9 8 6 5 1 
1891 -> 10 9 8 6 5 1 0 
1892 -> 10 9 8 6 5 2 
1893 -> 10 9 8 6 5 2 0 
1894 -> 10 9 8 6 5 2 1 
1895 -> 10 9 8 6 5 2 1 0 
1896 -> 10 9 8 6 5 3 
1897 -> 10 9 8 6 5 3 0 
1898 -> 10 9 8 6 5 3 1 
1899 -> 10 9 8 6 5 3 1 0 
1900 -> 10 9 8 6 5 3 2 
1901 -> 10 9 8 6 5 3 2 0 
1902 -> 10 9 8 6 5 3 2 1 
1903 -> 10 9 8 6 5 3 2 1 0 
1904 -> 10 9 8 6 5 4 
1905 -> 10 9 8 6 5 4 0 
1906 -> 10 9 8 6 5 4 1 
1907 -> 10 9 8 6 5 4 1 0 
1908 -> 10 9 8 6 5 4 2 
1909 -> 10 9 8 6 5 4 2 0 
1910 -> 10 9 8 6 5 4 2 1 
1911 -> 10 9 8 6 5 4 2 1 0 
1912 -> 10 9 8 6 5 4 3 
1913 -> 10 9 8 6 5 4 3 0 
1914 -> 10 9 8 6 5 4 3 1 
1915 -> 10 9 8 6 5 4 3 1 0 
1916 -> 10 9 8 6 5 4 3 2 
1917 -> 10 9 8 6 5 4 3 2 0 
1918 -> 10 9 8 6 5 4 3 2 1 
1919 -> 10 9 8 6 5 4 3 2 1 0 
1920 -> 10 9 8 7 
1921 -> 10 9 8 7 0 
1922 -> 10 9 8 7 1 
1923 -> 10 9 8 7 1 0 
1924 -> 10 9 8 7 2 
1925 -> 10 9 8 7 2 0 
1926 -> 10 9 8 7 2 1 
1927 -> 10 9 8 7 2 1 0 
1928 -> 10 9 8 7 3 
1929 -> 10 9 8 7 3 0 
1930 -> 10 9 8 7 3 1 
1931 -> 10 9 8 7 3 1 0 
1932 -> 10 9 8 7 3 2 
1933 -> 10 9 8 7 3 2 0 
1934 -> 10 9 8 7 3 2 1 
1935 -> 10 9 8 7 3 2 1 0 
1936 -> 10 9 8 7 4 
1937 -> 10 9 8 7 4 0 
1938 -> 10 9 8 7 4 1 
1939 -> 10 9 8 7 4 1 0 
1940 -> 10 9 8 7 4 2 
1941 -> 10 9 8 7 4 2 0 
1942 -> 10 9 8 7 4 2 1 
1943 -> 10 9 8 7 4 2 1 0 
1944 -> 10 9 8 7 4 3 
1945 -> 10 9 8 7 4 3 0 
1946 -> 10 9 8 7 4 3 1 
1947 -> 10 9 8 7 4 3 1 0 
1948 -> 10 9 8 7 4 3 2 
1949 -> 10 9 8 7 4 3 2 0 
1950 -> 10 9 8 7 4 3 2 1 
1951 -> 10 9 8 7 4 3 2 1 0 
1952 -> 10 9 8 7 5 
1953 -> 10 9 8 7 5 0 
1954 -> 10 9 8 7 5 1 
1955 -> 10 9 8 7 5 1 0 
1956 -> 10 9 8 7 5 2 
1957 -> 10 9 8 7 5 2 0 
1958 -> 10 9 8 7 5 2 1 
1959 -> 10 9 8 7 5 2 1 0 
1960 -> 10 9 8 7 5 3 
1961 -> 10 9 8 7 5 3 0 
1962 -> 10 9 8 7 5 3 1 
1963 -> 10 9 8 7 5 3 1 0 
1964 -> 10 9 8 7 5 3 2 
1965 -> 10 9 8 7 5 3 2 0 
1966 -> 10 9 8 7 5 3 2 1 
1967 -> 10 9 8 7 5 3 2 1 0 
1968 -> 10 9 8 7 5 4 
1969 -> 10 9 8 7 5 4 0 
1970 -> 10 9 8 7 5 4 1 
1971 -> 10 9 8 7 5 4 1 0 
1972 -> 10 9 8 7 5 4 2 
1973 -> 10 9 8 7 5 4 2 0 
1974 -> 10 9 8 7 5 4 2 1 
1975 -> 10 9 8 7 5 4 2 1 0 
1976 -> 10 9 8 7 5 4 3 
1977 -> 10 9 8 7 5 4 3 0 
1978 -> 10 9 8 7 5 4 3 1 
1979 -> 10 9 8 7 5 4 3 1 0 
1980 -> 10 9 8 7 5 4 3 2 
1981 -> 10 9 8 7 5 4 3 2 0 
1982 -> 10 9 8 7 5 4 3 2 1 
1983 -> 10 9 8 7 5 4 3 2 1 0 
1984 -> 10 9 8 7 6 
1985 -> 10 9 8 7 6 0 
1986 -> 10 9 8 7 6 1 
1987 -> 10 9 8 7 6 1 0 
1988 -> 10 9 8 7 6 2 
1989 -> 10 9 8 7 6 2 0 
1990 -> 10 9 8 7 6 2 1 
1991 -> 10 9 8 7 6 2 1 0 
1992 -> 10 9 8 7 6 3 
1993 -> 10 9 8 7 6 3 0 
1994 -> 10 9 8 7 6 3 1 
1995 -> 10 9 8 7 6 3 1 0 
1996 -> 10 9 8 7 6 3 2 
1997 -> 10 9 8 7 6 3 2 0 
1998 -> 10 9 8 7 6 3 2 1 
1999 -> 10 9 8 7 6 3 2 1 0 
2000 -> 10 9 8 7 6 4 
2001 -> 10 9 8 7 6 4 0 
2002 -> 10 9 8 7 6 4 1 
2003 -> 10 9 8 7 6 4 1 0 
2004 -> 10 9 8 7 6 4 2 
2005 -> 10 9 8 7 6 4 2 0 
2006 -> 10 9 8 7 6 4 2 1 
2007 -> 10 9 8 7 6 4 2 1 0 
2008 -> 10 9 8 7 6 4 3 
2009 -> 10 9 8 7 6 4 3 0 
2010 -> 10 9 8 7 6 4 3 1 
2011 -> 10 9 8 7 6 4 3 1 0 
2012 -> 10 9 8 7 6 4 3 2 
2013 -> 10 9 8 7 6 4 3 2 0 
2014 -> 10 9 8 7 6 4 3 2 1 
2015 -> 10 9 8 7 6 4 3 2 1 0 
2016 -> 10 9 8 7 6 5 
2017 -> 10 9 8 7 6 5 0 
2018 -> 10 9 8 7 6 5 1 
2019 -> 10 9 8 7 6 5 1 0 
2020 -> 10 9 8 7 6 5 2 
2021 -> 10 9 8 7 6 5 2 0 
2022 -> 10 9 8 7 6 5 2 1 
2023 -> 10 9 8 7 6 5 2 1 0 
2024 -> 10 9 8 7 6 5 3 
2025 -> 10 9 8 7 6 5 3 0 
2026 -> 10 9 8 7 6 5 3 1 
2027 -> 10 9 8 7 6 5 3 1 0 
2028 -> 10 9 8 7 6 5 3 2 
2029 -> 10 9 8 7 6 5 3 2 0 
2030 -> 10 9 8 7 6 5 3 2 1 
2031 -> 10 9 8 7 6 5 3 2 1 0 
2032 -> 10 9 8 7 6 5 4 
2033 -> 10 9 8 7 6 5 4 0 
2034 -> 10 9 8 7 6 5 4 1 
2035 -> 10 9 8 7 6 5 4 1 0 
2036 -> 10 9 8 7 6 5 4 2 
2037 -> 10 9 8 7 6 5 4 2 0 
2038 -> 10 9 8 7 6 5 4 2 1 
2039 -> 10 9 8 7 6 5 4 2 1 0 
2040 -> 10 9 8 7 6 5 4 3 
2041 -> 10 9 8 7 6 5 4 3 0 
2042 -> 10 9 8 7 6 5 4 3 1 
2043 -> 10 9 8 7 6 5 4 3 1 0 
2044 -> 10 9 8 7 6 5 4 3 2 
2045 -> 10 9 8 7 6 5 4 3 2 0 
2046 -> 10 9 8 7 6 5 4 3 2 1 
2047 -> 10 9 8 7 6 5 4 3 2 1 0