Click the green flag. He cat will ask how many people are in the room. When you tell him, he will calculate the number of handshakes needed so that everyone in the room shakes hands with every person the in the room once.