Xiaohong took the pocket money her mother gave her to go shopping. She first used half of the money to buy a ballpoint pen, then bought a comic book for 9 yuan, and finally had 1 yuan left. How much did the mother give Xiaohong?
小红拿了妈妈给她的零用钱去买东西，她先用这些钱的一半买了一支圆珠笔，之后又买了一本9元钱的漫画书，最后还剩下1元钱钱．妈妈给了小红多少钱．
<gadget id="calculator">9 + 1</gadget>
<output>10</output>

<gadget id="calculator">10 * 2</gadget>
<output>20</output>

<result>20</result>