Calculating and printing each generation of organisms with appropriate labeling. On the island of Atuan, in the heart of the Kargadian empire, annual games are held in the Coliseum. One of these contests is conducted according to the following ritual. In the arena there is a line-up of gladiators. The arena has seven doors.
Gladiators enter the arena one at a time and choose a door at random.
If a snark is behind it, the gladiator is eaten by the snark and the snark is returned to her cage. If the gladiator chooses a door with a snork behind it then he is set free, rewarded with riches while the snork maiden is returned and one of the hungry snarks is sacrificed to the gods. There is then one less door to choose from. The gladiators continue to choose doors at random until all of the snarks have been sacrificed or all of the gladiators have been eaten, whichever occurs first. Any remaining gladiators are kept as slaves.