CF284A Cows and Primitive Roots
Description
The cows have just learned what a primitive root is! Given a prime $ p $ , a primitive root  is an integer $ x $ $ (1
Input Format
The input contains a single line containing an integer $ p $ $ (2
Output Format
Output on a single line the number of primitive roots .
Explanation/Hint
The only primitive root  is $ 2. $
The primitive roots  are $ 2 $ and $ 3. $