GUESSPRM-guess the prime

can someone tell me whether i should read the M or not.

You dont need to read M

Means i will have to terminate the entire code if my code fails to guess the correct answer