N = int(input()) sum = 0 for N in range(1,N+1): sum+=N print(sum)