There are 40 tortoises and cranes, and 112 legs of the tortoise and 112 legs of the crane. How much is the number of tortoises less than the number of cranes?
有龟和鹤共有40只，龟的腿和鹤的腿共有112条，龟的只数比鹤的只数少多少只
<gadget id="calculator">40 * 2</gadget>
<output>80</output>

<gadget id="calculator">112 - 80</gadget>
<output>32</output>

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

<gadget id="calculator">32 / 2</gadget>
<output>16</output>

<gadget id="calculator">40 - 16</gadget>
<output>24</output>

<gadget id="calculator">24 - 16</gadget>
<output>8</output>

<result>8</result>