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 Q]: A painter needed to paint 6 rooms in a building . Each room takes 5 hours to paint . If he already painted 2 rooms , how much longer will he take to paint the rest ?
[EX A]: 20

[EX Q]: The cafeteria had 47 apples . For lunch they handed out 27 to students and decided to use the rest to make pies . If each pie takes 4 apples , how many pies could they make ?
[EX A]: 5

[EX Q]: There were 4 friends playing a video game online when 5 more players joined the game . If each player had 3 lives , how many lives did they have total ?
[EX A]:
27