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