Solve Euler 78