1345- Now to solve the problem