Thus,solving the problem