def METHOD_NAME(string):
    nested = 0
    for word in string:
        if word == '(':
            nested += 1
        if word == ')':
            # End as last )
            if nested == 1:
                yield word
                return
            nested -= 1
        yield word