solution of problem 123