Read the story on a Miller who had three sons

There was a miller who had three sons. He also had a windmill, a donkey and a cat. When the miller died, the eldest son got the windmill, the second son got the donkey and the youngest son got a cat. It was an intelligent cat.