solved problem 144