3 classes in grade 6 planted trees. The first class planted 39 trees, the second class planted 2/3 of the first class, and the third class planted 5 trees twice as many as the second class. How many trees were planted in the three classes?
六年级3个班植树．一班植39棵，二班植的是一班的(2/3)，三班植的比二班的2倍少5棵，三个班共植树多少棵？
<gadget id="calculator">2 / 3</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">39 * (2/3)</gadget>
<output>26</output>

<gadget id="calculator">39 * (2/3) * 2</gadget>
<output>52</output>

<gadget id="calculator">52 - 5</gadget>
<output>47</output>

<gadget id="calculator">26 + 47 + 39</gadget>
<output>112</output>

<result>112</result>