# -*- coding: utf-8 -*-
"""
Created on Mon Nov 19 14:58:18 2018

@author: User
"""

num= int(input('Enter n numbers'))
sum=0
for n in range (num):
    numb= int(input('Enter number:'))
    sum+= numb
    print(sum)

