Given a string s containing just the characters (), [] and {}, determine if the input is valid.
A string is valid when every opening bracket is closed by the same type of bracket, in the correct order, and every closing bracket has a matching opener.
"()""()[]{}""(]""([)]""{[]}""("