Consider the diagram.

Line l is a perpendicular bisector of line segment A C. It intersects line segment A C at point B. Line l also contains point D. The length of line segment A D is 16. The length of line segment B C is 9.
What is the length of segment AB?

7
9
18
25