The fruit shop bought some apples at a price of 100 yuan per box, and sold some apples at a price of 112.5 yuan per box, making a profit of 500 yuan. How many boxes of apples did the fruit shop sell at this time?
水果店以每箱100元的价钱运进一些苹果，又以每箱112.5元的价格售出一部分，赚了500元．这时水果店卖出多少箱苹果？
<gadget id="calculator">112.5 - 100</gadget>
<output>12.5</output>

<gadget id="calculator">500 / 12.5</gadget>
<output>40</output>

<result>40</result>