The store bought 100 teacups, each with a purchase price of 5 yuan. According to the price of 80% profit, after selling 40% of the teacups, sell the rest at a 40% discount. Is it a profit or a loss after selling these tea cups? How much did you earn (lose)?
商店进了100个茶杯，每个进价5元．按照80%的利润定价，卖了茶杯的40%后，打六折出售剩下的．卖完这些茶杯后是赚了还是亏了？赚(亏)多少元？
<gadget id="calculator">40 / 100</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">100 * (2/5) * 9</gadget>
<output>360</output>

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

<gadget id="calculator">100 * (3/5) * 9 * 0.6</gadget>
<output>324</output>

<gadget id="calculator">360 + 324</gadget>
<output>684</output>

<gadget id="calculator">100 * 5</gadget>
<output>500</output>

<gadget id="calculator">684 - 500</gadget>
<output>184</output>

<result>184</result>