CPython lite logoProblemsContests

11. Checking for Prime #1

You are given a natural number n. Check if the number is prime.


Input

The first line contains a natural number, n(1n560).

Output

If the number is prime, output Yes, otherwise output No.


Sample input 1

1

Sample output 1

No

Sample input 2

2

Sample output 2

Yes

Sample input 3

4

Sample output 3

No

Login to be able to submit.

BasicLoops
501 / 46
Solved / unsolved count
1.0 s / 512 MB
Limits