farmers' problem