Solve the system of equations given by
\( x+y+z= 4\),
\(2x + 5y -2z =3\),
\(x +7y -7z =5.\)
What is the real value of \(z\)? If there is no solution, then give your answer as 0.