The task is to generate the correct answer for a given math problem.
--------
Question: Problem: a , b and c rents a pasture for rs . 730 . a put in 12 horses for 8 months , b 16 horses for 9 months and 18 horses for 6 months . how much should c pay ?

Answer: 22


Question: Problem: how many digits are required to number a book containing 240 pages ?

Answer: 612


Question: Problem: a train 360 m long is running at a speed of 45 km / hr . in what time will be pass a bridge 140 m long ?

Answer:
40 sec