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