solved Problem 28