Three horses and their jockeys compete in a race .