There is a box of toys, take out half of it and 4 pieces for the first grade, take out the other half and 3 pieces for the second grade, and there are 2 pieces left. How many toys are there in this box?
有一箱玩具，拿出它的一半又4件给一年级，拿出其余的一半又3件给二年级，还剩2件．这箱玩具原有多少件？
<gadget id="calculator">2 + 3</gadget>
<output>5</output>

<gadget id="calculator">5 * 2</gadget>
<output>10</output>

<gadget id="calculator">10 + 4</gadget>
<output>14</output>

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

<result>28</result>