A, B, C, D, and E are five friends who are going to a party. A goes before B but after C. D goes before E but after B. What is the correct order of friends going to the party?
In a family, there are three siblings: X, Y, and Z. X is older than Y but younger than Z. If Z is a software engineer and Y is a doctor, what is X's profession?