solved problem 462