solved problem 333