Problem: rani bought more apples than oranges . she sells apples at ₹ 23 apiece and makes 15 % profit . she sells oranges at ₹ 10 apiece and makes 25 % profit . if she gets ₹ 653 after selling all the apples and oranges , find her profit percentage z .
Rationale: "given : selling price of an apple = 23 - - > cost price = 23 / 1.15 = 20 selling price of an orange = 10 - - > cost price = 10 / 1.25 = 8 a > o 23 * ( a ) + 10 * ( o ) = 653 653 - 23 * ( a ) has to be divisible by 10 - - > units digit has to be 0 values of a can be 1 , 11 , 21 , 31 , . . . . - - > 1 can not be the value between 11 and 21 , if a = 11 , o = 30 - - > not possible if a = 21 , o = 17 - - > possible cost price = 20 * 21 + 8 * 17 = 420 + 136 = 556 profit = 653 - 556 = 97 profit % z = ( 97 / 556 ) * 100 = 17.4 % answer : b"
annotated_formula: multiply(divide(subtract(653, add(multiply(multiply(const_2, 10), add(multiply(const_2, 10), const_1)), multiply(divide(10, add(divide(25, const_100), const_1)), add(15, const_2)))), add(multiply(multiply(const_2, 10), add(multiply(const_2, 10), const_1)), multiply(divide(10, add(divide(25, const_100), const_1)), add(15, const_2)))), const_100)