In this task, you need to output 'Yes' if the given number is a prime number otherwise output 'No'. A 'prime number' is a a whole number above 1 that can not be made by multiplying other whole numbers.

Q: 2477

A: Yes
****
Q: 39971

A: Yes
****
Q: 3585

A:
No
****