initial Longest valid parentheses problem