A. Space Drawings
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

The fence consists of $$$N$$$ boards. On Cosmonautics Day, Petya drew a spaceship on every fourth board (4, 8, 12 ...). Vasya drew a lunar rover on every fifth board (5, 10, 15 ...). Masha drew an orbital station on every sixth board (6, 12, 18 ...).

Determine the number of boards with only one drawing.

Input

An integer $$$N$$$ ($$$1 \le N \le 10^9$$$) is given.

Output

Your program should output a single integer — the number of boards with one drawing.

Example
Input
15
Output
6