sorry i just resolve my problem
Didn’t you already get AC in this question yesterday?
Anyways you are not printing new line after YES or NO. That’s why WA.
actually it was my first approach . nd yaa i just missed the new line statement thanks
still getting wrong