#Program to find the sum of n natural numbers:---
n=int(input('enter the number:'))
average = 0
sum = 0
for i in range(0,n+1):
    sum = sum+i;

print("sum of first ", n, "number is: ", sum)
            
