x = int (input()) a=0 for i in range(x+1): a=a+i print(a)