# Arup Guha
# 11/18/2012
# Solution to Junior Knights Homework 7C: Check Collector

LIMIT = 100

def main():

    # Prompt the user.
    value = int(input("Enter the value of all of your checks, ending with -1\n"))
    total = 0

    # Loop until sentinel value
    while value != -1:

        # Process this value, if necessary and read the next.
        if value <= LIMIT:
            total = total + value
        value = int(input(""))

    # Print out final tally.
    print("You have collected a total of $",total," with checks of $100 or less.", sep = "")

main()

        
        
