solved problem 79