<garvit244>1021_1.py
def removeOuterParentheses( S):
    temp, result = "", ""
    start_bracket = 0
    for char in S:
        temp += char
        if char == '(':
            start_bracket += 1
        else:
            start_bracket -= 1
        if start_bracket == 0:
            result += temp[1:-1]
            temp = ""
    return result
def sample_funcname ( var_0 ) :
    var_2 , var_3 = "" , ""
    var_5 = 0
    for var_6 in var_0 :
        var_2 += var_6
        if var_6 == '(' :
            var_5 += 1
        else :
            var_5 -= 1
        if var_5 == 0 :
            var_3 += var_2 [ 1 : - 1 ]
            var_2 = ""
    return var_3
