so, I am getting a very weird wrong answer for the Johnny and the Beanstalk problem . and here is my original solution.I even tried to mimic the accepted solution here with my solution here and I still got WA though both look identical to me . please tell me if there is something I am messing.
Oh GOD!, Oh GOD!, Oh GOD!, Oh GOD!, Oh GOD!, Oh GOD!, Oh GOD!, I can repeat it zilion(an imaginary number) times. the problem was that i print in YES in uppercase while it should be printed like Yes. this hurts.