The department store buys 20 coats at 240 yuan each, and sells them after a 40% price increase. After 12 coats are sold, the store sells the remaining coats at a half-price discount due to the warmer weather. After selling these coats, the store is Gained or lost? If earned, how much?
百货商店以每件240元批进20件大衣，加价40%后出售，售出12件以后，由于天气转暖，商店以售价打对折销售余下的大衣，问销完这批大衣，商店是赚了还是亏了？如赚了，赚了多少？
<gadget id="calculator">40 / 100</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">1 + (2/5)</gadget>
<output>7/5 = around 1.4</output>

<gadget id="calculator">240 * (7/5)</gadget>
<output>336</output>

<gadget id="calculator">336 * 12</gadget>
<output>4_032</output>

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

<gadget id="calculator">336 * (1/2)</gadget>
<output>168</output>

<gadget id="calculator">20 - 12</gadget>
<output>8</output>

<gadget id="calculator">168 * 8</gadget>
<output>1_344</output>

<gadget id="calculator">4_032 + 1_344</gadget>
<output>5_376</output>

<gadget id="calculator">240 * 20</gadget>
<output>4_800</output>

<gadget id="calculator">5_376 - 4_800</gadget>
<output>576</output>

<result>576</result>