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 55366
24 60000
25 60003
26 60030
27 60300
28 63000
29 300000
30 300006
31 300060
32 300600
33 306000
34 550503
35 553660
36 596353
37 600000
38 600003
39 600030
40 600300
41 603000
42 605306
43 630000
44 966956
45 3000000
46 3000006
47 3000060
48 3000600
49 3006000
50 3056066
51 3060000
52 3065936
53 5505030
54 5536600
55 5963530
56 6000000
57 6000003
58 6000030
59 6000300
60 6003000
61 6030000
62 6053060
63 6300000
64 9669560
65 9690506
66 30000000
67 30000006
68 30000060
69 30000600
70 30006000
71 30060000
72 30560660
73 30600000
74 30600603
75 30659360
76 55050300
77 55366000
78 55635956
79 59635300
80 59695566
81 60000000
82 60000003
83 60000030
84 60000300
85 60003000
86 60030000
87 60300000
88 60530600
89 60550306
90 60553006
91 63000000
92 96695600
93 96695603
94 96905060
95 96936063
96 99696366
97 300000000
98 300000006
99 300000060
100 300000600
101 300006000
102 300060000
103 300600000
104 300606003
105 300936963
106 305606600
107 305995603
108 306000000
109 306000603
110 306006030
111 306593600
112 550503000
113 553656063
114 553660000
115 556359560
116 556506663
117 596353000
118 596690506
119 596955660
120 600000000
121 600000003
122 600000030
123 600000300
124 600003000
125 600030000
126 600300000
127 600533066
128 600550503
129 603000000
130 603000306
131 605306000
132 605503060
133 605530060
134 630000000
135 630050503
136 966956000
137 966956030
138 969050600
139 969056003
140 969360630
141 969505006
142 996960663
143 996963660
144 3000000000
145 3000000006
146 3000000060
147 3000000600
148 3000006000
149 3000060000
150 3000600000
151 3005600366
152 3005603656
153 3006000000
154 3006060030
155 3009369630
156 3055600366
157 3056066000
158 3059335936
159 3059956030
160 3060000000
161 3060000603
162 3060006030
163 3060060300
164 3065300306
165 3065936000
166 5505030000
167 5505030006
168 5536560630
169 5536600000
170 5563595600
171 5565063666
172 5565066630
173 5565066663
174 5963300306
175 5963530000
176 5966036666
177 5966905060
178 5969556600
179 6000000000
180 6000000003
181 6000000030
182 6000000300
183 6000003000
184 6000030000
185 6000300000
186 6000533006
187 6000550503
188 6003000000
189 6005330660
190 6005505030
191 6030000000
192 6030000306
193 6030003060
194 6053060000
195 6055030600
196 6055300600
197 6300000000
198 6300505030
199 9659505006
200 9660950603
201 9669560000
202 9669560300
203 9690506000
204 9690560030
205 9693606300
206 9695050060
207 9695356603
208 9953359563
209 9969606630
210 9969636600
211 9996696956
212 30000000000
213 30000000006
214 30000000060
215 30000000600
216 30000006000
217 30000060000
218 30000566003
219 30000600000
220 30005060663
221 30006000000
222 30006060003
223 30056003660
224 30056036560
225 30060000000
226 30060006003
227 30060600300
228 30093696300
229 30506606663
230 30550533006
231 30556003660
232 30560656003
233 30560660000
234 30593359360
235 30599030366
236 30599560300
237 30600000000
238 30600000603
239 30600006030
240 30600060300
241 30600603000
242 30653003060
243 30659360000
244 55050063666
245 55050300000
246 55050300060
247 55350660656
248 55365606300
249 55366000000
250 55635956000
251 55650636660
252 55650666300
253 55650666630
254 59609565563
255 59633003060
256 59635300000
257 59660366660
258 59666565936
259 59669050600
260 59693966663
261 59695356603
262 59695566000
263 60000000000
264 60000000003
265 60000000030
266 60000000300
267 60000003000
268 60000030000
269 60000300000
270 60000550503
271 60003000000
272 60003030006
273 60005330060
274 60005505030
275 60030000000
276 60053306600
277 60055050300
278 60300000000
279 60300000306
280 60300003060
281 60300030600
282 60530600000
283 60530600603
284 60550306000
285 60553006000
286 63000000000
287 63005000306
288 63005050300
289 95390565936
290 96595050060
291 96609506030
292 96695600000
293 96695603000
294 96905060000
295 96905600300
296 96905606666
297 96936063000
298 96950500600
299 96953566030
300 99533595630
301 99696066300
302 99696366000
303 99966969560
304 300000000000
305 300000000006
306 300000000060
307 300000000600
308 300000006000
309 300000060000
310 300000600000
311 300005660030
312 300006000000
313 300050606630
314 300055005063
315 300055656003
316 300060000000
317 300060060003
318 300060600030
319 300560036600
320 300560365600
321 300565306603
322 300565365603
323 300600000000
324 300600006003
325 300600060030
326 300605055003
327 300605306066
328 300606003000
329 300936963000
330 305066066630
331 305505330060
332 305506065506
333 305560036600
334 305599335666
335 305606560030
336 305606600000
337 305606600003
338 305933593600
339 305990303660
340 305995603000
341 306000000000
342 306000000603
343 306000006030
344 306000060300
345 306000603000
346 306005000063
347 306006030000
348 306033503656
349 306530030600
350 306530530936
351 306533955063
352 306593600000
353 309036663956
354 309090003656
355 550500050003
356 550500636660
357 550503000000
358 550503000600
359 550505500003
360 550536650506
361 550539695566
362 553506606560
363 553633363006
364 553656063000
365 553660000000
366 556359560000
367 556506366600
368 556506636666
369 556506663000
370 556506666300
371 596095655630
372 596330030600
373 596353000000
374 596603666600
375 596665659360
376 596690506000
377 596939666630
378 596953566030
379 596953595603
380 596955660000
381 599996966956
382 600000000000
383 600000000003
384 600000000030
385 600000000300
386 600000003000
387 600000030000
388 600000300000
389 600000550503
390 600003000000
391 600005505030
392 600030000000
393 600030300060
394 600053300600
395 600055050300
396 600300000000
397 600300003006
398 600533066000
399 600550503000
400 603000000000
401 603000000306
402 603000003060
403 603000030600
404 603000306000
405 603039550656
406 605306000000
407 605306006030
408 605503060000
409 605505000306
410 605530060000
411 630000000000
412 630050003060
413 630050503000
414 950559605366
415 950609995566
416 953905659360
417 965950500600
418 966090350656
419 966093005663
420 966095060300
421 966956000000
422 966956030000
423 969036093566
424 969036096353
425 969050600000
426 969056003000
427 969056066660
428 969305906306
429 969360630000
430 969365533066
431 969505006000
432 969535660300
433 995335956300
434 996960663000
435 996963660000
436 996995333956
437 999503056306
438 999669695600
439 3000000000000
440 3000000000006
441 3000000000060
442 3000000000600
443 3000000006000
444 3000000060000
445 3000000600000
446 3000005660003
447 3000006000000
448 3000056600300
449 3000060000000
450 3000060600003
451 3000505050003
452 3000505556663
453 3000506066300
454 3000550050630
455 3000556560030
456 3000600000000
457 3000600533066
458 3000600600030
459 3000606000300
460 3005055063566
461 3005056665956
462 3005505050003
463 3005600366000
464 3005600656003
465 3005603656000
466 3005650606663
467 3005653066030
468 3005653656030
469 3006000000000
470 3006000006003
471 3006000060030
472 3006000600300
473 3006050550030
474 3006053060660
475 3006060030000
476 3006503566603
477 3009303300656
478 3009330330666
479 3009369630000
480 3009905905666
481 3050565630656
482 3050660666300
483 3055053300600
484 3055060655060
485 3055339030936
486 3055600366000
487 3055993356660
488 3056036653963
489 3056065600300
490 3056066000000
491 3056066000030
492 3059335936000
493 3059903036600
494 3059956030000
495 3059959655936
496 3060000000000
497 3060000000603
498 3060000006030
499 3060000060300
500 3060000603000
501 3060006030000
502 3060050000630
503 3060060300000
504 3060335036560
505 3060500063666
506 3065300306000
507 3065305309360
508 3065339550630
509 3065936000000
510 3065936996353
511 3090366639560
512 3090900036560
513 5505000500030
514 5505006366600
515 5505030000000
516 5505030000006
517 5505030006000
518 5505055000030
519 5505366505060
520 5505396900366
521 5505396955660
522 5509660660666
523 5509960390956
524 5530909065936
525 5535066065600
526 5535066990566
527 5536333630060
528 5536560630000
529 5536600000000
530 5536605056353
531 5563595600000
532 5563900696063
533 5565063666000
534 5565066366660
535 5565066630000
536 5565066663000
537 5565069055603
538 5960956556300
539 5963300306000
540 5963303690603
541 5963530000000
542 5966036666000
543 5966656593600
544 5966905060000
545 5969396666300
546 5969535660300
547 5969535956030
548 5969539066003
549 5969556600000
550 5969560566666
551 5996590356666
552 5999969669560
553 6000000000000
554 6000000000003
555 6000000000030
556 6000000000300
557 6000000003000
558 6000000030000
559 6000000300000
560 6000000550503
561 6000003000000
562 6000005505030
563 6000030000000
564 6000030300006
565 6000055050300
566 6000300000000
567 6000303000600
568 6000533006000
569 6000550503000
570 6003000000000
571 6003000003006
572 6003000030060
573 6005330660000
574 6005505030000
575 6030000000000
576 6030000000306
577 6030000003060
578 6030000030600
579 6030000306000
580 6030003060000
581 6030365356306
582 6030395506560
583 6050335560666
584 6050590960063
585 6053060000000
586 6053060060300
587 6055030600000
588 6055050003060
589 6055300600000
590 6300000000000
591 6300005055003
592 6300050000306
593 6300055005003
594 6300500030600
595 6300500503656
596 6300505030000
597 6300550000306
598 9505596053660
599 9506099955660
600 9536065053066
601 9536956305006
602 9539056593600
603 9659505006000
604 9659505965956
605 9660903506560
606 9660930056630
607 9660936650506
608 9660950090936
609 9660950603000
610 9669560000000
611 9669560300000
612 9690360935660
613 9690360963530
614 9690506000000
615 9690560030000
616 9690560666600
617 9693059063060
618 9693330955306
619 9693606300000
620 9693655330660
621 9695050060000
622 9695356603000
623 9950355050603
624 9953359563000
625 9969606630000
626 9969636600000
627 9969953339560
628 9995030563060
629 9996696956000
630 30000000000000
631 30000000000006
632 30000000000060
633 30000000000600
634 30000000006000
635 30000000060000
636 30000000600000
637 30000006000000
638 30000056600030
639 30000056660003
640 30000056665603
641 30000060000000
642 30000556560003
643 30000566003000
644 30000600000000
645 30000600600003
646 30000606000030
647 30005050500030
648 30005055566630
649 30005060663000
650 30005500506300
651 30005505600366
652 30005565600300
653 30006000000000
654 30006000060003
655 30006005330660
656 30006006000300
657 30006060003000
658 30050050500063
659 30050550635660
660 30050566659560
661 30050905303656
662 30055050500030
663 30055999335666
664 30056003660000
665 30056006560030
666 30056036560000
667 30056506066630
668 30056530660300
669 30056536560300
670 30060000000000
671 30060000006003
672 30060000060030
673 30060000600300
674 30060006003000
675 30060505500300
676 30060530606600
677 30060600300000
678 30065035666030
679 30093033006560
680 30093303306660
681 30093696300000
682 30099059056660
683 30505656306560
684 30506606663000
685 30550533006000
686 30550606550600
687 30553390309360
688 30556003660000
689 30559933566600
690 30560366539630
691 30560600550306
692 30560656003000
693 30560660000000
694 30560660000300
695 30593359360000
696 30599030366000
697 30599560300000
698 30599596559360
699 30599933556066
700 30600000000000
701 30600000000603
702 30600000006030
703 30600000060300
704 30600000603000
705 30600006030000
706 30600050000063
707 30600060300000
708 30600500006300
709 30600550000063
710 30600603000000
711 30603350365600
712 30603355365063
713 30605000636660
714 30605063306666
715 30605550036063
716 30609693556666
717 30653003060000
718 30653053093600
719 30653395506300
720 30659360000000
721 30659363396956
722 30659369963530
723 30903666395600
724 30903933356603
725 30909000365600
726 30930503336666
727 30993056656306
728 30993395360366
729 30993553630666
730 55050005000003
731 55050005000300
732 55050009633066
733 55050063666000
734 55050300000000
735 55050300000006
736 55050300000060
737 55050300060000
738 55050550000300
739 55053655696063
740 55053665050600
741 55053969003660
742 55053969556600
743 55096606606660
744 55096606695603
745 55099603909560
746 55099630993366
747 55309090659360
748 55350660656000
749 55350663590506
750 55350669905660
751 55363336300600
752 55365606300000
753 55365696605666
754 55366000000000
755 55366050563530
756 55366960965956
757 55399036995566
758 55635956000000
759 55639006960630
760 55650369600663
761 55650636660000
762 55650663666600
763 55650666300000
764 55650666630000
765 55650690556030
766 55669555000063
767 59609565563000
768 59633003060000
769 59633036696063
770 59633036906030
771 59635300000000
772 59635556500003
773 59660366660000
774 59666565936000
775 59669050600000
776 59693966663000
777 59695356603000
778 59695359560300
779 59695390660030
780 59695566000000
781 59695605666660
782 59963033306666
783 59965903566660
784 59999696695600
785 60000000000000
786 60000000000003
787 60000000000030
788 60000000000300
789 60000000003000
790 60000000030000
791 60000000300000
792 60000000550503
793 60000003000000
794 60000005505030
795 60000030000000
796 60000055050300
797 60000300000000
798 60000300300006
799 60000303000060
800 60000550300006
801 60000550503000
802 60003000000000
803 60003030006000
804 60005330060000
805 60005505030000
806 60005505050003
807 60030000000000
808 60030000003006
809 60030000030060
810 60030000300600
811 60050306990603
812 60050556663956
813 60053306600000
814 60055050300000
815 60300000000000
816 60300000000306
817 60300000003060
818 60300000030600
819 60300000306000
820 60300003060000
821 60300030600000
822 60303653563060
823 60303955065600
824 60305000365563
825 60503355606660
826 60503360696663
827 60503639035656
828 60505909600630
829 60530600000000
830 60530600603000
831 60550306000000
832 60550500030600
833 60550503966603
834 60553006000000
835 63000000000000
836 63000050550030
837 63000050550503
838 63000500003060
839 63000550050030
840 63005000306000
841 63005005036560
842 63005050300000
843 63005055000063
844 63005500003060
845 63005505050003
846 95055960536600
847 95059960060003
848 95060999556600
849 95360650530660
850 95360666056063
851 95369563050060
852 95390565936000
853 95393603555663
854 96595050060000
855 96595059659560
856 96609035065600
857 96609300566300
858 96609366505060
859 96609500909360
860 96609506030000
861 96695600000000
862 96695603000000
863 96696966606663
864 96903609356600
865 96903609635300
866 96905060000000
867 96905600300000
868 96905606666000
869 96906656300306
870 96930590630600
871 96933309553060
872 96936063000000
873 96936553306600
874 96950005500306
875 96950500533006
876 96950500600000
877 96953566030000
878 99503550506030
879 99533595630000
880 99696066300000
881 99696366000000
882 99696366030563
883 99699533395600
884 99950305630600
885 99953335630666
886 99966969560000
887 99966990005006
888 300000000000000
889 300000000000006
890 300000000000060
891 300000000000600
892 300000000006000
893 300000000060000
894 300000000600000
895 300000006000000
896 300000056600003
897 300000060000000
898 300000565650366
899 300000566000300
900 300000566600030
901 300000566656030
902 300000600000000
903 300000606000003
904 300005565600030
905 300005660030000
906 300005665056663
907 300006000000000
908 300006000600003
909 300006006000030
910 300006060000300
911 300050505000300
912 300050555666300
913 300050606630000
914 300055005063000
915 300055056003660
916 300055656003000
917 300060000000000
918 300060000060003
919 300060000600030
920 300060053306600
921 300060060003000
922 300060600030000
923 300065603935366
924 300500505000630
925 300505506356600
926 300505666595600
927 300509053036560
928 300550505000300
929 300559993356660
930 300560036600000
931 300560065600300
932 300560365600000
933 300565060666300
934 300565306603000
935 300565365603000
936 300600000000000
937 300600000006003
938 300600000060030
939 300600000600300
940 300600006003000
941 300600060030000
942 300605055003000
943 300605306066000
944 300606003000000
945 300650356660300
946 300930330065600
947 300933033066600
948 300936963000000
949 300990590566600
950 305056563055663
951 305056563065600
952 305065659335936
953 305066066630000
954 305066550696663
955 305500660556306
956 305500665056663
957 305505330060000
958 305506065506000
959 305533353935366
960 305533903093600
961 305560036600000
962 305560060550306
963 305563995090936
964 305599335666000
965 305603609330936
966 305603665396300
967 305606005503060
968 305606560030000
969 305606600000000
970 305606600003000
971 305606995936066
972 305933593600000
973 305990303660000
974 305995603000000
975 305995965593600
976 305996006560003
977 305999335560660
978 306000000000000
979 306000000000603
980 306000000006030
981 306000000060300
982 306000000603000
983 306000006030000
984 306000060300000
985 306000500000630
986 306000603000000
987 306005000063000
988 306005500000630
989 306006030000000
990 306033503656000
991 306033553650630
992 306050006366600
993 306050633066660
994 306055500360630
995 306096935566660
996 306099053096063
997 306530030600000
998 306530530936000
999 306533955063000
1000 306593599095603
1001 306593600000000
1002 306593633969560
1003 306593699635300
1004 309035650630563
1005 309036663956000
1006 309039333566030
1007 309090003656000
1008 309305033366660
1009 309305663366666
1010 309930566563060
1011 309933953603660
1012 309935536306660
1013 309936009605306
1014 309993605306066
1015 550500050000030
1016 550500050003000
1017 550500096330660
1018 550500636660000
1019 550503000000000
1020 550503000000006
1021 550503000000060
1022 550503000000600
1023 550503000600000
1024 550505500003000
1025 550505500003006
1026 550536556960630
1027 550536650506000
1028 550539690036600
1029 550539695566000
1030 550966066066600
1031 550966066956030
1032 550996039095600
1033 550996309933660
1034 550996339065506
1035 553090906593600
1036 553506606560000
1037 553506635905060
1038 553506699056600
1039 553633363006000
1040 553656063000000
1041 553656966056660
1042 553659963906603
1043 553660000000000
1044 553660505635300
1045 553669609659560
1046 553990369955660
1047 555936959606066
1048 556335635503006
1049 556355039553066
1050 556359536060366
1051 556359560000000
1052 556390069606300
1053 556503696006630
1054 556506366600000
1055 556506369555366
1056 556506636666000
1057 556506660666663
1058 556506663000000
1059 556506666300000
1060 556506905560300
1061 556695550000630
1062 596095655630000
1063 596330030600000
1064 596330366960630
1065 596330369060300
1066 596353000000000
1067 596355565000030
1068 596603666600000
1069 596603695593566
1070 596665659360000
1071 596690506000000
1072 596936599355666
1073 596939666630000
1074 596939666960063
1075 596953566030000
1076 596953595603000
1077 596953906600300
1078 596955660000000
1079 596956056666600
1080 596966996655063
1081 599630333066660
1082 599630636355666
1083 599659035666600
1084 599666039600656
1085 599696639969663
1086 599996966956000
1087 600000000000000
1088 600000000000003
1089 600000000000030
1090 600000000000300
1091 600000000003000
1092 600000000030000
1093 600000000300000
1094 600000000550503
1095 600000003000000
1096 600000005505030
1097 600000030000000
1098 600000055050300
1099 600000300000000
1100 600000303000006
1101 600000550503000
1102 600003000000000
1103 600003003000060
1104 600003030000600
1105 600005503000060
1106 600005505030000
1107 600030000000000
1108 600030000030006
1109 600030300060000
1110 600053300600000
1111 600055050300000
1112 600055050500030
1113 600300000000000
1114 600300000003006
1115 600300000030060
1116 600300000300600
1117 600300003006000
1118 600300503056066
1119 600500366366666
1120 600503069906030
1121 600505566639560
1122 600533066000000
1123 600550503000000
1124 603000000000000
1125 603000000000306
1126 603000000003060
1127 603000000030600
1128 603000000306000
1129 603000003060000
1130 603000030600000
1131 603000306000000
1132 603036535630600
1133 603039550656000
1134 603050003655630
1135 605033556066600
1136 605033606966630
1137 605036390356560
1138 605056656000003
1139 605059096006300
1140 605306000000000
1141 605306006030000
1142 605306506600656
1143 605306563365506
1144 605503060000000
1145 605505000306000
1146 605505039666030
1147 605530060000000
1148 630000000000000
1149 630000050550503
1150 630000500000306
1151 630000500500306
1152 630000505500300
1153 630000505505030
1154 630005000030600
1155 630005500000306
1156 630005500500300
1157 630005505050003
1158 630050003060000
1159 630050050365600
1160 630050503000000
1161 630050503000006
1162 630050550000630
1163 630050550003006
1164 630055000030600
1165 630055050500030
1166 950555660335366
1167 950559605366000
1168 950599600600030
1169 950609995566000
1170 953606505306600
1171 953606660560630
1172 953695630500600
1173 953905659360000
1174 953936035556630
1175 965950500600000
1176 965950500600003
1177 965950596595600
1178 966090350656000
1179 966093005663000
1180 966093665050600
1181 966095009093600
1182 966095060300000
1183 966956000000000
1184 966956030000000
1185 966969666066630
1186 969035960635956
1187 969036093566000
1188 969036096353000
1189 969050600000000
1190 969056003000000
1191 969056066660000
1192 969066563003060
1193 969305906306000
1194 969305935550306
1195 969333095530600
1196 969360630000000
1197 969365533066000
1198 969500055003060
1199 969505005330060
1200 969505006000000
1201 969530996695603
1202 969535659660663
1203 969535660300000
1204 995005559550063
1205 995035505060300
1206 995305656600003
1207 995335956300000
1208 995336956056066
1209 996960663000000
1210 996963660000000
1211 996963660305630
1212 996995333956000
1213 999503056306000
1214 999503060000603
1215 999533356306660
1216 999669695600000
1217 999669900050060
1218 999950000550503