1 1
2 2
3 2
4 8
5 2
6 36
7 2
8 64
9 8
10 36
11 2
12 1728
13 2
14 36
15 36
16 1024
17 2
18 1728
19 2
20 1728
21 36
22 36
23 2
24 331776
25 8
26 36
27 64
28 1728
29 2
30 810000
31 2
32 32768
33 36
34 36
35 36
36 10077696
37 2
38 36
39 36
40 331776
41 2
42 810000
43 2
44 1728
45 1728
46 36
47 2
48 254803968
49 8
50 1728
51 36
52 1728
53 2
54 331776
55 36
56 331776
57 36
58 36
59 2
60 46656000000
61 2
62 36
63 1728
64 2097152
65 36
66 810000
67 2
68 1728
69 36
70 810000
71 2
72 139314069504
73 2
74 36
75 1728
76 1728
77 36
78 810000
79 2
80 254803968
81 1024
82 36
83 2
84 46656000000
85 36
86 36
87 36
88 331776
89 2
90 46656000000
91 36
92 1728
93 36
94 36
95 36
96 782757789696
97 2
98 1728
99 1728
100 10077696
101 2
102 810000
103 2
104 331776
105 810000
106 36
107 2
108 139314069504
109 2
110 810000
111 36
112 254803968
113 2
114 810000
115 36
116 1728
117 1728
118 36
119 36
120 42998169600000000
121 8
122 36
123 36
124 1728
125 64
126 46656000000
127 2
128 268435456
129 36
130 810000
131 2
132 46656000000
133 36
134 36
135 331776
136 331776
137 2
138 810000
139 2
140 46656000000
141 36
142 36
143 36
144 15407021574586368
145 36
146 36
147 1728
148 1728
149 2
150 46656000000
151 2
152 331776
153 1728
154 810000
155 36
156 46656000000
157 2
158 36
159 36
160 782757789696
161 36
162 254803968
163 2
164 1728
165 810000
166 36
167 2
168 42998169600000000
169 8
170 810000
171 1728
172 1728
173 2
174 810000
175 1728
176 254803968
177 36
178 36
179 2
180 198359290368000000000
181 2
182 810000
183 36
184 331776
185 36
186 810000
187 36
188 1728
189 331776
190 810000
191 2
192 9618527719784448
193 2
194 36
195 810000
196 10077696
197 2
198 46656000000
199 2
200 139314069504
201 36
202 36
203 36
204 46656000000
205 36
206 36
207 1728
208 254803968
209 36
210 3782285936100000000
211 2
212 1728
213 36
214 36
215 36
216 4738381338321616896
217 36
218 36
219 36
220 46656000000
221 36
222 810000
223 2
224 782757789696
225 10077696
226 36
227 2
228 46656000000
229 2
230 810000
231 810000
232 331776
233 2
234 46656000000
235 36
236 1728
237 36
238 810000
239 2
240 634033809653760000000000
241 2
242 1728
243 32768
244 1728
245 1728
246 810000
247 36
248 331776
249 36
250 331776
251 2
252 198359290368000000000
253 36
254 36
255 810000
256 68719476736
257 2
258 810000
259 36
260 46656000000
261 1728
262 36
263 2
264 42998169600000000
265 36
266 810000
267 36
268 1728
269 2
270 42998169600000000
271 2
272 254803968
273 810000
274 36
275 1728
276 46656000000
277 2
278 36
279 1728
280 42998169600000000
281 2
282 810000
283 2
284 1728
285 810000
286 810000
287 36
288 13631146639813244878848
289 8
290 810000
291 36
292 1728
293 2
294 46656000000
295 36
296 331776
297 331776
298 36
299 36
300 198359290368000000000
301 36
302 36
303 36
304 254803968
305 36
306 46656000000
307 2
308 46656000000
309 36
310 810000
311 2
312 42998169600000000
313 2
314 36
315 46656000000
316 1728
317 2
318 810000
319 36
320 9618527719784448
321 36
322 810000
323 36
324 15407021574586368
325 1728
326 36
327 36
328 331776
329 36
330 3782285936100000000
331 2
332 1728
333 1728
334 36
335 36
336 634033809653760000000000
337 2
338 1728
339 36
340 46656000000
341 36
342 46656000000
343 64
344 331776
345 810000
346 36
347 2
348 46656000000
349 2
350 46656000000
351 331776
352 782757789696
353 2
354 810000
355 36
356 1728
357 810000
358 36
359 2
360 4738381338321616896000000000000
361 8
362 36
363 1728
364 46656000000
365 36
366 810000
367 2
368 254803968
369 1728
370 810000
371 36
372 46656000000
373 2
374 810000
375 331776
376 331776
377 36
378 42998169600000000
379 2
380 46656000000
381 36
382 36
383 2
384 472769874482845188096
385 810000
386 36
387 1728
388 1728
389 2
390 3782285936100000000
391 36
392 139314069504
393 36
394 36
395 36
396 198359290368000000000
397 2
398 36
399 810000
400 15407021574586368
401 2
402 810000
403 36
404 1728
405 254803968
406 810000
407 36
408 42998169600000000
409 2
410 810000
411 36
412 1728
413 36
414 46656000000
415 36
416 782757789696
417 36
418 810000
419 2
420 30129469486639681536000000000000
421 2
422 36
423 1728
424 331776
425 1728
426 810000
427 36
428 1728
429 810000
430 810000
431 2
432 226379693794030958489370624
433 2
434 810000
435 810000
436 1728
437 36
438 810000
439 2
440 42998169600000000
441 10077696
442 810000
443 2
444 46656000000
445 36
446 36
447 36
448 9618527719784448
449 2
450 198359290368000000000
451 36
452 1728
453 36
454 36
455 810000
456 42998169600000000
457 2
458 36
459 331776
460 46656000000
461 2
462 3782285936100000000
463 2
464 254803968
465 810000
466 36
467 2
468 198359290368000000000
469 36
470 810000
471 36
472 331776
473 36
474 810000
475 1728
476 46656000000
477 1728
478 36
479 2
480 149587343098087735296000000000000
481 36
482 36
483 810000
484 10077696
485 36
486 782757789696
487 2
488 331776
489 36
490 46656000000
491 2
492 46656000000
493 36
494 810000
495 46656000000
496 254803968
497 36
498 810000
499 2
500 139314069504
501 36
502 36
503 2
504 4738381338321616896000000000000
505 36
506 810000
507 1728
508 1728
509 2
510 3782285936100000000
511 36
512 35184372088832
513 331776
514 36
515 36
516 46656000000
517 36
518 810000
519 36
520 42998169600000000
521 2
522 46656000000
523 2
524 1728
525 46656000000
526 36
527 36
528 634033809653760000000000
529 8
530 810000
531 1728
532 46656000000
533 36
534 810000
535 36
536 331776
537 36
538 36
539 1728
540 4738381338321616896000000000000
541 2
542 36
543 36
544 782757789696
545 36
546 3782285936100000000
547 2
548 1728
549 1728
550 46656000000
551 36
552 42998169600000000
553 36
554 36
555 810000
556 1728
557 2
558 46656000000
559 36
560 634033809653760000000000
561 810000
562 36
563 2
564 46656000000
565 36
566 36
567 254803968
568 331776
569 2
570 3782285936100000000
571 2
572 46656000000
573 36
574 810000
575 1728
576 96479729228174488169059713024
577 2
578 1728
579 36
580 46656000000
581 36
582 810000
583 36
584 331776
585 46656000000
586 36
587 2
588 198359290368000000000
589 36
590 810000
591 36
592 254803968
593 2
594 42998169600000000
595 810000
596 1728
597 36
598 810000
599 2
600 4738381338321616896000000000000
601 2
602 810000
603 1728
604 1728
605 1728
606 810000
607 2
608 782757789696
609 810000
610 810000
611 36
612 198359290368000000000
613 2
614 36
615 810000
616 42998169600000000
617 2
618 810000
619 2
620 46656000000
621 331776
622 36
623 36
624 634033809653760000000000
625 1024
626 36
627 810000
628 1728
629 36
630 30129469486639681536000000000000
631 2
632 331776
633 36
634 36
635 36
636 46656000000
637 1728
638 810000
639 1728
640 472769874482845188096
641 2
642 810000
643 2
644 46656000000
645 810000
646 810000
647 2
648 226379693794030958489370624
649 36
650 46656000000
651 810000
652 1728
653 2
654 810000
655 36
656 254803968
657 1728
658 810000
659 2
660 30129469486639681536000000000000
661 2
662 36
663 810000
664 331776
665 810000
666 46656000000
667 36
668 1728
669 36
670 810000
671 36
672 149587343098087735296000000000000
673 2
674 36
675 139314069504
676 10077696
677 2
678 810000
679 36
680 42998169600000000
681 36
682 810000
683 2
684 198359290368000000000
685 36
686 331776
687 36
688 254803968
689 36
690 3782285936100000000
691 2
692 1728
693 46656000000
694 36
695 36
696 42998169600000000
697 36
698 36
699 36
700 198359290368000000000
701 2
702 42998169600000000
703 36
704 9618527719784448
705 810000
706 36
707 36
708 46656000000
709 2
710 810000
711 1728
712 331776
713 36
714 3782285936100000000
715 810000
716 1728
717 36
718 36
719 2
720 7244150201408990671659859968000000000000000
721 36
722 1728
723 36
724 1728
725 1728
726 46656000000
727 2
728 42998169600000000
729 2097152
730 810000
731 36
732 46656000000
733 2
734 36
735 46656000000
736 782757789696
737 36
738 46656000000
739 2
740 46656000000
741 810000
742 810000
743 2
744 42998169600000000
745 36
746 36
747 1728
748 46656000000
749 36
750 42998169600000000
751 2
752 254803968
753 36
754 810000
755 36
756 4738381338321616896000000000000
757 2
758 36
759 810000
760 42998169600000000
761 2
762 810000
763 36
764 1728
765 46656000000
766 36
767 36
768 92950339482323226741178368
769 2
770 3782285936100000000
771 36
772 1728
773 2
774 46656000000
775 1728
776 331776
777 810000
778 36
779 36
780 30129469486639681536000000000000
781 36
782 810000
783 331776
784 15407021574586368
785 36
786 810000
787 2
788 1728
789 36
790 810000
791 36
792 4738381338321616896000000000000
793 36
794 36
795 810000
796 1728
797 2
798 3782285936100000000
799 36
800 13631146639813244878848
801 1728
802 36
803 36
804 46656000000
805 810000
806 810000
807 36
808 331776
809 2
810 634033809653760000000000
811 2
812 46656000000
813 36
814 810000
815 36
816 634033809653760000000000
817 36
818 36
819 46656000000
820 46656000000
821 2
822 810000
823 2
824 331776
825 46656000000
826 810000
827 2
828 198359290368000000000
829 2
830 810000
831 36
832 9618527719784448
833 1728
834 810000
835 36
836 46656000000
837 331776
838 36
839 2
840 61442457392708813112505175900160000000000000000
841 8
842 36
843 36
844 1728
845 1728
846 46656000000
847 1728
848 254803968
849 36
850 46656000000
851 36
852 46656000000
853 2
854 810000
855 46656000000
856 331776
857 2
858 3782285936100000000
859 2
860 46656000000
861 810000
862 36
863 2
864 173047332760032188813804762453508096
865 36
866 36
867 1728
868 46656000000
869 36
870 3782285936100000000
871 36
872 331776
873 1728
874 810000
875 331776
876 46656000000
877 2
878 36
879 36
880 634033809653760000000000
881 2
882 198359290368000000000
883 2
884 46656000000
885 810000
886 36
887 2
888 42998169600000000
889 36
890 810000
891 254803968
892 1728
893 36
894 810000
895 36
896 472769874482845188096
897 810000
898 36
899 36
900 7625597484987000000000000000000000000000
901 36
902 810000
903 810000
904 331776
905 36
906 810000
907 2
908 1728
909 1728
910 3782285936100000000
911 2
912 634033809653760000000000
913 36
914 36
915 810000
916 1728
917 36
918 42998169600000000
919 2
920 42998169600000000
921 36
922 36
923 36
924 30129469486639681536000000000000
925 1728
926 36
927 1728
928 782757789696
929 2
930 3782285936100000000
931 1728
932 1728
933 36
934 36
935 810000
936 4738381338321616896000000000000
937 2
938 810000
939 36
940 46656000000
941 2
942 810000
943 36
944 254803968
945 42998169600000000
946 810000
947 2
948 46656000000
949 36
950 46656000000
951 36
952 42998169600000000
953 2
954 46656000000
955 36
956 1728
957 810000
958 36
959 36
960 564673312355113602452658585600000000000000
961 8
962 810000
963 1728
964 1728
965 36
966 3782285936100000000
967 2
968 139314069504
969 810000
970 810000
971 2
972 13631146639813244878848
973 36
974 36
975 46656000000
976 254803968
977 2
978 810000
979 36
980 198359290368000000000
981 1728
982 36
983 2
984 42998169600000000
985 36
986 810000
987 810000
988 46656000000
989 36
990 30129469486639681536000000000000
991 2
992 782757789696
993 36
994 810000
995 36
996 46656000000
997 2
998 36
999 331776
1000 4738381338321616896
1001 810000
1002 810000
1003 36
1004 1728
1005 810000
1006 36
1007 36
1008 7244150201408990671659859968000000000000000
1009 2
1010 810000
1011 36
1012 46656000000
1013 2
1014 46656000000
1015 810000
1016 331776
1017 1728
1018 36
1019 2
1020 30129469486639681536000000000000
1021 2
1022 810000
1023 810000
1024 36028797018963968
1025 1728