LowbieH is learning about matching brackets in the classroom. There are n brackets, and LowbieH want to know whether they are matched. The brackets will only contain \(\{, \}, (, ), [, ]\). Here is the matching rules. For example, \(\{(\{[\}]\})\) is not matched, but \([\{\{\}\}()]\) is matched. Please write a program to check whether the given string is matched or not.