Given a math word problem, answer the following question. You might need to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the question and then only report the final numerical answer.

the group then went on to check out the houses along broadway street and the scary werewolf avenue . after the long walk they decided to count their candy again . if mary has 5 chewing gums sam has 10 chewing gums and sue has 15 chewing gums how many chewing gums did the 3 have in all ?
30

8 balls were in the basket . some of the balls were removed from the basket . now there are 6 balls . how many balls were removed from the basket ?
2

charlie has 31 more snowballs than lucy . she has 19 snowballs . how many does charlie have ?
50