Let us consider a sequence consisting of a single bit "0". Then, perform steps as follows: at each step, replace each bit "0" with two bits "10", and each bit "1" with two bits "01".
After the first step, the sequence "0" becomes "10"; after the second step, "0110"; after the third step, "10010110"; after the fourth step, "0110100110010110"; and so on.
Write a program that determines the number of adjacent pairs of bits "00" in the sequence after the -th step.
The input contains a single integer (1 \leq N \leq 1000).
Print the number of adjacent pairs "00" after the -th step.
Example 1