A man started to town with a fox, a goose, and a sack of corn. He came to a stream which he had to cross in a tiny boat. He could only take one across at a time. He could not leave the fox alone with the goose or the goose alone with the corn. How did he get them all safely over the stream?
In a supermarket, there is an intelligent glass pane before a refrigerating unit. This glass pane allows cherries and apples through it but does not allow grapes and Orange to pass through it.
Can you identify the rule that the glass pane is following?