In July, Xiao Wang bought 1,000 watermelons, some of which were cracked during transportation. After the unsplit watermelons were sold out, he made a profit of 40%. The cracked watermelons had to be sold at a reduced price, resulting in a loss of 30%. At the final settlement, Xiao Wang found that the profit was 28.8%, so how many watermelons were broken?
七月份小王购进西瓜1000个，运输途中碰裂了一些，未碰裂的西瓜卖完后，获得利润40%，碰裂的西瓜只得降价出售，亏损了30%．最后结算时小王发现获得利润28.8%，那么碰裂了多少个西瓜．
<gadget id="calculator">40 / 100</gadget>
<output>2/5 = around 0.4</output>

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

<gadget id="calculator">28.8 / 100</gadget>
<output>0.288</output>

<gadget id="calculator">1_000 * 0.288</gadget>
<output>288</output>

<gadget id="calculator">400 - 1_000 - 288</gadget>
<output>-888</output>

<gadget id="calculator">1_000 + (-888)</gadget>
<output>112</output>

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

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

<gadget id="calculator">(3/10) + 1 + (-3/5)</gadget>
<output>7/10 = around 0.7</output>

<gadget id="calculator">112 / (7/10)</gadget>
<output>160</output>

<result>160</result>