Problem 24 solved