solved problem 97