In a group of five friends, A, B, C, D, and E, each has a different favorite color: Red, Blue, Green, Yellow, and Black. A does not like Blue or Green. B likes Red. C does not like Yellow. D likes Black. What is E's favorite color?

Answer: D. Yellow
Since A cannot like Blue or Green, and B likes Red, C cannot like Yellow, and D likes Black, E must like Yellow.