You are given a math word problem and you are supposed to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Input: Consider Input: Haley was playing a video game and had 14 lives . In a hard part of the game she lost 4 lives . If she got 36 more lives in the next level , how many lives would she have ?

Output: 46

Input: Consider Input: Sara had 100 pennies and 783 quarters in her bank . Her dad borrowed 271 quarters from Sara . How many quarters does she have now ?

Output: 512

Input: Consider Input: There are 6 pencils and 7 rulers in the drawer . Benny placed 3 pencils in the drawer . How many pencils are now there in total ?
Output: 9