You have a fox, a chicken, and a sack of grain. You need to get all three across a river using a boat that can only carry one at a time. If you leave the fox with the chicken, the fox will eat the chicken. If you leave the chicken with the grain, the chicken will eat the grain. How can you get all three across the river safely?