New Quest — Valid Parentheses
A manuscript can be correct in every detail and still collapse if its structure is broken. Liina struggles with nested explanations that never quite return to where they began.
On the input tape you’ll get a string consisting of different types of parentheses. Your task is to check if the parentheses are validly nested and closed.

