Five people - P, Q, R, S, and T - are wearing different colored shirts: Red, Blue, Green, Yellow, and Black. P does not wear Red or Blue. Q wears Green. R wears Black. S does not wear Yellow. What color shirt does T wear?
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?
In a family of five members - P, Q, R, S, and T - there are two males and three females. P is a teacher, Q is a doctor, and R is a male. S is not a teacher. Who is the doctor?