A and B participate in a hamburger eating contest together. Within a time limit of 30 minutes, A eats half the number of hamburgers that B eats, while B eats 12 fewer hamburgers than A. May I ask: How many hamburgers did A and B eat together?
甲、乙两人一起参加吃汉堡包大赛，在30分钟的限时内，甲吃的汉堡包个数是乙的一半，而乙吃的汉堡包比甲的5倍少12个．请问：甲、乙两人一共吃了几个汉堡包？
<gadget id="calculator">12 / 2</gadget>
<output>6</output>

<gadget id="calculator">5 / 2</gadget>
<output>5/2 = around 2.5</output>

<gadget id="calculator">(5/2) - 1</gadget>
<output>3/2 = around 1.5</output>

<gadget id="calculator">6 / (3/2)</gadget>
<output>4</output>

<gadget id="calculator">5 * 4</gadget>
<output>20</output>

<gadget id="calculator">20 - 12</gadget>
<output>8</output>

<gadget id="calculator">4 + 8</gadget>
<output>12</output>

<result>12</result>