1 0
2 3
3 6
4 30
5 60
6 63
7 300
8 306
9 600
10 603
11 630
12 3000
13 3006
14 3060
15 6000
16 6003
17 6030
18 6300
19 30000
20 30006
21 30060
22 30600
23 60000
24 60003
25 60030
26 60300
27 63000
28 63037
29 79603
30 300000
31 300006
32 300060
33 300600
34 306000
35 600000
36 600003
37 600030
38 600300
39 603000
40 630000
41 630370
42 796030
43 796076
44 3000000
45 3000006
46 3000060
47 3000600
48 3006000
49 3060000
50 6000000
51 6000003
52 6000030
53 6000300
54 6003000
55 6030000
56 6063637
57 6300000
58 6303700
59 7769603
60 7793397
61 7960300
62 7960760
63 7996003
64 30000000
65 30000006
66 30000060
67 30000600
68 30006000
69 30060000
70 30600000
71 30600603
72 60000000
73 60000003
74 60000030
75 60000300
76 60003000
77 60030000
78 60300000
79 60636370
80 63000000
81 63037000
82 63069063
83 77696030
84 77933970
85 79603000
86 79607600
87 79960030
88 79960676
89 96609037
90 96797676
91 96903937
92 96936063
93 300000000
94 300000006
95 300000060
96 300000600
97 300006000
98 300060000
99 300600000
100 300606003
101 306000000
102 306000603
103 306006030
104 600000000
105 600000003
106 600000030
107 600000300
108 600003000
109 600030000
110 600300000
111 603000000
112 603000306
113 603067963
114 603070397
115 606363700
116 607997037
117 630000000
118 630076963
119 630370000
120 630609063
121 630666003
122 630690630
123 776960300
124 779339700
125 796030000
126 796076000
127 797939076
128 797973037
129 799600300
130 799606003
131 799606760
132 799960003
133 966090370
134 967976760
135 969039370
136 969360630
137 3000000000
138 3000000006
139 3000000060
140 3000000600
141 3000006000
142 3000060000
143 3000600000
144 3006000000
145 3006060030
146 3060000000
147 3060000603
148 3060006030
149 3060060300
150 6000000000
151 6000000003
152 6000000030
153 6000000300
154 6000003000
155 6000030000
156 6000300000
157 6003000000
158 6030000000
159 6030000306
160 6030003060
161 6030679630
162 6030703970
163 6063637000
164 6079970370
165 6300000000
166 6300769630
167 6303700000
168 6306090630
169 6306660030
170 6306906300
171 7767693397
172 7769603000
173 7769770306
174 7793397000
175 7939609397
176 7960300000
177 7960760000
178 7979390760
179 7979730370
180 7996003000
181 7996060030
182 7996067600
183 7999600030
184 9660903700
185 9679767600
186 9690393700
187 9693606300
188 30000000000
189 30000000006
190 30000000060
191 30000000600
192 30000006000
193 30000060000
194 30000600000
195 30006000000
196 30006060003
197 30060000000
198 30060006003
199 30060600300
200 30600000000
201 30600000603
202 30600006030
203 30600060300
204 30600603000
205 30606760676
206 60000000000
207 60000000003
208 60000000030
209 60000000300
210 60000003000
211 60000030000
212 60000300000
213 60003000000
214 60003030006
215 60030000000
216 60300000000
217 60300000306
218 60300003060
219 60300030600
220 60306796300
221 60306990306
222 60307039700
223 60636370000
224 60770063937
225 60799703700
226 60907369037
227 63000000000
228 63007696300
229 63037000000
230 63060906300
231 63066600300
232 63069063000
233 77676933970
234 77696030000
235 77697703060
236 77933970000
237 79396093970
238 79397336063
239 79603000000
240 79607600000
241 79607639937
242 79793907600
243 79797303700
244 79960030000
245 79960600300
246 79960676000
247 79996000300
248 79999600003
249 96609037000
250 96793996076
251 96797676000
252 96903937000
253 96936063000
254 99667903363
255 300000000000
256 300000000006
257 300000000060
258 300000000600
259 300000006000
260 300000060000
261 300000600000
262 300006000000
263 300060000000
264 300060060003
265 300060600030
266 300600000000
267 300600006003
268 300600060030
269 300606003000
270 306000000000
271 306000000603
272 306000006030
273 306000060300
274 306000603000
275 306006030000
276 306066600003
277 306067606760
278 309936763937
279 600000000000
280 600000000003
281 600000000030
282 600000000300
283 600000003000
284 600000030000
285 600000300000
286 600003000000
287 600030000000
288 600030300060
289 600300000000
290 600300003006
291 603000000000
292 603000000306
293 603000003060
294 603000030600
295 603000306000
296 603067963000
297 603069903060
298 603070397000
299 606303033997
300 606363700000
301 607700639370
302 607977037363
303 607997037000
304 609073690370
305 630000000000
306 630076963000
307 630370000000
308 630607693736
309 630609063000
310 630637693736
311 630666003000
312 630690630000
313 630793677076
314 776769339700
315 776960300000
316 776977030600
317 779339700000
318 793960939700
319 793973360630
320 796030000000
321 796037706603
322 796076000000
323 796076399370
324 797939076000
325 797973037000
326 799600300000
327 799606003000
328 799606760000
329 799960003000
330 799960060003
331 799996000030
332 966090370000
333 967939960760
334 967976760000
335 969039370000
336 969360630000
337 996679033630
338 999699636736
339 3000000000000
340 3000000000006
341 3000000000060
342 3000000000600
343 3000000006000
344 3000000060000
345 3000000600000
346 3000006000000
347 3000060000000
348 3000060600003
349 3000600000000
350 3000600600030
351 3000606000300
352 3006000000000
353 3006000006003
354 3006000060030
355 3006000600300
356 3006060030000
357 3060000000000
358 3060000000603
359 3060000006030
360 3060000060300
361 3060000603000
362 3060006030000
363 3060060300000
364 3060666000030
365 3060676067600
366 3099367639370
367 3099639767936
368 3099639967963
369 3099963030963
370 6000000000000
371 6000000000003
372 6000000000030
373 6000000000300
374 6000000003000
375 6000000030000
376 6000000300000
377 6000003000000
378 6000030000000
379 6000030300006
380 6000300000000
381 6000303000600
382 6003000000000
383 6003000003006
384 6003000030060
385 6003007003997
386 6030000000000
387 6030000000306
388 6030000003060
389 6030000030600
390 6030000306000
391 6030003060000
392 6030679630000
393 6030699030600
394 6030703970000
395 6033000690676
396 6063030339970
397 6063637000000
398 6063907763736
399 6077006393700
400 6077069990306
401 6079770373630
402 6079970370000
403 6079970373037
404 6079999703397
405 6090736903700
406 6300000000000
407 6300630076963
408 6300769630000
409 6303700000000
410 6306076937360
411 6306090630000
412 6306376937360
413 6306660030000
414 6306906300000
415 6307936770760
416 7767693397000
417 7769603000000
418 7769770306000
419 7793330930937
420 7793397000000
421 7937700739937
422 7939609397000
423 7939733606300
424 7960300000000
425 7960377066030
426 7960760000000
427 7960763993700
428 7979390760000
429 7979730370000
430 7979960963397
431 7996003000000
432 7996060030000
433 7996067600000
434 7997690960936
435 7999600030000
436 7999600600030
437 7999960000300
438 7999996000003
439 9660903700000
440 9679399607600
441 9679767600000
442 9690393700000
443 9693606300000
444 9693779967637
445 9693779969603
446 9799690777637
447 9966790336300
448 9996996367360
449 30000000000000
450 30000000000006
451 30000000000060
452 30000000000600
453 30000000006000
454 30000000060000
455 30000000600000
456 30000006000000
457 30000060000000
458 30000600000000
459 30000600600003
460 30000606000030
461 30006000000000
462 30006000060003
463 30006006000300
464 30006060003000
465 30060000000000
466 30060000006003
467 30060000060030
468 30060000600300
469 30060006003000
470 30060600300000
471 30600000000000
472 30600000000603
473 30600000006030
474 30600000060300
475 30600000603000
476 30600006030000
477 30600060300000
478 30600603000000
479 30606060363397
480 30606660000300
481 30606760676000
482 30993606336963
483 30993676393700
484 30996397679360
485 30996399679630
486 30996673000006
487 30999630309630
488 60000000000000
489 60000000000003
490 60000000000030
491 60000000000300
492 60000000003000
493 60000000030000
494 60000000300000
495 60000003000000
496 60000030000000
497 60000300000000
498 60000300300006
499 60000303000060
500 60000636396603
501 60003000000000
502 60003030006000
503 60030000000000
504 60030000003006
505 60030000030060
506 60030000300600
507 60030070039970
508 60300000000000
509 60300000000306
510 60300000003060
511 60300000030600
512 60300000306000
513 60300003060000
514 60300030600000
515 60306796300000
516 60306990306000
517 60307039700000
518 60330006906760
519 60630303399700
520 60633307677637
521 60636073396376
522 60636370000000
523 60636600636637
524 60637700399997
525 60639077637360
526 60770063937000
527 60770699903060
528 60797703736300
529 60799703700000
530 60799703730370
531 60799997033970
532 60907090666003
533 60907369037000
534 60909000709063
535 63000000000000
536 63006300769630
537 63007696300000
538 63037000000000
539 63060769373600
540 63060906300000
541 63063769373600
542 63066600300000
543 63069060036603
544 63069063000000
545 63069303703997
546 63079367707600
547 77676933970000
548 77696030000000
549 77697703060000
550 77933309309370
551 77933970000000
552 79377007399370
553 79396093970000
554 79397336063000
555 79603000000000
556 79603770660300
557 79607600000000
558 79607639937000
559 79793907600000
560 79797303700000
561 79797930030006
562 79799609633970
563 79937709360063
564 79937907639603
565 79960030000000
566 79960600300000
567 79960676000000
568 79976909609360
569 79996000300000
570 79996006000300
571 79999600003000
572 79999960000030
573 96609037000000
574 96639000093306
575 96793996076000
576 96797007906603
577 96797676000000
578 96903937000000
579 96936063000000
580 96937799676370
581 96937799696030
582 97996907776370
583 99667903363000
584 99969963673600
585 300000000000000
586 300000000000006
587 300000000000060
588 300000000000600
589 300000000006000
590 300000000060000
591 300000000600000
592 300000006000000
593 300000060000000
594 300000600000000
595 300000606000003
596 300006000000000
597 300006000600003
598 300006006000030
599 300006060000300
600 300060000000000
601 300060000060003
602 300060000600030
603 300060060003000
604 300060600030000
605 300600000000000
606 300600000006003
607 300600000060030
608 300600000600300
609 300600006003000
610 300600060030000
611 300606003000000
612 306000000000000
613 306000000000603
614 306000000006030
615 306000000060300
616 306000000603000
617 306000006030000
618 306000060300000
619 306000603000000
620 306006030000000
621 306060603633970
622 306066600003000
623 306067606760000
624 309936063369630
625 309936763937000
626 309963976793600
627 309963996796300
628 309966730000060
629 309996303096300
630 600000000000000
631 600000000000003
632 600000000000030
633 600000000000300
634 600000000003000
635 600000000030000
636 600000000300000
637 600000003000000
638 600000030000000
639 600000300000000
640 600000303000006
641 600003000000000
642 600003003000060
643 600003030000600
644 600006363966030
645 600030000000000
646 600030000030006
647 600030300060000
648 600300000000000
649 600300000003006
650 600300000030060
651 600300000300600
652 600300003006000
653 600300700399700
654 600799973066736
655 603000000000000
656 603000000000306
657 603000000003060
658 603000000030600
659 603000000306000
660 603000003060000
661 603000030600000
662 603000306000000
663 603067963000000
664 603069903060000
665 603070397000000
666 603300069067600
667 603307379360063
668 606303033997000
669 606333076776370
670 606360733963760
671 606363700000000
672 606366006366370
673 606377003999970
674 606390776373600
675 607700639370000
676 607706999030600
677 607733309936963
678 607977037363000
679 607997037000000
680 607997037303700
681 607999970339700
682 609070906660030
683 609073099037306
684 609073690370000
685 609090007090630
686 630000000000000
687 630063007696300
688 630076963000000
689 630369793369736
690 630370000000000
691 630603390970397
692 630607693736000
693 630607696903363
694 630609063000000
695 630637693736000
696 630666003000000
697 630690396367637
698 630690600366030
699 630690630000000
700 630693037039970
701 630793677076000
702 630796076960936
703 776769339700000
704 776960300000000
705 776977030600000
706 777006936736603
707 779333093093700
708 779339700000000
709 793770073993700
710 793960939700000
711 793973360630000
712 796030000000000
713 796037706603000
714 796076000000000
715 796076399370000
716 796096309330936
717 796097333039937
718 797939076000000
719 797973037000000
720 797979300300060
721 797996096339700
722 799377093600630
723 799379076396030
724 799600300000000
725 799606003000000
726 799606760000000
727 799769096093600
728 799937930763363
729 799960003000000
730 799960060003000
731 799996000030000
732 799996000600003
733 799999600000300
734 799999960000003
735 966090370000000
736 966390000933060
737 967660390009376
738 967660393077363
739 967677630769037
740 967939960760000
741 967970079066030
742 967976760000000
743 969039370000000
744 969067076796376
745 969360630000000
746 969370909606003
747 969377996763700
748 969377996960300
749 969379679660003
750 979969077763700
751 979979630777637
752 996679033630000
753 999699636736000