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