Numbers#2806

Numbers

1 second
64 megabytes
Easy

Given a natural number .

Write a program that calculates how many natural numbers, not exceeding , are not divisible by any of the numbers , , or .

Input

A single line containing the number (1 \leq N \leq 1000000000).

Output

Output the number found.

Examples

Example 1

Loading
Loading