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.

Q: 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 ?

A: 81
****
Q: A pet store had 88 puppies . In one day they sold 34 of them and put the rest into cages with 6 in each cage . How many cages did they use ?

A: 9
****
Q: For the school bake sale Robin made 42 cupcakes . If she sold 22 of them and then made 39 more , how many cupcakes would she have ?

A:
59
****