A, B, C, D, and E are five friends who are going to a party. A goes before B, C goes before D, and E goes after B. What is the correct order of arrival?
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?