atcoder#ABC250D. [ABC250D] 250-like Number
[ABC250D] 250-like Number
Score : points
Problem Statement
Let us regard an integer as "similar to " if the following condition is satisfied:
- is represented as with primes $p.
How many integers less than or equal to are "similar to "?
Constraints
- is an integer between and (inclusive)
Input
Input is given from Standard Input in the following format:
Output
Print the answer as an integer.
250
2
- is "similar to ".
- is "similar to ".
The two integers above are all the integers "similar to ".
1
0
123456789012345
226863