solved problem 82