An analysis of thousands of cognitive tests carried out by chimpanzees finds that the number of spectators influenced their performance in different ways depending on the difficulty of the task