A basket of apples, after Xiao Ming took half, mother and father divided the remaining half equally, and mother got 3. How many apples were there in the basket?
一篮苹果，小明拿走一半后，妈妈和爸爸平均分剩下的一半，妈妈得了3个．篮里原来有几个苹果？
<gadget id="calculator">3 + 3</gadget>
<output>6</output>

<gadget id="calculator">6 * 2</gadget>
<output>12</output>

<result>12</result>