Given a number N, the task is to find the product of all factors of N. Since the product can be very large answer it modulo 109 + 7.
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow. Each test case contains a number N as input.
For each test case, print the required product in new line.