Result

WA

Code [DL]

a=process.stdin;a.resume();for(i=0;i<50;i++)a.on('line',n=>console.log(n))

stdin

00101101
10101111
10110101
01110101
10110000
00100100
11001000
00001101
10110010
01010100
11010010
01111101
00001111
00110111
10011001
01001010
00010101
11100111
00110110
11100001
01011011
10111110
10001011
10001000
11111101
10101011
00000011
11110101
11100110
01101111
01001110
00100100
00001001
00011100
10000000
00000000
00000011
01111010
01000010
11100100
01111000
01101001
00000110
00000001
01010000
11011010
01011100
00010111
00001010
01110111

stdout

stderr

(node:5) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 line listeners added. Use emitter.setMaxListeners() to increase limit

strace