Solution to Problem 18