SPOJ Problem Set (classical) - Life, the Universe, and Everything

spoj

Problem:

Please find the problem here.

Solution:

To celebrate I have done with my 42nd problem, I decided to attempt this question. Apparently, this isn’t really a question, we can just get it accepted blindfolded - yes, it is that easy :p

Consider this a joke in this blog!

Code: