Classic logic puzzle: farmer, fox, chicken, grain. Tests step-by-step reasoning and constraint satisfaction.
A farmer needs to cross a river with a fox, a chicken, and a bag of grain. The boat can only carry the farmer and one item at a time. If left alone, the fox will eat the chicken, and the chicken will eat the grain. Describe the exact steps to get everyone across safely. Show your reasoning.