The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.
Public test cases
Input
7
26
177
509
2053
0
Output
7 is prime
26 is not prime
177 is not prime
509 is prime
2053 is prime
Input
7
26
177
509
2053
0
Output
7 is prime
26 is not prime
177 is not prime
509 is prime
2053 is prime