Teacher: 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.
Teacher: Now, understand the problem? If you are still confused, see the following example:
7
Solution: Yes
Reason: 7 is a prime number as it has no factors greater than 1. So, it can't be made by multiplying other whole numbers and the answer is 'Yes'.

Now, solve this instance: 18887
Student:
No