#CTI110
#P4HW2
#Fatmata Dumbuya
#07/05/2018


sum_total = 0
number = 0

while number != -1:
    number = int(input('Enter a number? '))
    if number != -1:
        sum_total = sum_total + number
        
print (sum_total)

    
    

