A store bought 400 pieces of electrical appliances and priced them at a profit of 20% of the cost price. The remaining part could not be sold and could only be sold at a discount of 20% of the price. After all the appliances were sold out, the profit was 56,000 yuan, accounting for 70% of the expected profit. , how many appliances were sold after the markdown?
某商店买进400件电器，按照成本价的二成盈利定价，出售还剩下一部分卖不掉，只能按定价的8折出售，结果全部卖完后盈利56000元，占预计盈利的七成，减价后出售了多少件电器？
<gadget id="calculator">70 / 100</gadget>
<output>7/10 = around 0.7</output>

<gadget id="calculator">20 / 100</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">56_000 / (7/10) / (1/5) / 400</gadget>
<output>1_000</output>

<gadget id="calculator">1_000 * (1/5)</gadget>
<output>200</output>

<gadget id="calculator">1_000 + 200</gadget>
<output>1_200</output>

<gadget id="calculator">80 / 100</gadget>
<output>4/5 = around 0.8</output>

<gadget id="calculator">1_200 * (4/5)</gadget>
<output>960</output>

<gadget id="calculator">1_000 - 960</gadget>
<output>40</output>

<gadget id="calculator">400 * 40</gadget>
<output>16_000</output>

<gadget id="calculator">16_000 + 56_000</gadget>
<output>72_000</output>

<gadget id="calculator">200 + 40</gadget>
<output>240</output>

<gadget id="calculator">72_000 / 240</gadget>
<output>300</output>

<gadget id="calculator">400 - 300</gadget>
<output>100</output>

<result>100</result>