Solve Euler 65