ATM: showing wrong answer always

Help me out guys
https://www.codechef.com/viewsolution/14353238

Look at the input format, it says input contains 2 integers. But you have only take a single integer as input.

//