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