solve problem13