Balanced parenthesis problem

sir i did earlier but ek bhi testcase paas hi nhhi hua tb aur ab bhi nhhi ho rhha https://ide.codingblocks.com/s/666070 aur kya changes kru ya aap comment out kr dijiye kyuki meine user se input leke kiya tha try but testcase ni ho rhhe satisfy

hi @manishayadav1360_c0939b9a17f994ff, write Yes and No only first letter capital