Five cards, written on them: 0, 1, 7, 5, 8. Take three out of them and form a three-digit number so that the three-digit number is divisible by 3. How many such three-digit numbers can be formed in total?
五张卡片，上面分别写着：0、1、7、5、8．从中取出三张拼成一个三位数，使这个三位数可以被3整除，一共可拼成多少个这样的三位数．
<gadget id="calculator">4 * 4</gadget>
<output>16</output>

<result>16</result>