solved problem 102