# Cubic equation in three variables

Algebra Level 2

\begin{aligned} x + y + z &=& 4 \\ x^{2} + y^{2} + z^{2} &=& 14 \\ x^{3} + y^{3} + z^{3} &=& 34 \\ \end{aligned}

There are many different sets of solutions to the above system of equations.

Let $S$ be the sum of all possible values of $x$. Find $S$.

×