Project Euler Problem 67