solved problem 99