I can’t understand why my code is giving WA.
Here is the link to my submission: CodeChef: Practical coding for everyone