solved problem 87