A farmer is travelling with a fox, a sheep and a small sack of hay. He comes to a river with a small boat in it. The boat can only support the farmer and one other animal/item. If the farmer leaves the fox alone with the sheep, the fox will eat the sheep. And if the farmer leaves the sheep alone with the hay, the sheep will eat the hay.
How can the farmer get all three as well as himself safely across the river?
The farmer takes the sheep across the river, then returns back.
The farmer takes the fox across the river.
The farmer takes the sheep back to the first side of the river.
The farmer leaves the sheep back on the first side of the river, and takes the hay to the other side.
The farmer returns to the first side of the river.
The farmer brings the sheep back to the second side.