its in the bible...
This is from the story of King Solomon from the Bible. It is one of the riddles supposedly asked to him by the Queen of Sheba.
"What is it? An enclosure with ten doors; when one is open, nine are shut, and when nine are open, one is shut," Sheba asked Solomon.
Solomon answered, "The enclosure is the womb, and the ten doors are the ten orifices of man, namely his eyes, his ears, his nostrils, his mouth, the apertures for discharge of excreta and urine, and the navel. When the child is still in its mother's womb, the navel is open, but all the other apertures are shut, but when the child issues from the womb the navel is closed and the other orifices are open.