Six friends—Paul, Quinn, Riley, Sam, Tara, and Uma—are seated in a straight line extending from West to East. Some of them are facing North, while others are facing South. Each person is wearing a different colored shirt: Red, Blue, Green, Yellow, White, and Black.
The seating arrangement is governed by the following conditions:
1. Paul sits third from the western end and faces North.
2. Only two people sit between Paul and the person wearing a Black shirt.
3. Uma wears a Black shirt.
4. Sam sits second to the left of Uma.
5. Riley sits to the immediate right of Sam.
6. Tara sits to the immediate left of Paul.
7. The person wearing a Blue shirt sits to the immediate right of Tara.
8. Quinn wears a Blue shirt.
9. The persons sitting at the extreme ends face the same direction.
10. The person wearing a Yellow shirt sits third to the right of Quinn.
11. The person wearing a Green shirt is an immediate neighbor of Tara.
12. Riley does not wear a Red shirt.
13. Sam and Riley face opposite directions.
Based on these conditions, match each person to the color of the shirt they are wearing.
- QuinnBlue shirt
- TaraRed shirt
- PaulGreen shirt
- SamYellow shirt
- RileyWhite shirt