Add solution to valid-parentheses