Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. A string is valid if brackets close in the correct order.
s = "()"trues = "()[]{}"trues = "(]"falses = "([)]"false