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.

Ex Input:
after visiting france rachel 's sister bella requested that they see the buckingham palace in london . if they travelled 451 miles by land and 150 miles by sea across the english channel what is the total distance that they travelled ?

Ex Output:
601

Ex Input:
she then went to 3 orphanages and donated a total of $ 650 . if she gave $ 175 to the first orphanage and $ 250 to the third how much did she donate to the second orphanage ?

Ex Output:
225

Ex Input:
lenny has $ 84 . he spent $ 24 on video games and $ 21 at the grocery store . how much does lenny have left ?

Ex Output:
39