solve Problem 57