def sum_list(lst):
    i = 0
    for x in lst:
        if type(x) == int:
            i += x
        else:
            i += sum_list(x)
    return i

0169af3db70e495d65318073ccc2d894d4899fcd
<mask token>

def sum_list(lst):
    i = 0
    for x in lst:
        if type(x) == int:
            i += x
        else:
            i += sum_list(x)
    return i
