There are 17 chickens, ducks, and dogs, with a total of 44 legs, and the number of ducks is three times that of chickens. How many dogs are there?
有鸡、鸭、狗一共17只，总共有44条腿，其中鸭的数量是鸡的3倍，那么狗有多少只？
<gadget id="calculator">4 * 17</gadget>
<output>68</output>

<gadget id="calculator">68 - 44</gadget>
<output>24</output>

<gadget id="calculator">4 * 3</gadget>
<output>12</output>

<gadget id="calculator">2 * 3</gadget>
<output>6</output>

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

<gadget id="calculator">4 + 4</gadget>
<output>8</output>

<gadget id="calculator">24 / 8</gadget>
<output>3</output>

<gadget id="calculator">3 * 3</gadget>
<output>9</output>

<gadget id="calculator">17 - 3 - 9</gadget>
<output>5</output>

<result>5</result>