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.

Ex Input:
Bianca was organizing her book case making sure each of the shelves had exactly 8 books on it . If she had 5 shelves of mystery books and 4 shelves of picture books , how many books did she have total ?

Ex Output:
72

Ex Input:
At the fair Adam bought 13 tickets . After riding the ferris wheel he had 4 tickets left . If each ticket cost 9 dollars , how much money did Adam spend riding the ferris wheel ?

Ex Output:
81

Ex Input:
While playing at the arcade , Ned won 26 tickets playing ' whack a mole ' and 19 tickets playing ' skee ball ' . If he was trying to buy candy that cost 9 tickets a piece , how many could he buy ?

Ex Output:
5