Teacher Li bought a batch of pencils to reward the students who performed well in the sports meeting. If each person gets 5 pencils, then there are 32 left; if each person gets 8 pencils, then there are 5 students who can't get it. How many pencils did Teacher Li buy in total? (two ways to solve)
李老师买来一批铅笔奖励给运动会上表现优秀的同学．如果每人分5支铅笔，那么还剩32支；如果每人分8支铅笔，那么有5位同学分不到．李老师一共买来几支铅笔？(两种方法解)
<gadget id="calculator">8 * 5</gadget>
<output>40</output>

<gadget id="calculator">32 + 40</gadget>
<output>72</output>

<gadget id="calculator">8 - 5</gadget>
<output>3</output>

<gadget id="calculator">72 / 3</gadget>
<output>24</output>

<gadget id="calculator">5 * 24</gadget>
<output>120</output>

<gadget id="calculator">120 + 32</gadget>
<output>152</output>

<result>152</result>