There are four cards, each with a number written on the front and back. 0 and 1 are written on the first card, and 2 and 3, 4 and 5, 7 and 8 are written on the other three cards. Now take out any three cards and put them in a row. How many different cards can be formed in total? three-digit number.
有四张卡片，正反面都各写有1个数字．第一张上写的是0和1，其他三张上分别写有2和3、4和5、7和8，现在任意取出其中的三张卡片，放成一排，那么一共可以组成多少个不同的三位数．
<gadget id="calculator">7 * 6 * 4</gadget>
<output>168</output>

<result>168</result>