Practice on Toph

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

I Did Not Do the Assignment

By The_mover · Limits 1s, 512 MB

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.

Input

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.

Output

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.

Samples

InputOutput
3
NO PUNISHMENT
InputOutput
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.


Discussion
Statistics

94% Solution Ratio

sayedgkmEarliest, Jul '17

TIGERFtFastest, 0.0s

SIR.24Lightest, 0 B

touhidurShortest, 135B

Submit

Login to submit