So there's this wise man which has an unknown number of apprentices. One day he gathers all of them and tells them: "Today I will separate the wise from the foolish." He brings out a bag of red balls and a bag of white balls (their number is also unknown). "Those which are wise will receive a red ball and those which are not will receive a white ball." after which he starts to put the balls on their heads. Catch is every apprentice can see the balls on the others heads but not his own. The master then says: "All of the wise men take a step further!" The apprentices start looking at each other but no one moves. The master repeats: "All of the wise men take a step further!" The apprentices have the same reaction. The same thing happens the third time, yet the fourth time when the master asks the wise men to move they do. And the master congratulates them.
How did the wise men know they had red balls on their heads?
How did the wise men know they had red balls on their heads?