In a race, five participants A, B, C, D, and E finish in the following order: A finishes before B but after C. D finishes before E but after B. What is the correct finishing order?
Five books are arranged on a shelf. Book A is to the left of Book B but to the right of Book C. Book D is to the right of Book B and Book E is to the left of Book A. What is the correct order of the books from left to right?