In how many ways can you tile a 3 \times n rectangle with 2 \times 1 dominoes? Below is a sample tiling of a 3 \times 12 rectangle.

The input consists of several test cases, ending with a line containing . Each line contains a single integer (0 \leq n \leq 30).
For each test case, output the number of possible tilings on a separate line.
Example 1