3. Prime number
- Points
- 30
- Type
- ConsoleIO
Read a number
n (n ≥ 1). Print yes if it is prime, otherwise no.Examples
| Input | Output |
|---|---|
2 |
yes
|
1 |
no
|
15 |
no
|
97 |
hidden |
Your code is saved locally until you submit a solution.