# name:sai eshwar reddy kottapally
# roll no:100519733022
# program to print sum of n natural numbers

n=eval(input("enter n:"))

sum=0

for i in range(n+1):
    sum=sum+i

print("sum of "+str(n)+" natural numbers is",sum)

