A fruit shop bought a batch of apples and priced them at a profit margin of 30% of the purchase price. After selling 80% of the apples, it was found that some of the apples were rotten. In order to sell out as soon as possible, the store sells the remaining apples at half the price. What is the actual profit percentage of the store after they are sold out?
水果店进了一批苹果，按进价的30%的利润率定价，当售出这批苹果的80%后，发现苹果有的烂了．为了尽快卖完，商店将剩下的苹果按定价的一半出售，商店售完后实际获得利润的百分数是多少？
<gadget id="calculator">80 / 100</gadget>
<output>4/5 = around 0.8</output>

<gadget id="calculator">30 / 100</gadget>
<output>3/10 = around 0.3</output>

<gadget id="calculator">1 + (3/10)</gadget>
<output>13/10 = around 1.3</output>

<gadget id="calculator">(4/5) * (13/10)</gadget>
<output>26/25 = around 1.04</output>

<gadget id="calculator">1 - (4/5)</gadget>
<output>1/5 = around 0.2</output>

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

<gadget id="calculator">(1/5) * (13/10) * (1/2)</gadget>
<output>13/100 = around 0.13</output>

<gadget id="calculator">(13/100) - 1</gadget>
<output>-87/100 = around -0.87</output>

<gadget id="calculator">(26/25) + (-87/100)</gadget>
<output>17/100 = around 0.17</output>

<result>17/100 = around 0.17</result>