Let be a permutation of .
An optimistic permutation follows .
An over-optimistic permutation has the following properties:
Given , find the count of all over-optimistic permutations modulo .
Input:
The first line contains - the number of testcases, followed by T lines each containing one integer .
Output:
For each testcase print the answer on a newline.
Constraints:
For , the only possible over-optimistic permutation is .