Hide
Problem C
Primality
Given a positive integer
Input
The first line contains the integer
Output
Output YES if
Scoring
Your solution will be tested on a set of test groups, each worth a number of points. To get the points for a test group you need to solve all test cases in the test group.
Group |
Points |
Constraints |
|
|
|
|
|
No additional constraints |
Sample Input 1 | Sample Output 1 |
---|---|
6 |
NO |
Sample Input 2 | Sample Output 2 |
---|---|
7 |
YES |