Completed Problem 24