In a cooking competition, the dishes are prepared in the following order: Dish X is prepared before Dish Y, Dish Z is prepared after Dish Y, and Dish W is prepared before Dish Z. What is the correct sequence of dish preparation?

B. W, X, Y, Z