Define a $\text{good word}$ as a sequence of letters that consists only of the letters $A$, $B$, $C$, and $D$ - some of these letters may not appear in the sequence - and in which $A$ is never immediately followed by $B$, $B$ is never immediately followed by $C$, $C$ is never immediately followed by $D$, and $D$ is never immediately followed by $A$. How many five-letter good words are there?
← 返回第 416 题