Problem: a , b and c rents a pasture for rs . 899 . 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 ?
Rationale: "12 * 8 : 16 * 9 = 18 * 6 8 : 12 : 9 9 / 29 * 899 = 279 answer : b"
annotated_formula: multiply(divide(899, add(add(multiply(12, 8), multiply(16, 9)), multiply(18, 6))), multiply(16, 9))