solve problem 20