The Tang monk and his disciples went to the West to learn Buddhist scriptures. They passed by a peach garden. The owner of the peach garden picked 18 peaches to treat them. Zhu Bajie ate (1/3) of them, and Sun Wukong ate (1/2) of Zhu Bajie's. How many peaches did Sun Wukong eat?
唐僧师徒四人去西天取经，路过一个桃园，桃园的主人一共摘了18个桃子款待他们．猪八戒吃了其中的(1/3)，孙悟空吃的是猪八戒的(1/2)，孙悟空吃了多少个桃子？
<gadget id="calculator">1 / 3</gadget>
<output>1/3 = around 0.333333</output>

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

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

<result>3</result>