The students $S_1, S_2, \ldots, S_{10}$ are to be divided into 3 groups $A$, $B$ and $C$ such that each group has at least one student and the group $C$ has at most 3 students. Then the total number of possibilities of forming such groups is ______.
Numerical-value question: the answer is a number.
Show answer
The answer is 31650.
Key from source paper