solved problem 32