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