01110001, That Is the Question#3254

01110001, That Is the Question

1 second
122.174 megabytes
Very easy

As you know, the number in binary is written using the digits and . You must convert number from binary to decimal.

Input

One nonnegative integer in binary notation. Contains no more than digits. The notation can start from zeros.

Output

Print the decimal representation of the input binary number.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading

Example 4

Loading
Loading