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

[Q]: Henry had 3 action figures , but needed 8 total for a complete collection . If each one costs $ 6 , how much money would he need to finish his collection ?
[A]: 30


[Q]: Sam was collecting cans for recycling . On Saturday he filled 3 bags up and on Sunday he filled 4 more bags . If each bag had 9 cans in it , how many cans did he pick up total ?
[A]: 63


[Q]: Will invited 9 friends to a birthday party , but 4 could n't come . If he wanted to buy enough cupcakes so each person could have exactly 8 , how many should he buy ?
[A]:
40