Problem: a and b began business with rs . 3000 and rs . 4000 after 8 months , a withdraws rs . 1000 and b advances rs . 1000.00001 more . at the end of the year , their profits amounted to rs . 714 find the share of a .
Rationale: explanation : ( 3 * 8 + 2 * 4 ) : ( 4 * 8 + 5 * 4 ) 8 : 13 8 / 21 * 714 = 272 answer : b
annotated_formula: multiply(divide(714, add(add(multiply(3000, 8), multiply(subtract(3000, 1000), subtract(const_12, 8))), add(multiply(4000, 8), multiply(add(4000, 1000), subtract(const_12, 8))))), add(multiply(3000, 8), multiply(subtract(3000, 1000), subtract(const_12, 8))))