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

83
41
147
147
146
57
119
89
94
88
69
57
108
53
64
77
117
57
79
52
52
37
82
161
93
135
129
120
11
68
18
88
42
78
31
144
110
152
84
114
152
100
159
90
67
129
65
126
43
107
118
78
70
114
147
43
120
45
131
141
41
107
110
81
70
86
34
117
177
122
82
97
81
84
132
102
79
99
163
107
74
71
81
23
108
90
129
131
102
68
162
76
84
92
62
129
121
72
44
33
115
99
34
164
103
91
115
73
67
83
59
78
53
126
140
148
94
27
87
95
105
113
62
67
76
84
91
66
122
19
67
102
68
17
87
118
150
62
62
57
104
82
95
88
137
107
48
89
73
88
67
124
90
165
85
17
131
130
91
29
37
148
126
109
93
93
17
141
92
95
99
31
20
22
155
117
90
79
50
172
128
121
143
91
95
125
61
117
74
49
36
104
56
94
99
131
89
45
112
44
96
91
60
141
72
83

JOJ Answer

Invalid graph. Exiting.