#abc300d. [abc300_d]AABCC
[abc300_d]AABCC
Problem Statement
How many positive integers no greater than can be represented as with three primes , and such that ?
Constraints
- is an integer satisfying .
Input
The input is given from Standard Input in the following format:
Output
Print the answer as an integer.
Sample Input 1
1000
Sample Output 1
3
The conforming integers no greater than are the following three.
Sample Input 2
1000000000000
Sample Output 2
2817785