Result

WA

Code [DL]

while 1:print(int((int(input())*8+1)**.5%1)^1)

stdin

11000011
00000110
00010101
01111101
11000110
11010010
10111010
00010010
10001000
10101011
01110010
00101101
00100100
01011011
00010101
00011100
01010011
10000110
00100001
11010000
11101100
00011101
10100011
01111000
00100101
01011011
01100001
10110001
00000011
10101001
00110100
10000001
00000001
01010101
11110001
00110111
01011001
00000111
00001010
10011001
11111101
01101001
00000000
00001111
11000101
01000010
01001110
01011010
10111110
11100111

stdout

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

stderr

Traceback (most recent call last):
  File "/volume/CODE", line 1, in <module>
    while 1:print(int((int(input())*8+1)**.5%1)^1)
EOFError: EOF when reading a line

strace