Save the solutions.