The average of the three numbers is 6, the ratio of these three numbers is 2:3:4, what is the number in the middle
三个平均数为6，这三个数的比是2：3：4，中间的数是多少
<gadget id="calculator">6 * 3</gadget>
<output>18</output>

<gadget id="calculator">2 + 3 + 4</gadget>
<output>9</output>

<gadget id="calculator">3 / 9</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">18 * (1/3)</gadget>
<output>6</output>

<result>6</result>