Given a set of numbers \{1, 2, 3, 4, 5, \ldots, 2^n\}. Alenka removes 2^{n-1} numbers from this set. Alex removes 2^{n-2} numbers. Then Alenka removes 2^{n-3} numbers. This process continues until only two numbers and remain. Then, Alex gives Alenka |a-b| candies. If Alex tries to minimize the candies lost, what is the maximum number of candies Alenka can obtain?
The input contains one natural number (n < 1000).
Your program should output a single number: the maximum number of candies that Alenka can win.
Example 1