After a piece of ice is taken out of the refrigerator, it loses half of its own weight every hour. After being taken out for 10 hours, the piece of ice still weighs 10 grams. What is the weight of the piece of ice in grams when it is taken out for 8 hours?
一块冰从冰箱中取出后，每小时失去自身重量的一半，取出10小时，这块冰还重10克，取出8小时的时候这块冰重多少克．
<gadget id="calculator">10 * 2 * 2</gadget>
<output>40</output>

<result>40</result>