Skip to content

3. Prime number

Points
30
Type
ConsoleIO
Read a number n (n ≥ 1). Print yes if it is prime, otherwise no.

Examples

InputOutput
2 yes
1 no
15 no
97 hidden

Your code is saved locally until you submit a solution.

C#

Sign in to submit solutions and earn points.