In a group of five friends: M, N, O, P, and Q, each has a different favorite color: red, blue, green, yellow, and black. M's favorite is not blue or green. N likes yellow. O does not like red. What is P's favorite color?

Answer: D. Black
Since M cannot like blue or green, N likes yellow, and O does not like red, P must like black.