Prime Check
Determine whether \(N\) is prime.
Input
One line containing \(N\).
The input satisfies:
- \(0 \le N \le 10^9\)
Output
Print YES if \(N\) is prime; otherwise, print NO.
Example
Input
261354255
Output
NO
Determine whether \(N\) is prime.
One line containing \(N\).
The input satisfies:
Print YES if \(N\) is prime; otherwise, print NO.
261354255
NO
Comments