You have 25 horses and want to know which are the three fastest. Whenever you race horses, the order of finish accurately reflects the relative speeds of the horses but you can only race five at a time. What’s the minimum number of races required to determine the three fastest, and how do you do it?

Communicated by D. Stone.