# Hard Way
# num = 1
# count = 0
# for i in range(100):
#    count = count + num
#    num = num + 1
#    print(count)
# print('Final # is ' + str(count))

total = 0
for num in range(101):
   print(str(total))
   total = total + num
print(total)
