We define the LEVEL of a triangle as in the following illustrative image:
You have to count all triangles in the biggest one (level ).
The first line contains the number of test cases ). Each line contains an integer which is the level of the triangle in that test case.
For each test case, you should write a separate line: the number of triangles in the biggest one (level ). All answers will fit within the range of a -bit integer.