As you know, the number in binary is written using the digits and . You must convert number from binary to decimal.
One nonnegative integer in binary notation. Contains no more than digits. The notation can start from zeros.
Print the decimal representation of the input binary number.
Example 1
Example 2
Example 3
Example 4