Result

ERROR

Code [DL]

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

stdin

00110111
01111011
01010001
01101100
10101000
00100111
00000001
10000011
00011111
11101100
00011100
00001010
00100100
01100111
01000011
01001000
00010010
10101011
00000000
01011011
11101010
00101101
00000011
01000010
00000110
10011001
00010101
10011000
10011010
01111000
10001000
00000110
10110100
01100010
01001110
00011000
11100111
11010010
01011100
00001111
01011010
00111111
10111110
01011110
01101001
01111100
11111101
11111101
10100100
00100010

stdout

stderr

strace