Sequence of brackets consists of three types of brackets: ( ), [ ], { }. Determine if it is a correct sequence.
The string contains a bracket sequence with length no more than characters.
Print yes if the sequence is correct and no otherwise.
Example 1
Example 2