5. Divide the numbers 1 to 10 into three groups, such that the difference between any two numbers in a group does not appear in that group. If one of the groups is 2, 5, and 9, then the sum of all numbers in the group containing 10 is $\qquad$
\begin{tabular}{c}
5 \\
\hline 22
\end{tabular}