Class 5 and 1 purchased a green ribbon of 18 meters for classroom decoration, and the length of the purchased red ribbon was (2/3) of the green ribbon and (1/2) of the yellow ribbon. How many meters of yellow ribbon to buy?
五1班为布置教室购买绿彩带18米，购买的红彩带长度是绿彩带的(2/3)，又是黄彩带的(1/2)．购进黄彩带多少米？
<gadget id="calculator">2 / 3</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">(2/3) / (1/2)</gadget>
<output>4/3 = around 1.333333</output>

<gadget id="calculator">18 * (4/3)</gadget>
<output>24</output>

<result>24</result>