X, y and z are three numbers. x is 10 more than y and y is 8 more than z. The sum of the three numbers is 47. What are the values of x, y, and z?