For given integer n, count the totatives of n, that is, the positive integers less than or equal to n that are relatively prime to n.
n
An integer n (1 ≤ n ≤ 1000000000).
The number of totatives in a line.
6
2
1000000
400000