nnn
10
For this input, the required output is 4.
4
100
For this input, the required output is 25.
25
2
For this input, the required output is 1.
1
Given an integer nnn, count how many prime numbers are less than or equal to nnn.
A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself.
count of primes≤n\text{count of primes} \le ncount of primes≤n