#homework 3 for in range 0 to any number 
#Adilet Mamytov

stop_word = ''
a = 0
b = int(input("enter the ammount b: "))
sum = 0
while True:
    for i in range(a,b):
        sum = sum + i
        print(sum) 
    

    





        # calculation
# for i in range(a,b):
#     while a <= b:
#         i = i + a
#         a = a + 1
#         print(i) 
#     stop_word = input('answer: ')
#     if stop_word == 'stop':
#         print ('end')
#         break
# else: 
#     print ('else loop')   


