A man was in a small town for the day, and needed a haircut. He noticed that there were only two barbers in town, and decided to apply a bit of logical deduction to choosing the best one. Looking at their shops, he saw that the first one was very neat and the barber was clean shaven with a nice haircut. The other shop was a mess, and the barber there needed a shave and had a bad cut besides. Why did the man choose to go to the barber with the messy shop?
Since even barbers rarely try to cut their own hair, and there are only two barbers in town, they must cut each other's hair. The one with the neat hair must have it cut by the one with the bad haircut, who must then be better one, considering his own haircut.
You are standing next to three switches. You know these switches belong to three bulbs in a room behind a closed door – the door is tight closed, and heavy which means that it's absolutely impossible to see if any bulb is on or not. All three switches are now in position off.
You can do whatever you want with the switches and when you are finished you open the door and go into the room. While in there you have to tell which switch belongs to which bulb.
How will you do that?
Turn on the first switch and wait for a while.
Turn off the first one and turn on the second.
Go into the room.
One bulb is shining, the second bulb is hot and the third one nothing.