The Lucas numbers are closely related to the Fibonacci numbers. For any non-negative integer , the th Lucas number is defined as
The input starts with an integer , the number of cases. On each of the following lines is a single integer which satisfies .
For each case , output the Lucas number on a single line.
Input
4 0 1 5 10
Output
2 1 11 123