Cats can work out mathematically the exact place to sit that will cause most inconvenience.