Problem: in a class of 42 students , 2 students did not borrow any books from the library , 12 students each borrowed 1 book , 10 students each borrowed 2 books , and the rest borrowed at least 3 books . if the average number of books per student was 2 , what is the maximum number of books any single student could have borrowed ?
Rationale: "total # of students = 42 avg # of books per student = 2 total # of books = 42 * 2 = 84 # of student borrowed at least 3 books = 42 - 2 - 12 - 10 = 18 # of books borrowed by above 18 students = 84 - ( 12 * 1 ) + ( 10 * 2 ) = 52 considering that 17 out of above 18 students borrowed only 3 books , # of books borrowed = 17 * 3 = 51 so maximum # of books borrowed by any single student = 52 - 51 = 1 option a"
annotated_formula: subtract(multiply(42, 2), add(multiply(subtract(subtract(42, add(add(multiply(12, 1), 10), 2)), 1), 3), add(multiply(12, 1), multiply(10, 2))))