2003 AIME I Problem 7

Point B is on \overline{A C} with A B=9 and B C=21. Point D is not on \overline{A C} so that A D=C D, and A D and B D are integers. Let s be the sum of all possible perimeters of \triangle A C D.

\end{enumerate}

Find s.