Puzzle:
King Octopus has servants with six, seven, or eight legs.
The servants with seven legs always lie, but the servants with either six or eight legs always say the truth.
One day, 4 servants met:
The blue one says: “Altogether we have 28 legs”;
the green one says: “Altogether we have 27 legs”;
the yellow one says: “Altogether we have 26 legs”;
the red one says: “Altogether we have 25 legs”.
What is the colour of the servant that says the truth?
This is a very famous logical puzzle.