The fifth grade students planted trees. The first class planted 40 trees, which was 3 times less than the second class planted 32 trees. How many trees did the second class plant?
五年级同学种树，一班种了40棵，比二班种的3倍少32棵，二班种了多少棵？
<gadget id="calculator">40 + 32</gadget>
<output>72</output>

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

<result>24</result>