There is a batch of potato chips in the mall, which sold (2/5) of the total in the morning and (1/2) of the total in the afternoon, leaving 54 bags unsold. How many bags of chips are in this batch?
商场有一批薯片，上午卖出总数的(2/5)，下午卖出总数的(1/2)，还剩54袋没有卖．这批薯片有多少袋？
<gadget id="calculator">2 / 5</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

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

<gadget id="calculator">54 / (1/10)</gadget>
<output>540</output>

<result>540</result>