Problem: in a class of 40 students , 2 students did not borrow any books from the library , 12 students each borrowed 1 book , 11 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: "the class borrowed a total of 40 * 2 = 80 books . the 25 students who borrowed 0 , 1 , or 2 books borrowed a total of 12 + 11 * 2 = 34 . to maximize the number of books borrowed by 1 student , let ' s assume that 14 students borrowed 3 books and 1 student borrowed the rest . 80 - 34 - 3 * 14 = 4 the maximum number of books borrowed by any student is 4 . the answer is b ."
annotated_formula: subtract(multiply(40, 2), add(multiply(subtract(subtract(40, add(add(multiply(12, 1), 11), 2)), 1), 3), add(multiply(12, 1), multiply(11, 2))))