in a class of 25 students , 2 students did not borrow any books from the library , 12 students each borrowed 1 book , 4 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 ?
"the total number of books the students borrowed is 25 * 2 = 50 . the students who borrowed zero , one , or two books borrowed 12 * 1 + 4 * 2 = 20 books . the 7 students who borrowed at least three books borrowed 50 - 20 = 30 books . if 6 of these students borrowed exactly 3 books , then the maximum that one student could have borrowed is 30 - 18 = 12 books . the answer is e ."
subtract(multiply(25, 2), add(multiply(subtract(subtract(25, add(add(multiply(12, 1), 4), 2)), 1), 3), add(multiply(12, 1), multiply(4, 2))))