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

012814
026216
031031
041930
056753
065123
073059
083954
09670
0101039
011447
0136793
0142030
0156850
0161702
0177406
0186015
019432
0223452
0234010
0245769
0261493
0271172
0285895
0291850
0302639
0312675
0324560
0342583
0357931
0375958
0382807
0391359
0412634
0431677
0444055
0452107
0461869
047202
0486696
0495167
0503402
0518920
0526481
0533204
0555255
0562160
0578783
058-7
0595
0605025
0635770
06491
0651457
0661362
067783
0686787
0693468
0709335
0726458
0731785
0743323
0776376
0784556
0827340
0842677
085139
0879312
0892243
0904472
0915643
0933147
0947947
0954439
0982200
0997680
01003748
01037251
01058653
0106923
01072579
01087467
01092718
01104422
01117258
01128310
01132826
01144915
01152466
01181280
01191994
01205357
01217318
102736
127784
133611
169168
172665
184192
197129
112281
1138109
1142527
116800
117650
1189120
1198558
1214701
1236757
1243644
1263438
1286193
1292893
1302027
1329245
1338138
1342671
135853
1363206
1385686
1394248
140328
1418158
1428309
143245
1452434
1474938
1483383
1494526
1507247
151

JOJ Answer

245
237
326
152
62
42
77
110
49
518
97
223
115
180
114
80
198
319
44
28
111
57
52
126
101
94
85
76
90
68
150
139
49
82
206
272
213
96
-1
180
21
78
105
199
154
36
98
174
161
44
158
244
345
101
38
12
73
187
81
90
239
264
118
86
128
154
454
112
163
91
79
147
213
4
121
223
86
331
58
308
87
131
240
239
60
65
70
171
71
85
121
-8
232
169
126
64
169
96
138
171
250
137
130
-6
86
141
134
32
28
65
242
241
189
77
18
101
22
15
91
179
183
115
155
101
144
289
280
108
103
113
25
12
85
7
252
95
118
79
321
71
99
72
247
7
58
49
109
182
75
134
183
304
167
71
183
179
188
68
83
131
33
100
154
287
81
49
193
52
-9
104
131
70
140
297
338
88
99
55
54
86
145
93
81
170
172
13
167
32
128
110
84
114
250
19
74
165
207
144
424
159
140
51
71
92
86
145
50
192
12
3
72
160
167
186
125
196
40
72
297
33
121
286
262
93
233
-9
288
148
100
127
154
30
91
25
166
13
176
21
67
81
112
79
113
85
66
497
-2
148
-10
40
183
94
136
120
494
24
280
156
35
140
180
65
1
-9
106
7
132
31
125
-14
136
58
191
34
-10
33
14
71
27
185
224
98
112
140
156
128
112
74
48
161