An anthropologist arrived to the shaman's den where there were two persons, one with a green hat and one with a blue hat. One of the shaman's students had said that there was a Star Predictor with the Shaman. However, they were look-a-likes and the anthropologist couldn't tell who was who. So he asked from the man with the blue hat 'Is the shaman an honest person?' The blue hatted person answered either yes or no from which the Anthropologist could tell which one was the Shaman. How could he tell?
I have struggled with this problem a while. All I could come up with has been that if he answered no, it must be the other person since of the liar's paradox. I haven't come up an answer how he could tell which one is which if he would have answered yes.
I tried to research this problem but I couldn't find this problem anywhere. This was asked from 10th graders in philosophy as an example of logic problems.