solved problem 221