Count T-primes


Submit solution

Points: 100
Time limit: 2.0s
Memory limit: 256M

Author:
Problem types

A T-prime is the square of a prime number. Count the T-primes not greater than \(n\).

Input

One line containing \(n\).

The input satisfies:

  • \(1 \le n \le 10^12\)

Output

Print the required count.

Example

Input
70693043583
Output
23302

Comments

There are no comments at the moment.