solve problem 28