The boring Three-God get a boring question.
So you have to transform a binary number to a decimal.
There are muti-case.
For each case, there are a binary number, the binary number's length is less than 32, and the binary number have no pre-zero (前导零).
For each binary number, print the decimal numbuer.the decimal number is less than 2^31 - 1.