Solve problem 145