user_input = input() test_grades = list(map(int, user_input.split())) # test_grades is an integer list of test scores
sum_extra = -999 # Initialize 0 before your loop
sum_extra = sum(i - 100 for i in test_grades if i > 100)
print('Sum extra:', sum_extra)