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