solve Problem 56