The first line of input will contain T(number of test cases), each test case follows as.
Next T lines contain an integer n.
1 <= T <= 10^4
0 <= n < 10^3
For each test case. print the answer in a new line.
Since answer can be pretty huge print its modulo with 10^9 + 7