while True:
try:
N = int(input())
except:
break
else:
a = 0
list = [0,]
for x in range(1,N+1):
a += x
list.append(a)
# [0, 1, 3, 6, 10, 15]
for i in range(N,0,-1):
line = N - i
for j in range(1,i+1):
b = list[line] + list[j] + line*(j-1)
print(b,end=' ')
print()
"""
1 3 6 10 15 21
2 5 9 14 20 1 2 3 4 5
4 8 13 19 3 5 7 9
7 12 18 6 9 12
11 17 10 14
16 15
"""