The task is to generate the correct answer for a given math problem.

Input: Consider Input: Problem: the average of 5 quantities is 12 . the average of 3 of them is 4 . what is the average of remaining 2 numbers ?

Output: 24


Input: Consider Input: Problem: a , b and c start a business each investing 20,000 . after 6 months a withdrew 5000 , b withdrew 4000 and c invests 6000 more . at the end of the year , a total profit of 67,600 was recorded . find the share of b .

Output: 21,600


Input: Consider Input: Problem: ( ( ( 13 ! ) ^ 16 ) - ( ( 13 ! ) ^ 8 ) ) / ( ( ( 13 ! ) ^ 8 ) + ( ( 13 ! ) ^ 4 ) ) = a then what is the units digit for a / ( ( 13 ! ) ^ 4 ) =


Output: 9