Test case not passed

test case 2 and 3 not passed. can you please find out the error.
link to my code- https://ide.codingblocks.com/s/241903

hello @pulkit_pandey09


if this condition will not satisfy then in that case u should print no.

still not able to pass the test cases. link to my code -https://ide.codingblocks.com/s/241903

check ur corrected here- >

then code is giving wrong output for sample case - ()).
please clarify it.

use one boolean variable to check whther u have already printed no or not.
if not then print yes otherwise ignore