There are four cards with four numbers 0, 1, 2, and 4 written on them, and three cards are randomly drawn from them to form a three-digit number. How many different three-digit numbers can be formed from these cards?
有四张卡片，上面分别写有0，1，2，4四个数字，从中任意抽出三张卡片组成三位数．这些卡片共可组成多少个不同的三位数．
<gadget id="calculator">3 * 3 * 2</gadget>
<output>18</output>

<result>18</result>