solved problem 48