A ladder leans against a 15-foot building to form a right triangle. The ladder is placed so that it is 8 feet from the building. What is the length of the ladder?