There are several pears in the basket, take half of it and give one to the first person, then take the remaining half and give two to the second person, there are 6 pears left, how many pears are there in the basket?
篮子里有若干个梨子，取它的一半又一个给第一个人，再取余下的一半又两个给第二个人，还剩6个梨子，篮子里原有梨子多少个？
<gadget id="calculator">6 + 2</gadget>
<output>8</output>

<gadget id="calculator">8 * 2</gadget>
<output>16</output>

<gadget id="calculator">16 + 1</gadget>
<output>17</output>

<gadget id="calculator">17 * 2</gadget>
<output>34</output>

<result>34</result>