Now there are 39 pencils and 40 exercise books, and the average award is given to the outstanding students in the fourth and fifth grades. As a result, there are 3 more pencils and 2 less exercise books. How many outstanding students are there at most?
现在有39枝铅笔、40本练习本，平均奖给四五年级评出的优秀学生，结果铅笔多出3枝，练习本少了2本．评出的优秀学生最多有多少人？
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>