Uncle Zhang raised 32 sheep. He sold half of the total number of sheep for the first time and 2 less sheep, and sold the remaining half and 2 more sheep for the second time. How many sheep are left?
张大伯养了32只羊，他第一次卖了总数的一半少2只，第二次卖了余下的一半多2只，还剩下多少只？
<gadget id="calculator">32 / 2</gadget>
<output>16</output>

<gadget id="calculator">16 - 2</gadget>
<output>14</output>

<gadget id="calculator">32 - 14</gadget>
<output>18</output>

<gadget id="calculator">18 / 2</gadget>
<output>9</output>

<gadget id="calculator">9 + 2</gadget>
<output>11</output>

<gadget id="calculator">18 - 11</gadget>
<output>7</output>

<result>7</result>