Three classes of the sixth grade in Xiangyang Primary School planted trees. The number of trees planted in the first class was 4 more than that of the second class (9/10). The number of trees planted in the second class was (8/7) times that of the third class. It is known that the number of trees planted in the third class 35 trees, how many trees are planted in one class?
向阳小学六年级三个班植树，一班植树棵数比二班的(9/10)还多4棵，二班植树的棵数是三班的(8/7)倍，已知三班植树35棵，一班植树多少棵？
<gadget id="calculator">8 / 7</gadget>
<output>8/7 = around 1.142857</output>

<gadget id="calculator">9 / 10</gadget>
<output>9/10 = around 0.9</output>

<gadget id="calculator">35 * (8/7) * (9/10)</gadget>
<output>36</output>

<gadget id="calculator">36 + 4</gadget>
<output>40</output>

<result>40</result>