Elections for the title of "Best Number" are being held in Saransk. There are people at the polling station, and the -th of them carries a number .
When a person steps into the booth, they do not vote for their own number - they vote for a candidate that is a divisor of it. So the -th person picks some that divides (this can be , or itself, or anything in between).
After everyone has voted we are left with an array of votes . The organizer calls the vote ideal when the least common multiple of all the votes equals their product:
Here is the least common multiple - the smallest number divisible by every .
Count how many different ideal arrays of votes are possible. Two arrays are different if they differ in at least one position. The count can be enormous, so print it modulo .
Input
The first line contains the number of test cases .
Each test case takes two lines. The first line has a single integer - the number of voters. The second line has integers - the numbers they carry.
The sum of over all test cases does not exceed .
Output
For each test case print one line: the number of ideal vote arrays, modulo .
Example
4 4 2 3 1 4 2 2 4 6 3 9 1 6 4 5 7 1 2 3 67 13 8 8
8 4 40 64
In the first test we have valid arrays - for example everyone voting , or the fourth person voting while the rest vote , etc..
Constraints
The sum of over all test cases does not exceed .
This problem was adapted from Elections in Saransk (easy version), problem F1 of Codeforces Round 1103 (Div. 3).