Implemented Question 40.