Given a string consisting of parentheses.
Determine the minimum number of characters to be removed from this string, so that the remaining characters will form the correct bracket sequence.
One line consisting of no more than 10^5
parentheses.
Print the answer to the problem.