A fruit shop bought a batch of apples, sold half of them on the first day, half of the remaining apples on the second day, and sold out all the remaining 15 kilograms of apples on the third day. How many kilograms are the batches of apples brought in by the fruit shop?
一个水果店进了一批苹果，第-天卖掉了一半的一半，第二天卖掉了剩下苹果的一半，第三天把之前剩下的15千克苹果全卖完了．水果店进的这批苹果共有多少千克．
<gadget id="calculator">3 / 8</gadget>
<output>3/8 = around 0.375</output>

<gadget id="calculator">15 / (3/8)</gadget>
<output>40</output>

<result>40</result>