Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.

Please double check your code to solve this problem and try again.

Your Answer

028800
031169
044528
054218
077698
097912
0108479
0122593
0133913
01575
0165650
0181555
0198068
0212629
0221284
027339
0286009
030184
031492
0337808
0354566
037652
0385508
0402615
0448173
0451574
0460
0478622
0483415
0512630
0524794
0539189
0544101
0561451
057687
0614219
0644853
0662595
0693579
0707229
0716895
0723585
0743669
0782753
0806511
081-6
0823755
0845479
0851636
0871083
088377
0897237
0913531
0923426
0936900
0973629
0987755
0997184
01022501
01035035
01048147
107111
152779
168601
17347
182936
194804
1101567
1115000
1123037
1131582
1141804
1159053
1167983
1182409
1191280
1204611
1269298
1276856
1298071
1302980
131836
1335062
134-3
1377054
1387042
1394441
1409378
1416461
1428060
1448839
1478375
1496388
1506486
1514615
1542533
156327
1572035
1586391
1601220
1615907
1627259
1655572
168653
1696626
1702055
1716783
1735189
175-7
1772770
1782028
1798820
1817107
1824323
1831620
184525
1862730
1871461
1882602
1923263
1931213
1942243
1954335
1962138
1974900
1985564
1995853
11002863
11013665
11023454
209280
23102

JOJ Answer

166
248
205
182
32
249
27
590
184
408
8
245
322
6
70
153
0
67
135
113
162
82
191
113
509
91
248
158
14
121
149
168
232
121
105
129
179
231
365
190
424
235
235
155
165
144
147
209
169
188
89
233
140
21
75
161
204
89
290
77
114
165
308
155
201
303
237
134
-3
229
110
199
145
219
180
236
344
503
269
306
157
408
187
174
278
440
184
172
252
291
357
237
196
277
213
158
149
303
219
208
226
130
125
163
317
299
128
185
214
205
507
159
342
138
128
294
170
159
159
255
37
160
243
243
419
204
209
252
134
99
83
278
57
147
165
219
229
100
159
187
139
139
442
136
6
168
194
204
214
163
166
156
292
201
160
74
315
351
193
313
189
152
214
161
169
119
53
174
197
254
90
217
88
119
319
206
206
322
191
129
118
244
162
362
152
198
-6
115
173
112
175
298
213
283
176
96
274
153
100
167
595
256
143
432
534
209
205
190
229
332
107
178
80
5
55
200
84
95
518
115
498
243
252
201
549
443
224
99
156
137
119
120
115
230
101
460
133
153
114
260
184
127
276
352
270
88
71
203
173
70
266
129
197
47
340
56
137
317
98
275
128
309
205
333
386
207
283