In 2004 the sheep on a Yorkshire moor worked out how to cross a cattle grid, and the village below them has not had a safe flowerbed since.
A cattle grid is the simplest idea in farming. A pit across the road with steel bars over it. A hoof cannot grip the bars, so the animal will not cross. It has kept sheep on hills for the best part of a century.
The hill sheep above Marsden, near Huddersfield, looked at theirs for a while.
Then one of them lay down on its side at the edge of the grid and rolled. Over and over, eight feet across the bars, like a soldier going under wire. It got up on the far side and walked into the village.
Others watched and did the same. Within a season the trick had gone through the flock. Villagers woke to sheep on their lawns, in their vegetable plots and browsing the churchyard. A local councillor told the BBC, with some feeling, that they were also clearing five-foot fences and squeezing through eight-inch gaps.
Nobody had taught them. One animal solved the problem and the rest learned it by watching, which is how sheep learn everything, and why a flock knows its own hill.
For as long as there have been jokes about sheep, the joke has been that they follow each other.
At Marsden they followed the one that had cracked it, across a barrier designed by engineers for the sole purpose of stopping them.