As predicted by the great Gods, Little Arjit has got nothing to do this summer. (Are you surprised?) But, he's not one of those people to lose hope... not so easily. He decided to work hard this summer on the two things he wants the most, as of now: "Dual degree work", and "an internship!"
So, following the signs from the universe, he makes multiple chits like the one shown below, and folds them, and puts all of them in a jar.
Now, he follows a certain algorithm to complete his planned hard work in the 60 days of vacations, he's got.
Given the total number of chits made by Little Arjit, in how many ways can he finish of all his work?
Input format:
The first line contains an integer, t, denoting the number of test cases. The next t lines contain one integer, n, in every line, denoting the number of chits made by little Arjit.
Output format:
Print the number of ways he can empty the jar.
Constraints:
1 <= t <= 700
1 <= n <= 30
Obvious fact: For completing 30 chits, he'll be needing 30*2=60 days.
Let's represent events happening on all those days as a string. How many different valid strings would be there that would empty the jar? Let's say that n = 3. D means dual degree. I means internships. So, there will be 5 different ways. They will be: