Yasser is an Egyptian coach, and he is running a training camp in Jordan. On the last day the participants solved every hard problem he had brought, so he gave them one more task.
Count the sequences (d1,d2,…,dN) of N digits, each one between 0 and 9, that satisfy d1≤d2≤⋯≤dN. A sequence whose first digit is 0 counts as well.
The first line contains the number of test cases T. (T≤100)
Each of the next T lines contains one integer N. (1≤N≤100000)
For each test case, print the number of valid sequences modulo 1000000007 on its own line.