add solution of problem 131