Mother went to the store to buy a hat and used half of the money she brought, and bought a pair of gloves and used half of the remaining money, leaving 4 yuan in the end. How much money does mother have with her?
妈妈到商店买一顶帽子用去所带钱的一半，买一双手套又用去余下的钱的一半，最后还剩下4元．妈妈身上带了多少元钱？
<gadget id="calculator">4 * 2 * 2</gadget>
<output>16</output>

<result>16</result>