Solve Euler 79