text: For the case : " " or when one closing and one opening bracket remains for pairing , then both need to be reversed .
code: close %= 2 NEW_LINE open %= 2 NEW_LINE if close > 0 : NEW_LINE INDENT ans += 2 NEW_LINE DEDENT return ans NEW_LINE