Implemented Problem 15