The teacher brought a batch of saplings and distributed them to the students to plant. Each person got 8 saplings, and there were 6 left in the end. If he brought 18 more saplings, he could give each student another 2 saplings. May I ask: How many saplings were there in total?
老师拿来一批树苗，分给同学们去种，每人分8棵树苗，最后还剩下6棵，如果再拿来18棵，正好可以给每个同学再分2棵．请问：原来共有多少棵树苗？
<gadget id="calculator">6 + 18</gadget>
<output>24</output>

<gadget id="calculator">24 / 2</gadget>
<output>12</output>

<gadget id="calculator">12 * 8</gadget>
<output>96</output>

<gadget id="calculator">96 + 6</gadget>
<output>102</output>

<result>102</result>