Problem: in a certain city , 60 percent of the registered voters are democrats and the rest are republicans . in a mayoral race , if 75 percent of the registered voters who are democrats and 25 percent of the registered voters who are republicans are expected to vote for candidate a , what percent of the registered voters are expected to vote for candidate a ?
Rationale: "say there are total of 100 registered voters in that city . thus 60 are democrats and 40 are republicans . 60 * 0.75 = 45 democrats are expected to vote for candidate a ; 40 * 0.25 = 10 republicans are expected to vote for candidate a . thus total of 45 + 10 = 55 registered voters are expected to vote for candidate a , which is 55 % of the total number of registered voters . answer : d ."
annotated_formula: add(multiply(60, divide(75, const_100)), multiply(subtract(const_100, 60), divide(25, const_100)))