Aunt Wang set up the venue for the symposium, and brought less than 40 apples to the plate. Regardless of whether each plate was packed with 5 or 6 apples, there were always 2 left. How many apples did Aunt Wang bring?
王阿姨布置座谈会的会场，拿来不到40个苹果装盘，无论每盘装5个还是装6个，最后总余下2个，王阿姨拿来了多少个苹果？
<gadget id="calculator">5 * 6</gadget>
<output>30</output>

<gadget id="calculator">30 + 2</gadget>
<output>32</output>

<result>32</result>