Uncle Huang bought vegetables at the vegetable market. He spent half of the money he brought on big crabs, and half the rest of the money on pork. Then he bought some vegetables and spent 12 yuan. At this time, Uncle Huang counted the remaining money. , there is still 28 yuan left. How much did Uncle Huang bring?
黄叔叔菜场买菜，买大螃蟹花去所带钱的一半，买猪肉又花去剩下钱的一半，接着买了些蔬菜花了12元，这时黄叔叔把剩下的钱数了一下，还剩下28元，黄叔叔原来带了多少元？
<gadget id="calculator">12 + 28</gadget>
<output>40</output>

<gadget id="calculator">40 * 2 * 2</gadget>
<output>160</output>

<result>160</result>