Consider a list of integers . Initially, contains all integers from to , each exactly once (later, the list may contain multiple copies of some numbers). The order of elements in does not matter. You need to perform the following operation n - 1 times:
Select two elements from the list, denoted by and . They may be equal.
Remove the selected elements from .
Add the number x + y + x \cdot y to the list.
As a result, the list will contain exactly one number. Find the maximum possible value of this number. Since the answer can be large, print it modulo 10^9 + 7.
The first line contains the number of test cases . Each of the next lines contains one integer n~(1 \le n \le 10^6).
For each test case, print one integer — the maximum possible value of the last number in the list, computed modulo 10^9 + 7.
Example 1