Result

AC

Code [DL]

{M[maA!sS!iI!oO!N<50>=/N<1>NN*2as.?=B<0>=J<8>=/JJJ*2as.?=BB*0aa.?ic.?s(sn).?<48>as.?aa.?=\ic.?J<23>=/JJ*<1>as.?0J*am.?<2>ad.?EB*2ae.?=/E"1"oo.?B<-1>=E<0>=\EB*2a(gt).?=/E"0"oo.?B<-1>=E<0>=\JJ*<1>as.?=\\]}

stdin

10101101
10011001
01000010
00011100
11100111
10101011
00000000
00110000
00000010
10000010
10111000
11100100
11110110
11101100
00010001
10001000
01101001
00111111
00000110
11101001
11101110
00011100
00001001
01100011
10100100
01011000
11110111
10111110
11100011
10110011
01010101
01011011
00010101
01001110
00001111
11010010
11111101
01111001
01111000
00110111
11111101
00100100
00000011
11000110
01001010
11100000
00001010
00000001
00101101
01101011

stdout

01111110000000011010010000010001111110111110001110

stderr

strace