#gaynor thomas 1703140
#Jasitharan Kugathasan P151435
#Question 3 (Advanced)

print("Hello")
userInput = 0
add = 1
while userInput != -1:
        if userInput > -2:
            if userInput > 0:
                userInput = int(input("Enter Number (-1 to exit): "))
                add = add + userInput
            else:
                userInput = 1
        else:
            print("You cannot input a negative number")
            userInput = 1
            
           


print("Your Total is {0}".format(add))
print("Goodbye")
    
