A magician has 2 hats, 3 jackets and 2 pairs of trousers. How many different ways can he wear them in a performance?
魔术师有2顶帽子、3件上衣和2条裤子，他演出时共有多少种不同搭配的穿法．
<gadget id="calculator">2 * 3 * 2</gadget>
<output>12</output>

<result>12</result>