l=[] while True:
n=input() if n=='': break else: l.append(int(n))
for n in l:
s=0 for i in range(1,n+1): s=s+i print(s)