by@yamayu832
AC
using System;class E{static void Main(){for(int i=0;i<50;++i)Console.Write(0<=Array.IndexOf(new int[] {0,1,3,6,10,15,21,28,36,45,55,66,78,91,105,120,136,153,171,190,210,231,253},Convert.ToInt32(Console.ReadLine(),2))?1:0);}}
00010001 01111111 10111110 11010010 10011001 00001111 00110111 10000111 11000001 00010101 01000110 00001010 10110100 00001110 11001111 11111101 00001010 00010101 01011001 10101101 10100011 01011000 11001011 01011100 10010011 00011100 01110011 00000000 01001110 00000001 10111000 11000111 01101001 10101110 00101101 01111000 11001110 00100010 00000011 01011011 00011000 11000000 10001110 10001000 00000110 11100111 10101011 01000010 00100100 00101010
00111110010100011100000001011100101100110001111110