In your cellar there are three light switches in the OFF position. Each switch controls 1 of 3 light bulbs on floor above. You may move any of the switches but you may only go upstairs to inspect the bulbs one time. How can you determine the switch for each bulb with one inspection??
Mr. X meet Mr. Y during an early morning walk.
Mr Y asks the age of Mr. X\'s children and Mr. X is a math professor so gives Mr Y a problem to solve.
Mr X says
-> I have 3 children
-> The product of their ages is 36
-> The sum of their age is equal to the number of houses in my street.
-> And my first daughter has blue eyes.
Using these clues Mr Y was able to say the ages of the 3 children.