by@xuzijian629_key
WA
process.stdin.on('data', n=>console.log((8*parseInt(n,2)+1)**0.5%2==1?1:0))
11100101 01111111 00000111 00001010 00000110 10110001 01001110 01111000 10100100 10001100 00000000 01100000 10001000 00100100 10000000 10010010 01101001 00100111 00010101 10011001 00110111 11101110 11001010 00100010 01001110 11100111 01110110 01010100 01011011 01001101 01000010 00101101 00000110 11111101 00000001 11010010 00010000 00000011 11010000 10111100 01001001 10100101 00011111 01010000 10110011 00001111 10101011 10111110 11010011 00011100
0