Solved problem 003.