One person is divided into 1, and the remaining two people are divided into two. These are three kinds.
One person didn't, the second person split in two, and the third person split in three. These are six kinds.
One person doesn't, the second person is divided into 1, and the third person is divided into 4 or 6 kinds.
A *** 18 classification method