Update parentheticals() to handle inputs with the same number of parens in the wrong order.