Dongfeng Fruit Shop shipped 1020 kilograms of pears and apples in the morning, of which pears accounted for (1/5) of the total number of fruits, and several kilograms of pears were shipped in the afternoon. How many kilograms of pears?
东风水果店上午运进梨和苹果共1020千克，其中梨占水果总数的(1/5)，下午又运进梨若干千克，这时梨占两种水果总数的(2/5)，下午运进梨多少千克？
<gadget id="calculator">1 / 5</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">1 - (1/5)</gadget>
<output>4/5 = around 0.8</output>

<gadget id="calculator">1_020 * (4/5)</gadget>
<output>816</output>

<gadget id="calculator">2 / 5</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">1 - (2/5)</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">816 / (3/5)</gadget>
<output>1_360</output>

<gadget id="calculator">1_360 - 1_020</gadget>
<output>340</output>

<result>340</result>