Yep.
Here's another fun riddle: a prison has 50 prisoners in it. One day at lunch time the prison warden tells the prisoners that, later that day, they will be placed on a staircase with 50 steps on it, facing downward. Each prisoner will then have a hat placed on his head, which may be black or white. The prisoners will not be able to see the colour of their own hat or the hat of anyone above them; they will only be able to see the hats of prisoners below them. The warden will then ask each prisoner in turn, starting with the prisoner at the top of the stairs and working his way down, to guess the colour of his hat. If he guesses wrong he will be shot, but otherwise he will be spared. Once on the stairs the prisoners will not be allowed to talk, or communicate in any way, except when prompted to guess the colour of their hat, and even then will only be allowed to say either "black" or "white". But they are allowed to talk freely for the duration of lunch, for the purpose of agreeing a strategy.
Assuming they are smart enough, what is the maximum number of prisoners who will die?