Maths Labyrinth: The Race Answer

string