n=int(input("enter n"))
sum=0
for i in range(1,n+1):
    sum+=i
    print(sum)
    
"""
#for even no

n=int(input("enter n"))
sum=0
for i in range(0,n+1,2):
    sum+=i
    print(sum)

"""


"""
#for odd no

n=int(input("enter n"))
sum=0
for i in range(1,n+1,2):
    sum+=i
    print(sum)
"""    
