Result [link]

AC

Code [DL]

function pohe(x)
  print(dec(x))
end
s = readline(STDIN)
a=parse(BigInt,s,2)
print(a)

stdin

1111110011110100111000111111110100100001100001000110101000110000111000101001010001101000100011000010

stdout

1252580432345567375257967691970

stderr

strace