Sam and n - 1 of his friends sit around a circle and start playing. The way the game is played is that Sam is the first to say "Hello!". After that, in each step,