Solve Euler 020.