Xiao Wang raised a total of 40 chickens and rabbits, and they had 108 legs in total. How many rabbits did Xiao Wang raise?
小王养了鸡和兔共40只，它们共108只脚，小王养了多少只兔．
<gadget id="calculator">40 * 4</gadget>
<output>160</output>

<gadget id="calculator">160 - 108</gadget>
<output>52</output>

<gadget id="calculator">4 - 2</gadget>
<output>2</output>

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

<gadget id="calculator">40 - 26</gadget>
<output>14</output>

<result>14</result>