chef and snackdown

https://www.codechef.com/viewsolution/21996351

please help me find my errors I have got the output still it says wrong answer

Please Remove line 9 and 25 in your Code. You are not supposed to print anything (useless said by the Question).

//