Check the solution