With 36 pens and 40 notebooks, the average award is given to a few students with excellent grades, and all of them are just finished. How many students are there at most with excellent grades?
36枝笔、40本簿子，平均奖给几个成绩优良的学生，都正好分完．问成绩优良的学生最多有几人？
<gadget id="calculator">2 * 2</gadget>
<output>4</output>

<result>4</result>