A man has to take a wolf, a goat and some cabbage across a river. His rowboat has enough room for the man plus either the worf, the goat, or the cabbage. If he takes the cabbage with him, the wolf will eat the goat. If he takes the wolf with him, the goat will eat the cabbage. The goat and the cabbage are safe from their enemies only when the man is present.