There are 240 kilograms of apples in the fruit shop, and the weight of the watermelon is twice that of the apples. The weight of cantaloupe is 45 kg less than half of the combined weight of apple and watermelon. How many kilograms are these fruits in total?
水果店里有苹果240千克，西瓜的重量是苹果的2倍．哈密瓜的重量比苹果、西瓜重量之和的一半少45千克．请问这些水果一共多少千克？
<gadget id="calculator">240 * 2</gadget>
<output>480</output>

<gadget id="calculator">480 + 240</gadget>
<output>720</output>

<gadget id="calculator">720 / 2</gadget>
<output>360</output>

<gadget id="calculator">360 - 45</gadget>
<output>315</output>

<gadget id="calculator">240 + 480 + 315</gadget>
<output>1_035</output>

<result>1_035</result>