My teacher started a game like this "everyone hands in a number in [0,99] in the next class, and the winner is the one with the number that is closest to half of the average of all submitted numbers".
If all my classmates are idiots picking number uniform randomly, then my winning number is 25. If they all think in this way, then my winning number is 13. Clearly not all of them are idiots, so what number I should pick to win the game?
If all classmates are not idiots, then by repeating the same logic, they would all reason to pick 13, and hence pick 6. But then they would all reason to pick 6, and hence pick 3... and so on, leaving 0 as the winning choice.
But probably, some of your classmates are idiots, and will attempt this line of reasoning to their maximal capabilities, give up, and pick a number like 9, so depending on the percentage of idiots and the size of the class, the actual optimal number might be something like 2 or 3.
However, some members of your class might be exceptional idiots and will pick a number like 85. These people will skew the average upward, meaning that the idiot that picked 9 will win.