In a class of 40 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?
Choose the correct choice from the following options:
A) 3
B) 5
C) 8
D) 13
E) 15
Total # of students = 40   3vg # of books per student = 2   Total # of books = 40*2= 
<gadget id="calculator">40*2</gadget>
<output>80</output>
80   # of student borrowed at least 3 books= 40-2-12-10= 
<gadget id="calculator">40-2-12-10</gadget>
<output>16</output>
16   # of books borrowed by above 16 students= 80-(12*1)-(10*2)= 
<gadget id="calculator">80-(12*1)-(10*2)</gadget>
<output>48</output>
48   Considering that 15 out of above 16 students borrowed only 3 books, # of books borrowed= 15*3= 
<gadget id="calculator">15*3</gadget>
<output>45</output>
45   So maximum # of books borrowed by any single student= 48-45= 
<gadget id="calculator">48-45</gadget>
<output>3</output>
3   option 3
<result>A</result>
In a class of 40 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?