sanbin = [100,150,200,250]
def sum(a):
    b = 0 
    for i in a:
        b += i
    return b
result = sum(sanbin)
print(result)