Solve Euler 64