Sheep puzzle