In the third grade tree planting, the 4th class planted 572 trees, the 3rd class planted 5 times less than the 4th class and 356 trees, how many trees were planted by the two classes?
三年级植树，4班植树572棵，3班植的棵数是4班的5倍少356棵，两班一共植树多少棵？
<gadget id="calculator">572 * 5</gadget>
<output>2_860</output>

<gadget id="calculator">2_860 - 356</gadget>
<output>2_504</output>

<gadget id="calculator">2_504 + 572</gadget>
<output>3_076</output>

<result>3_076</result>