Hide
Problem G
Prime Sieve
Input
The first line of input consists of two integers
Output
On the first line of output, write one line giving the
number of prime numbers less than or equal to
Sample Input 1 | Sample Output 1 |
---|---|
9973 6 1 2 3 4 9972 9973 |
1229 0 1 1 0 0 1 |