khann is a very strange ACMer, and therefore he suddenly wondered how many pairs of integers exist, where , for which
In this problem, denotes the greatest common divisor of the numbers and , and denotes the smallest common multiple of the numbers and
(让大家练练英语
The input consists of multiple test cases. The first line contains a single integer ( )— the number of test cases. Description of the test cases follows.
The first and the only line of each test case contains the integer ()
For each test case output a single integer — the number of pairs of integers satisfying the condition.
6 1 2 3 4 5 100000000
1 4 7 10 11 266666666