A forest farm planted 360 willows in March. The number of poplars planted was twice that of willows, and the number of pine trees planted was half of the total number of poplars and willows. How many pine trees were planted?
某林场三月份种柳树360棵，种的杨树的棵数是柳树的2倍，种的松树棵数是杨树和柳树总数的一半，种松树多少棵？
<gadget id="calculator">360 * 2</gadget>
<output>720</output>

<gadget id="calculator">360 + 720</gadget>
<output>1_080</output>

<gadget id="calculator">1_080 / 2</gadget>
<output>540</output>

<result>540</result>