Next Prime (Hard)View as PDF
Brute Force Practice 3 — Hard Version
You love prime numbers. You own a number, but you suspect it might not be prime. You want a prime number, but it must be at least as large as the number you currently own. Find the smallest number that satisfies those conditions.
The first line will have the integer ()
Print the number you want.