Result [link]

AC

Code [DL]

using [java] java.lang
using [java] java.math
using [java] java.io

class FantomSay {
	Void main(Str[] args) {
		// your code goes here
		BufferedReader input :=
			BufferedReader(InputStreamReader(System.in))
		Str str := input.readLine()
		BigInteger d := BigInteger(str, 2)
		System.out.println(d.toString())
	}
}

stdin

1010000010010011101001000101010101111110000100111001111111100111000001010110100111101101011111011001

stdout

795137435392956464954995562457

stderr

strace