Solved problem 787