Result

WA

Code [DL]

console.log(require('fs').readFileSync(0,'utf8').split("\n").map(q=>{a=parseInt(q);for(i=1;a>0;i++)a-=i;return a==0?1:0}).splice(0,50).join(""))

stdin

10000010
11111101
11100100
10011101
01010000
00010101
01111101
00000100
00010101
00000101
10111001
01100100
01001000
00011100
00000011
00111100
01111000
10011001
00000110
10111110
10101011
01011011
00111001
11011011
10001000
11010010
00010101
00100100
11101110
00001110
00000000
11100111
00101101
01000110
00001010
00001111
11111110
10000011
00000001
11001101
10001010
00000111
11001001
01000010
01101011
01001110
01101001
01100001
11100001
00110111

stdout

00000000000000000000000000000010000000100000000000

stderr

strace