In [11]:
n=int(input())
i=0
total=0
while i<n :
    i=i+1
    total=total+i
    
print(total)


4
10