Two baskets of apples, if (1/5) is taken from the first basket and given to the second basket, the apples in the two baskets are exactly equal, and the second basket contains 40 kg of apples. How many kilograms of apples are in the second basket?
两筐苹果，如果从第一筐取出(1/5)给出第二筐后，两筐苹果正好相等，这时第二筐有苹果40千克．第二筐原来有苹果多少千克？
<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">40 / (4/5)</gadget>
<output>50</output>

<gadget id="calculator">50 * (1/5)</gadget>
<output>10</output>

<gadget id="calculator">40 - 10</gadget>
<output>30</output>

<result>30</result>