We know that Stan's, Mark's, and Wayne's ages are consecutive whole numbers.
Also sum of their ages is 114.
Let X be the Stan's age, Y be the Mark's age and Z be the Wayne's age.
X+Y+Z=114
37+38+39 = 114
So the Stan's age is 37, Mark's age is 38 and Wayne's age is 39