You are given a positive integer . Find out the total number of ways in which can be divided into some poitive integers.
If then are counted as three different ways.
Since answer could be very large, print it modulo .
Input:
First line contians a single integer denoting the number of test cases.
First line of each test case contains a single integer
Output:
For each test case print a single line containig one integer, the number of ways in which can be divided modulo .
Constraints:
For test case 2:
N=4
N can be divided in the following ways:
1 1 1 1
2 1 1
1 2 1
1 1 2
2 2
3 1
1 3
4
Total number of ways = 8.