AtCoder Beginner Contest 106
B
105
AtCoder
⌀ 0
原题
← AC →
翻译中…

Problem Statement

翻译中…

The number $105$ is quite special - it is odd but still it has eight divisors. Now, your task is this: how many odd numbers with exactly eight positive divisors are there between $1$ and $N$ (inclusive)?

翻译中…

Constraints

翻译中…
  • $N$ is an integer between $1$ and $200$ (inclusive).
翻译中…

Input

翻译中…

Input is given from Standard Input in the following format:

翻译中…

N

翻译中…

Output

翻译中…

Print the count.

翻译中…

样例

Input #1
105
Output #1
1
Among the numbers between $1$ and $105$, the only number that is odd and has exactly eight divisors is $105$.
Input #2
7
Output #2
0
$1$ has one divisor. $3$, $5$ and $7$ are all prime and have two divisors. Thus, there is no number that satisfies the condition.
题目信息
题号
abc106_b
时间限制
2 s
内存限制
976 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。