Result

AC

Code [DL]

0v0  n=0<
*>i:0(?;68*-:0(?v+2
:@-:0)?!v$2+:02.>~0

stdin

10101011
00110111
11001110
10111111
11101010
00001110
11100001
00000110
10001000
01000001
01001110
01101001
11001011
10000001
01011011
01000010
10000101
01010111
00111101
01100100
01111110
00000000
00001111
00100100
00010101
01111000
00011110
00100101
00100100
00000011
10101111
00001010
11010100
10011100
10111110
11100000
00011100
11111101
11000001
11100111
11111101
00101101
11010010
10011001
11101001
00100010
10000111
00000001
01100011
11111010

stdout

11000001101100110000011111001101001011011111000100

stderr

strace