solved problem 26