This is solution of problem 130...good solution