#abc149c. [abc149_c]Next Prime
[abc149_c]Next Prime
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 .
Sample Input 1
20
Sample Output 1
23
The minimum prime number greater than or equal to is .
Sample Input 2
2
Sample Output 2
2
itself can be a prime number.
Sample Input 3
99992
Sample Output 3
100003