solved problem 56