Result

WA

Code [DL]

{M[m(_a)A!(_s)S!(_o)O!(_i)I!
(_i)<50>=
/(_i)
    (_i)(_i)*<1>(_a)s.?=
    (_t)(_i)l.?=
    (_t)*(_o)o.?
\]}

stdin

00010101
10111011
10100011
01001111
00001111
10100110
10000000
11111101
00110111
11100111
00000000
10110111
00100100
11011010
00011110
11111111
01111101
00011100
00000011
00001010
00101111
10111110
01011000
01000010
10011001
11010010
10010101
10100001
00111001
10001000
01011001
00000001
11001111
00000110
00110100
01101100
01001110
00010101
10000110
10001001
10011110
01101001
00101011
01011011
00000011
01111000
10110110
00101101
00110001
10101011

stdout

stderr

strace