The school bought 22 volleyballs, 6 less than twice the number of basketballs bought. How many basketballs and volleyballs did the school buy?
学校买来排球22只，比买来的篮球的只数的2倍少6只，学校买来篮球和排球共多少只？
<gadget id="calculator">22 + 6</gadget>
<output>28</output>

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

<gadget id="calculator">22 + 14</gadget>
<output>36</output>

<result>36</result>