Getting wrong answer in "frogv"

problem : CodeChef: Practical coding for everyone
my solution : CodeChef: Practical coding for everyone

Please help me out. It gives correct result in sample input and also it seems everything is okay but why it is giving wrong answer.

You have to print Yes and No

1 Like

stupid mistake
@sebastian thanks :blush: