Solving the Euler problems.