Nondegenerate △ABC has integer side lengths, BD is an angle bisector, AD=2, and DC=5. What is the smallest possible value of the perimeter?
18
21
24
25
28