Description Check if parentheses are balanced. Given a string s containing '()[]{}', determine if the input string is valid.