Of two baskets of fruit, basket A is 30 kg more than basket B. Basket B sells 18 kilograms, and the remaining kilograms are only 40% of that of Basket A. How many kilograms of fruit does Basket B have?
两筐水果，甲筐比乙筐多30千克．乙筐卖出18千克，剩下的千克数只有甲筐的40%，乙筐原有水果有多少千克？
<gadget id="calculator">30 + 18</gadget>
<output>48</output>

<gadget id="calculator">40 / 100</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">48 / (3/5)</gadget>
<output>80</output>

<gadget id="calculator">80 - 30</gadget>
<output>50</output>

<result>50</result>