A farm raises 24,000 chickens and ducks in total, and chickens account for (5/8) of the total. After selling some chickens, ducks account for (3/7) of the total. How many chickens are sold?
某养殖场，养鸡鸭共24000只，鸡占总数的(5/8)，卖出一部分鸡后，鸭占总数的(3/7)，卖出多少只鸡？
<gadget id="calculator">5 / 8</gadget>
<output>5/8 = around 0.625</output>

<gadget id="calculator">24_000 * (5/8)</gadget>
<output>15_000</output>

<gadget id="calculator">24_000 - 15_000</gadget>
<output>9_000</output>

<gadget id="calculator">3 / 7</gadget>
<output>3/7 = around 0.428571</output>

<gadget id="calculator">9_000 / (3/7)</gadget>
<output>21_000</output>

<gadget id="calculator">24_000 - 21_000</gadget>
<output>3_000</output>

<result>3_000</result>