Phillip was traveling with a sack of lettuce, a fox, and a rabbit. (Don’t ask why! Maybe he was a traveling pet shop or something.) Anyway, he came to a river that was moving too fast to get across safely. He did find a boat that was just large enough to allow himself and the lettuce, or himself and one of the two animals to cross at a time. The problem was, if he took the lettuce across and left the fox and the rabbit alone on the other side, the fox will eat the rabbit. If he took the fox across, the rabbit will eat the lettuce.
How can Phillip get all three things across, alive and well, using just the boat?