There are the same number of chickens and rabbits in a cage, and the total number of legs of the two animals is 54. How many chickens and rabbits are there?
笼子里有数量相同的鸡和兔，两种动物的腿加起来共有54条．鸡和兔各有多少只？
<gadget id="calculator">54 / 3 / 2</gadget>
<output>9</output>

<result>9</result>