There were originally several apples in the basket, half of them were given to grandma, and the remaining half were given to mother. At this time, there were still 5 apples left. How many apples were there in this basket?
篮子里原有苹果若干个，拿出一半送给奶奶，又拿出剩下的一半送给妈妈，这时还剩5个，原来这篮苹果有多少个？
<gadget id="calculator">5 * 2 * 2</gadget>
<output>20</output>

<result>20</result>