the solution of the Distinct