5. Vера, Nina, and Olya were playing with dolls. They dressed their dolls in one item each: either a coat, a jacket, or a dress. When their mother asked the girls what they dressed their dolls in, one of them joked and said: "Vера dressed the doll in a dress, and Olya in a coat." The second one replied: "Vера dressed the doll in a coat, and Nina also in a coat." Then the girls said that in the first and second answers, one part of each answer is correct, and the other part is incorrect. Find out whose doll is in a dress and whose is in a coat.
5. Let's assume that in the first answer, the first part was correct (Vera put a dress on the doll). From this, we can conclude that Olya's doll was not in a coat. In the second answer, the first part will be incorrect, since we know that Vera put a dress on the doll, and therefore, she could not have put a coat on her. This allows us to conclude that Nina put a coat on the doll, and therefore, Olya - a jacket.

If in the first answer, the second part is correct (Olya put a coat on the doll), then we get a contradiction with the condition that in the second answer, one of the statements is true (Vera and Nina put coats on the dolls).

Answer: Vera's doll is in a dress, and Nina's doll is in a coat.