Middle-distance running - online puzzle