def somme(n):
    S = 0
    for k in range(1,n+1):
        S = S + k

    return S
