Racing! The 25 Horses Puzzle. The Solution.

THE PROBLEM: