For some six-digit numbers, the six numbers that make up the six-digit number are all different, and the two-digit numbers that are formed by two adjacent numbers are all divisible by 3. How many such six-digit numbers are there in total?
有些六位数，组成六位数的六个数字都不同，而相邻两个数字组成的两位数都能被3整除，这样的六位数一共多少个．
<gadget id="calculator">3 * 2 * 1</gadget>
<output>6</output>

<gadget id="calculator">6 * 6 * 2</gadget>
<output>72</output>

<result>72</result>