add solution of problem 125.