My program in Codechef shows Wrong Answer but shows exactly the same output as mentioned in the problem.

Sir, I compiled my program in and and the output matches exactly as you have shown in the “Chef and Operation” problem of Snackdown. But the compiler of Codechef shows this as “Wrong Answer”.What should I do now?
I also want to ask you whether it is required to give input exactly as that mention by you in the problem.