sbool isClosingBracket(S s) { ret eqOneOf(s, ")", "}", "]"); }