#864. Numbers coprime to 10
You get n. How many numbers from 1 to n have GCD 1 with 10?
### Input
One integer n (1 ≤ n ≤ 10⁵).
### Output
A number.
Examples
Input
51438
Output
20575
Input
27974
Output
11190
💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.