153. Redundant Brackets
An expression contains redundant brackets when some pair surrounds nothing
that needs bracketing — either an empty pair, or a pair with no operator directly inside
it. So (a+b) is fine, but ((a+b)) and (a) are both redundant.
Read one expression made of lowercase letters, the operators + - * /, and brackets, and
print Yes if it contains a redundant pair or No if it does not.
The brackets are always balanced.
Constraints - The line has between 1 and 100000 characters. - Only lowercase letters, `+ - * /`, and `(` `)`.
Input
A single line containing lowercase letters, the operators + - * /, and balanced brackets.
Output
Print exactly one word: Yes or No.
Hints
Four rungs, in order. The last two open once you have submitted an attempt — a wrong one counts.