Problem 24 completed