Problem: in an election between two candidates , one got 55 % of the total valid votes , 20 % of the votes were invalid . if the total number of votes was 5000 , the number of valid votes that the other candidate got , was :
Rationale: "a number of valid votes = 80 % of 5000 = 4000 . valid votes polled by other candidate = 45 % of 4000 = ( 45 / 100 x 4000 ) = 1800 ."
annotated_formula: multiply(multiply(subtract(const_1, divide(20, const_100)), subtract(const_1, divide(55, const_100))), 5000)