Friends. Three friends were at the prom in white, red, and blue dresses. Their shoes were of the same three colors. Only Tamar had matching dress and shoe colors. Valya wore white shoes. Neither Lida's dress nor her shoes were red. Determine the colors of the dresses and shoes of the friends.
| By brute force we get the answer: Valya - white shoes, blue dress; Lida - blue shoes, white dress, Tamara 
- red shoes, red dress.