N = map(int, input().split()) i = 0 for value in range(1,N+1): i = i+value print(i)