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

Answer: A. Red
Since M likes blue, O likes yellow, and P does not like black, N must like green, leaving Q with red.