Honeycomb Walk#1284

Honeycomb Walk

1 second
122.174 megabytes
Easy

A bee has just emerged from a larva and decided to travel among the honeycomb cells. At each "step," the bee can move to one of the neighboring cells, and after steps, must return to the cell it started from.

Your program must, given , determine the number of possible walks for the bee.

Input

The first line contains the number of test cases.

Each test case is on a separate line and contains one integer (1 \leq n \leq 14).

Output

For each test case, print the required number of possible walks on a separate line. It is known that the answer does not exceed 2^{31}.

Examples

Example 1

Loading
Loading