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);}}
10010001 10011011 00100110 00001111 00001010 01011011 10001000 10111000 11011101 01110011 00011100 11111101 10001100 00100100 10111110 00010101 01010111 00000110 11000100 10100001 00110010 11101011 00100010 11100111 00000011 11110011 11111101 10010011 01001110 01101001 11001100 10000100 00110111 11001010 10101011 00101101 01000010 01100010 01111000 00000001 01100111 00000011 00000000 00111011 11010010 11101001 01010010 10011001 01011110 01110101
00011110001101110100000110101100101110110110100100