Problem 79: solved