Solve problem 125