Solve Problem 1