Dad takes 240 yuan to the street, and buys a pair of trousers (1/3) of the total amount, and buys a top (1/2) of the total amount. How much money does Dad have left?
爸爸带240元上街，买一条裤子用去总钱数的(1/3)，买一件上衣用去总钱数的(1/2)，爸爸还剩下多少元？
<gadget id="calculator">1 / 3</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">240 * (1/3)</gadget>
<output>80</output>

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

<gadget id="calculator">240 * (1/2)</gadget>
<output>120</output>

<gadget id="calculator">240 - 80 - 120</gadget>
<output>40</output>

<result>40</result>