Solve the problem 1