The fraction is called regular irreducible if 0 < m < n and \gcd(m, n) = 1. Find the number of regular irreducible fractions with the denominator .
Each line is a separate test case and contains one integer (n < 10^9). The last line contains and is not processed. The number of test cases does not exceed .
For each value of , print in a separate line the number of regular irreducible fractions with the denominator .
Example 1