22. Fill the 8 circles of the triangle shown in the figure with $1,2,3,4,5,6,7,8$, each circle with a different number, so that the sum of the numbers on each side is equal, denoted as $S$. Then the sum of all possible $S$ is . $\qquad$
\begin{tabular}{|l|}
\hline $\mathbf{2 2}$ \\
\hline 67
\end{tabular}