you have been given a number n, count the number of integers between 1 to n inclusive, which are co-prime to n.
Input Format
The first line contains the integer n.
Output Format
Output an integer in a line.
Constraints
1 <= n <= 10^9
Example
Input
7
Output
6