# Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

Professor Petr is very angry over some of his students now-a-days for not doing assignment. He wants to give them punishment. He will pick a number **n** randomly and the punished student will have to write “I DID NOT DO THE ASSIGNMENT.” n times in his writing script. But Professor Petr likes prime numbers a lot and if the random number is prime, then the student will not have to bear the punishment.

There will be only one test case per input file. The input file will contain an integer number **n** (1 ≤ n ≤ 1000) denoting the number Professor Petr will pick.

If the random number n is prime just print “NO PUNISHMENT” and if the number is not prime then print “I DID NOT DO THE ASSIGNMENT.” n times.

Input | Output |
---|---|

3 | NO PUNISHMENT |

Input | Output |
---|---|

4 | I DID NOT DO THE ASSIGNMENT. I DID NOT DO THE ASSIGNMENT. I DID NOT DO THE ASSIGNMENT. I DID NOT DO THE ASSIGNMENT. |

Login to submit