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

Input: Consider Input: Megan picked 19 carrots from her garden . If she threw out 4 of them and then picked 46 more the next day , how many carrots would she have total ?

Output: 61


Input: Consider Input: Mary had 18 baseball cards , and 8 were torn . Fred gave Mary 26 new baseball cards . Mary bought 40 baseball cards . How many baseball cards does Mary have now ?

Output: 84


Input: Consider Input: The cafeteria had 86 apples . For lunch they handed out 30 to students and decided to use the rest to make pies . If each pie takes 8 apples , how many pies could they make ?


Output: 7