Given a sequence made up of only ‘(’ and
‘)’, tell if the parentheses close correctly.
Input consists of a sequence of parentheses.
Print “yes” or “no”, depending on whether
the parentheses close correctly or not.
Author: Unknown
Translator: Carlos Molina
Generation: 2026-01-25T10:11:09.999Z
© Jutge.org, 2006–2026.
https://jutge.org