Implemented Problem 81