Problem D

Statement
Copy Copied
Problem D: Check Prime

Input: an integer n.
Output: YES if n is prime, otherwise NO.