For a rope, cut half of it for the first time and cut it off by 2 meters, and cut off the remaining half by 2 meters for the second time. At this time, there are still 12 meters left. What is the total length of the rope in meters?
一根绳子，第一次剪去它的一半少2米，第二次剪去余下的一半多2米，这时还剩下12米，问这根绳子全长多少米．
<gadget id="calculator">12 + 2</gadget>
<output>14</output>

<gadget id="calculator">14 * 2</gadget>
<output>28</output>

<gadget id="calculator">28 - 2</gadget>
<output>26</output>

<gadget id="calculator">26 * 2</gadget>
<output>52</output>

<result>52</result>