Solved valid-parentheses.