human
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
In a classroom, there are five students: Sam, Tanya, Uma, Victor, and Wendy. They each have a different colored pencil case: red, blue, green, yellow, and purple. One day, the teacher asks them to put their pencil cases in a row on her desk. Sam goes first and places his red pencil case down. Tanya follows with her blue one. However, while they are away at recess, the janitor accidentally mixes up the order of the pencil cases. When the students return, how do they figure out which pencil case belongs to whom? Respond briefly.

### Response:
gpt
The students can figure out which pencil case belongs to whom by recalling the color of their own pencil cases. Since Sam placed his red pencil case first and Tanya followed with her blue one, they can identify their own cases by color. Sam will look for the red pencil case and Tanya will look for the blue one.

With the red and blue pencil cases identified by Sam and Tanya, there are three pencil cases left to identify: green, yellow, and purple. Uma, Victor, and Wendy each know the color of their pencil case. So, Uma will pick the color she knows to be hers, which could be either green, yellow, or purple. After Uma identifies her pencil case, only two remain.

Victor then selects the colored pencil case that he knows is his. He doesn't have to guess because he's aware of his own pencil case's color, which could be one of the two remaining colors not yet claimed.

Finally, Wendy doesn't have to choose at all, since there will be only one pencil case left on the teacher's desk, and by process of elimination, that one has to be hers. She recognizes it by its color, the last one that hasn't been claimed by the others.

Through this process, each student uses their knowledge of the color of their own pencil case to identify it among the mixed-up pencil cases on the teacher's desk.