You are given a string containing only opening and closing brackets β(β and β)β of size m. You have to append 2 strings a and b in the order a+s+b and make them valid string of size n with the following properties,
At any index, number of opening brackets should be greater than closing brackets
No. of opening and closing brackets should be equal.
You have to tell number of combinations of string a and b if its possible, otherwise print β0β.
Print the answer with modulo 109 + 7.