The swimmers were racing in a pool in front of a crowd.