505035 - 单点求莫比乌斯函数

【题目描述】单点求莫比乌斯函数(miu)

给一个整数n,求它的莫比乌斯函数。

Input

第一行为一个整数T(T不超过20),表示测试组数,随后T个整数n(2≤n≤10^9)。

Output

输出对应的莫比乌斯函数。

Examples

Input

1
5

Output

-1
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题