I have five people I need to sit around a circular table. Let's call them A,B,C,D and E. They do have some seating preferences though.

- A wants to sit next to E
- C wants to sit next to A or D
- D wants to sit next to E and B
- B does not want to sit next to C

Can you find me an arrangement of the seats for these people?
Unfortunately, it is not possible to find a circular arrangement around a table that would satisfy all of these conditions.

- If D wants to sit next to E and B, we have to start with something like B, D, E. (The alternative is E, D, B, but since the arrangement will be circular, the order in which they are given here does not matter.)
- A wants to be next to E, so we have B, D, E, A.
- C wants to be placed next to A or D, but D has no neighboring seats left, and placing C next to A would also have them end up next to B (C, B, D, E, A), who does not want to be next to C.

It is possible to obey the majority of these conditions, but not all of them at once. You would have to decide which of these criteria to break to make the arrangement work out. Good luck!
Okay, can you find me an arrangement if B doesn't mind who sits next to them?