A man in a red shirt is standing next to a woman in a blue dress. They are both holding hands and smiling at each other. Five people are standing in a line. The first one is wearing a red hat, the second one is wearing a blue hat, the third one is wearing a green hat, the fourth one is wearing a yellow hat, and the fifth one is wearing an orange hat. If the first one is not wearing a red hat, does it logically follow that the fifth one is wearing an orange hat?
yes
it is not possible to tell