Doudou used number cards to play games, leaving many cards with 4, 7 and 8 written on them, and the rest of the number cards were used up. How many different three-digit numbers can she combine with the remaining cards?
豆豆用数字卡片做游戏，剩下许多写有4、7和8的卡片，而其余数字卡片都用完了．她用这些剩下的卡片可以组合成多少个不同的三位数．
<gadget id="calculator">3 * 3 * 3</gadget>
<output>27</output>

<result>27</result>