Problem E

Statement
Copy Copied
Problem E - Prime Check
Input: A single integer n (1 <= n <= 1000).
Output: YES if n is prime, otherwise NO.