Consecutive letters of the alphabet, starting with A, are given increasing consecutive whole numbers. If E + G + G = 2017, what is the average of X, Y, and Z?