the solution for division