Medium
Is It Prime?
Read n ≥ 1 and print
Prime or Not prime, testing divisors only up to √n with a loop.Input
One integer.
Output
One line.
Sample 1
Input
7
Output
Prime
Sample 2
Input
1
Output
Not prime
Output appears here