WA in Secret code

I am having trouble why it is showing WA
https://www.codechef.com/viewsolution/31901113