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: For the school bake sale Wendy made pastries . She baked 4 cupcakes and 29 cookies . After the sale she had 24 to take back home . How many pastries did she sell ?

Output: 9


Input: Consider Input: The school cafeteria had 12 apples . If they used 8 to make lunch for the students and then bought 19 more , how many apples would they have ?

Output: 23


Input: Consider Input: While shopping for music online , Janet bought 6 country albums and 2 pop albums . Each album came with a lyric sheet and had 9 songs . How many songs did Janet buy total ?


Output: 72