8. Divide the numbers 1 to 9 into three groups $A$, $B$, and $C$, where the sum of the numbers in group $B$ is twice the sum of the numbers in group $A$, and the sum of the numbers in group $C$ is three times the sum of the numbers in group $B$. There are $\qquad$ different ways to group them.
$13$