According to legend, the nine-headed bird has nine heads and one tail, and the five-tailed bird has one head and five tails. There are 400 of them together. The ratio of nine-headed birds to five-tailed birds is 3:2. Ask two kinds of birds How many tails are there in total?
传说中，九头鸟有9个头一只尾，五尾鸟有1个头5只尾，它们在一起共有400只，九头鸟与五尾鸟的只数比是3：2，问两种鸟共有尾多少只？
<gadget id="calculator">3 + 2</gadget>
<output>5</output>

<gadget id="calculator">3 / 5</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">400 * (3/5)</gadget>
<output>240</output>

<gadget id="calculator">2 / 5</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">400 * (2/5) * 5</gadget>
<output>800</output>

<gadget id="calculator">240 + 800</gadget>
<output>1_040</output>

<result>1_040</result>