Result

AC

Code [DL]

using System;class E{static void Main(){for(int i=0;i<50;++i)Console.Write(Math.Pow(8*Convert.ToInt32(Console.ReadLine(),2)+1,0.5)%2==1?1:0);}}

stdin

00011100
01011011
11100101
10101110
10011001
01110000
10101011
00001111
11000010
00000000
11010010
10011111
01000100
11111010
00000011
00010101
10010010
00101011
00110111
10101001
10100001
10001000
01110110
10101011
00100110
11111111
01111000
11111101
01010010
01011011
01101001
10111110
00111001
11010100
00100100
01011100
00000110
00001101
11110011
10100101
00111011
00000001
00001010
01001101
11100111
01110010
01000010
01001110
01000101
00101101

stdout

11001011011000110010010100110111001010000110101101

stderr

strace