There are a total of 320 three kinds of trees. Peach trees are 20 more than apple trees, and apple trees are 30 more than pear trees. Assuming that the number of peach trees and pear trees is the same as that of apple trees, how many trees are there in total?
三种树共320棵，桃树比苹果树多20棵，苹果树比梨树多30棵，假设桃树和梨树都与苹果树同样多，那么三种树一共有多少棵．
<gadget id="calculator">30 - 20</gadget>
<output>10</output>

<gadget id="calculator">320 + 10</gadget>
<output>330</output>

<result>330</result>