I
have tried this problem a lot and got accepted when I use do-while loop
instead of while. I do not know where the hint is given in the problem.
I also use long long as data type to make my code just simple. Oooooo.....
, here you have to maintain another thing. You have to output the i and
j as they appear in the input.