A farmer wants to transport a fox, a chicken and some corn across a river.
They have a rowboat, but it can only carry the person and one other item.
If the fox and the chicken are alone together, the fox will eat the chicken.
If the chicken and the corn are alone together, the chicken will eat the corn.
How does the farmer do it?