If you need details, I can work it out for you.
The correct answer is 4 * 3 * 3 *1+4 * 3 *1* 4 *1+4 *1* 3 *1= 4 * 27+48+48 = 204 species.
The above mistakes are regarded as five people.
If it's three people, then
Abcbcaacbcbaababca Abakaba; acabcaacacbaabcabaabcacaacbabaacbaca
That is 2 *1*1*1+2 *1* 2 *1*1+2+.