instruction:
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: a swimmer can swim in still water at 4 km / h . if the speed of the water current is 2 km / h , how many hours will the swimmer take to swim against the current for 5 km ?
answer:
2.5


question:
Problem: a farmer spent $ 37 on feed for chickens and goats . he spent 40 % money on chicken feed , which he bought at a 20 % discount off the full price , and spent the rest on goat feed , which he bought at full price . if the farmer had paid full price for both the chicken feed and the goat feed , what amount would he have spent on the chicken feed and goat feed combined ?
answer:

$ 40.7