#nt201. 欧拉函数
欧拉函数
Euler's Totient Function
Problem Description
Read , then test cases follow. Each case gives one number ; output its Euler's totient function .
Input Format
The first line contains one integer .
Each of the next lines contains one number .
Output Format
Output lines, each containing one number: the value of for that .
Sample Input
2
12345
987654321
Sample Output
6576
619703040
Constraints
For of the test cases, and .