Result

WA

Code [DL]

process.stdin.on('data',n=>(''+n).split(/\s/).map(n=>console.log(parseInt(n,2))))

stdin

00101100
01000010
00000110
00000000
11100110
01011011
01100001
01101001
00011100
11001101
00000011
00100001
01111110
11011011
00100100
01011011
00001010
11111101
00010101
10010111
00110111
01110101
10010010
00010101
00100010
11010111
01111000
10111110
00010110
01010010
00010100
11110000
11100111
10110100
10011011
00000001
11010010
01111100
01100011
10001000
01001110
10010001
10011001
00010111
01101011
00101101
01101010
00001111
01010100
10101011

stdout

44
66
6
0
230
91
97
105
28
205
3
33
126
219
36
91
10
253
21
151
55
117
146
21
34
215
120
190
22
82
20
240
231
180
155
1
210
124
99
136
78
145
153
23
107
45
106
15
84
171
NaN

stderr

strace