Problem: there are 1000 students in a school and among them 10 % of them attends chess class . 10 % of the students who are in the chess class are also enrolled for swimming . no other students are interested in swimming so how many will attend the swimming class if all enrolled attends ?
Rationale: "10 % of 1000 gives 100 . so 100 attends chess and 10 % of 100 gives 10 . so 10 enrolled for swimming answer : b"
annotated_formula: divide(multiply(divide(multiply(10, 1000), const_100), 10), const_100)