Euler2 solution