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