A 30 foot ladder is placed against a vertical wall so that the base of the ladder is 10 feet from the base of the wall. How far up the wall does the ladder reach?