Watermelon weighs 180 kilograms, 12 kilograms less than three times that of apples, and 30 kilograms more than twice that of pears. How many kilograms are there in total for the three fruits?
西瓜有180千克，比苹果的3倍少12千克，比梨子的2倍多30千克，三种水果共多少千克？
<gadget id="calculator">180 + 12</gadget>
<output>192</output>

<gadget id="calculator">192 / 3</gadget>
<output>64</output>

<gadget id="calculator">180 - 30</gadget>
<output>150</output>

<gadget id="calculator">150 / 2</gadget>
<output>75</output>

<gadget id="calculator">180 + 64 + 75</gadget>
<output>319</output>

<result>319</result>