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

Ex Input:
Problem: the average ( arithmetic mean ) of 8 numbers is 43.1 . if the sum of half of these numbers is 158.4 , what is the average of the other half ?

Ex Output:
46.6


Ex Input:
Problem: the average score of a cricketer in 2 matches is 60 and in other 3 matches is 50 . then find the average score in all the 5 matches ?

Ex Output:
54


Ex Input:
Problem: 2 pipes can separately fill a tank in 20 hrs and 30 hrs respectively . both the pipes are opened to fillthe tank , a leak develops in the tank through which one - third of water supplied by both the pipes goes out . what is the total time taken to fill the tank ?

Ex Output:

16 hrs