There are 720 plum trees in the orchard, 135 fewer peach trees than plum trees, and 289 more apricot trees than peach trees. How many apricot and peach trees are there altogether?
果园有李子树720棵，桃树比李子树少135棵，杏树比桃树多289棵，杏树和桃树一共有几棵？
<gadget id="calculator">720 - 135</gadget>
<output>585</output>

<gadget id="calculator">585 + 289</gadget>
<output>874</output>

<gadget id="calculator">585 + 874</gadget>
<output>1_459</output>

<result>1_459</result>