There are 123 peach trees in the orchard, and there are 72 fewer pear trees than twice as many peach trees. The number of apple trees is equal to the sum of peach and pear trees. How many apple trees are there in the orchard?
果园里有桃树123棵，梨树的棵树比桃树的2倍少72棵．苹果树的棵数等于桃树和梨树棵树的和．果园里有多少棵苹果树？
<gadget id="calculator">123 * 2</gadget>
<output>246</output>

<gadget id="calculator">246 - 72</gadget>
<output>174</output>

<gadget id="calculator">123 + 174</gadget>
<output>297</output>

<result>297</result>