Solution to Problem #17