100 atcoder#ABC149C. [ABC149C] Next Prime
[ABC149C] Next Prime
Score: points
Problem Statement
Find the minimum prime number greater than or equal to .
Notes
A prime number is an integer greater than that cannot be evenly divided by any positive integer except and itself.
For example, , , and are prime numbers, while and are not.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the minimum prime number greater than or equal to .
20
23
The minimum prime number greater than or equal to is .
2
2
itself can be a prime number.
99992
100003