Given a sequence of powers of , i.e., the numbers 2, 4, 8, \ldots, 2^n, written one after another in a single line without any spaces, determine the value of .
A single line contains (1 \leq n \leq 1000) consecutive powers of written without any spaces.
Print the value of .
Example 1