Meg is buying cupcakes for her friend's birthday at Polkadots Cupcake Factory. *This problem is not sponsored by Polkadots Cupcake Factory and does not express the views of Polkadots Cupcake Factory.
All of the cupcakes have some number of polkadots on them. Meg would like to buy a cupcake with at least $$$n$$$ polkadots on it. However, it's well-known that cupcakes with a prime number of polkadots are bad luck. Please help Meg determine how many polkadots her cupcake should have, such that
The first and only line contains a single integer $$$n$$$ denoting the minimum number of polkadots Meg wants. $$$(2 \le n \le 1000)$$$
Output a single integer, the minimum number of polkadots Meg's cupcake should have that is not prime and is greater than or equal to $$$n$$$.
2
4
5
6
1000
1000
| Name |
|---|


