Mary is thinking of three consecutive even integers, x, y, and z. Three times the value of z exceeds half the value of x by 37. What is the value of x?