Consider a permutation containing each integer from to exactly once. Count the permutations satisfying
Print the answer modulo .
The input is given in the following format:
case case
For each test case, print the number of valid permutations modulo on one line.
Each test case is given in the following format:
| 3 | 25 | , and the sum of over all test cases does not exceed . |
| 4 | 45 | No additional constraints. |