Problem H

Statement
Copy Copied
Given an integer n, output YES if n is prime, otherwise NO.
Input: n
Output: YES or NO