(Translated by https://www.hiragana.jp/)
1 0
2 1
3 4
4 10
5 40
6 100
7 400
8 1000
9 1071
10 4000
11 7776
12 10000
13 10710
14 10771
15 40000
16 77760
17 100000
18 106771
19 106776
20 107100
21 107710
22 400000
23 777600
24 1000000
25 1007046
26 1067710
27 1067760
28 1071000
29 1077100
30 1077776
31 4000000
32 6406771
33 7771774
34 7776000
35 10000000
36 10070460
37 10677100
38 10677600
39 10710000
40 10771000
41 10777760
42 40000000
43 64067710
44 77717740
45 77760000
46 77766771
47 100000000
48 100704600
49 106771000
50 106776000
51 107100000
52 107710000
53 107777600
54 400000000
55 417704046
56 640677100
57 777177400
58 777600000
59 777667710
60 1000000000
61 1007046000
62 1067710000
63 1067760000
64 1071000000
65 1071014074
66 1077100000
67 1077704046
68 1077776000
69 4000000000
70 4076474046
71 4177040460
72 6406610701
73 6406771000
74 6664616046
75 7746616046
76 7747064074
77 7771774000
78 7776000000
79 7776677100
80 10000000000
81 10070460000
82 10677100000
83 10677600000
84 10710000000
85 10710140740
86 10770661076
87 10771000000
88 10777040460
89 10777760000
90 40000000000
91 40007641771
92 40146041046
93 40174711076
94 40764700004
95 40764740460
96 41401741046
97 41444066774
98 41770404600
99 64066107010
100 64067710000
101 64167047704
102 66646160460
103 77466160460
104 77470640740
105 77717740000
106 77747761776
107 77760000000
108 77766771000
109 100000000000
110 100701044704
111 100704600000
112 106771000000
113 106776000000
114 107100000000
115 107101407400
116 107706610760
117 107710000000
118 107770404600
119 107777600000
120 107777766771
121 400000000000
122 400007647004
123 400007647074
124 400076417710
125 401460410460
126 401747110760
127 407440077074
128 407647000040
129 407647404600
130 414017410460
131 414440667740
132 417701616046
133 417704046000
134 640440607474
135 640661070100
136 640677100000
137 641464010771
138 641670477040
139 646101474046
140 666461604600
141 774661604600
142 774706407400
143 777177400000
144 777477617760
145 777600000000
146 777601741046
147 777667710000
148 1000000000000
149 1000701761071
150 1007010447040
151 1007046000000
152 1067710000000
153 1067760000000
154 1071000000000
155 1071014074000
156 1077066107600
157 1077100000000
158 1077704046000
159 1077776000000
160 1077777667710
161 4000000000000
162 4000076470040
163 4000076470740
164 4000764177100
165 4000770444074
166 4014604104600
167 4017464077004
168 4017471107600
169 4074400770740
170 4076416460701
171 4076470000400
172 4076474046000
173 4140174104600
174 4144406677400
175 4177016160460
176 4177040460000
177 4177041674046
178 6404406074740
179 6406610701000
180 6406771000000
181 6411011161076
182 6414640107710
183 6416704770400
184 6461014740460
185 6664616046000
186 7746616046000
187 7746640607776
188 7747064074000
189 7771774000000
190 7774776177600
191 7776000000000
192 7776017410460
193 7776677100000
194 10000000000000
195 10007017610710
196 10070104470400
197 10070460000000
198 10070460004474
199 10677100000000
200 10677600000000
201 10677600106771
202 10710000000000
203 10710107444704
204 10710140740000
205 10710470116046
206 10770661076000
207 10771000000000
208 10777040460000
209 10777760000000
210 10777776677100
211 40000000000000
212 40000764700400
213 40000764707400
214 40007641771000
215 40007704440740
216 40076677777074
217 40146041046000
218 40174640770040
219 40174711076000
220 40174764064074
221 40744007707400
222 40764164607010
223 40764700004000
224 40764740460000
225 41400616010474
226 41401741046000
227 41444066774000
228 41770161604600
229 41770404600000
230 41770416740460
231 64044060747400
232 64066107010000
233 64067710000000
234 64110111610760
235 64117164407046
236 64146401077100
237 64167047704000
238 64610147404600
239 66461000647004
240 66646160460000
241 66646606147704
242 77466160460000
243 77466406077760
244 77470640740000
245 77717740000000
246 77747761776000
247 77760000000000
248 77760174104600
249 77766771000000
250 100000000000000
251 100070176107100
252 100701044704000
253 100704600000000
254 100704600044740
255 106771000000000
256 106776000000000
257 106776001067710
258 107100000000000
259 107101074066046
260 107101074447040
261 107101407400000
262 107104701160460
263 107706610760000
264 107710000000000
265 107710141617046
266 107711406761776
267 107770404600000
268 107777600000000
269 107777766771000
270 400000000000000
271 400007647004000
272 400007647074000
273 400076417710000
274 400076764477074
275 400077044407400
276 400766777770740
277 400771464440771
278 401460410460000
279 401461177041774
280 401746407700400
281 401747110760000
282 401747640640740
283 407440077074000
284 407641604440771
285 407641646070100
286 407647000040000
287 407647404600000
288 414006160104740
289 414017410460000
290 414440607044774
291 414440667740000
292 417701616046000
293 417704046000000
294 417704167404600
295 640440607474000
296 640661070100000
297 640677100000000
298 641101116107600
299 641171644070460
300 641441071106076
301 641464010771000
302 641670477040000
303 646076401416771
304 646101474046000
305 664610006470040
306 666461604600000
307 666466061477040
308 774661604600000
309 774664060777600
310 774706407400000
311 777177400000000
312 777477401604776
313 777477617760000
314 777600000000000
315 777601741046000
316 777667710000000