Project Euler #232: The Race