Solved problem 031.