Xiao Ming's mother bought some peaches for the family. On the first day, the family of three ate half of all the peaches, and on the second day they ate the remaining half. On the third day, they ate one more peach. There are only 2 peaches left. Question: How many peaches did Xiao Ming's mother buy?
小明的妈妈给家里买了一些桃子，第一天他们一家三口吃了全部的一半，第二天又吃了剩下的一半，到了第三天他们吃了剩下的一半多1个，这时只剩下2个桃子．问：小明的妈妈买了多少个桃子？
<gadget id="calculator">2 + 1</gadget>
<output>3</output>

<gadget id="calculator">3 * 2 * 2 * 2</gadget>
<output>24</output>

<result>24</result>