Superstitious Postman Rohit is a superstitious person and working as a postman. He is superstitious about the number 21. When he delt with any letter destinated to the pin code consist of "21", or any...


Superstitious Postman<br>Rohit is a superstitious person and working as a postman. He is superstitious about the<br>number 21. When he delt with any letter destinated to the pin code consist of

Extracted text: Superstitious Postman Rohit is a superstitious person and working as a postman. He is superstitious about the number 21. When he delt with any letter destinated to the pin code consist of "21", or any letter id consist of "21", or the whole number divided by "21", he refuses the letter to deliver. Otherwise, he would deliver the letter. Pin code and letter id are 6-digit and 8- digit information respectively. Rohit have to manage huge number of letters per day. As a friend, you should help Rohit. If you face any such number, you will display "I will not go there", otherwise show "I will go there". Input format 1st line consists of number of letters Rohit got from different sub post office and from 2nd line pin codes/letter id written on the letters will be displayed Input 5 700021 721654 432143 324216 00000042 Output I will not go there! I will not go there! I will not go there! I will not go there! I will not go there!

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here