C stos

case '{', '[', '(' -> stack.push(c);
case '}', ']', ')' ->
Glamorous Goose