The ratio of roosters to hens in Xiaoming’s family is 5:3, and there are 18 more roosters than hens. How many roosters and hens are there altogether?
小明家公鸡与母鸡的比是5：3，公鸡比母鸡多18只，公鸡和母鸡一共有多少只？
<gadget id="calculator">5 - 3</gadget>
<output>2</output>

<gadget id="calculator">18 / 2</gadget>
<output>9</output>

<gadget id="calculator">5 + 3</gadget>
<output>8</output>

<gadget id="calculator">9 * 8</gadget>
<output>72</output>

<result>72</result>