Result

WA

Code [DL]

$
.  v{m}2{a}s}3{<va}2{]<
>0{>[{?{5}r    @>}}s{ @1%$.
.                     >0%$.
$

stdin

10110010
00100100
01110101
00100001
00010101
11000010
11100101
00001111
00000111
00000011
00111011
00000001
01011011
10000000
01101101
00001011
11110011
01101000
10101011
11101111
01100000
01111000
10000100
00111111
01001110
10001000
11010010
00000110
00011100
01000111
10100011
10001000
10011001
10111110
00000110
10111100
00101101
01000010
01110010
01101001
11001101
11101011
00000000
00110111
00001010
01001100
11111101
00010011
11100111
00011111

stdout

stderr

strace