In quadrilateral $$ABCD , \angle B$$ is a right angle, diagonal $$\overline{AC}$$ is perpendicular to $$\overline{CD}, AB=18, BC=21,$$ and $$CD=14.$$ Find the perimeter of $$ABCD.$$

(第二十四届AIME1 2006 第1题)