Two flag poles at Liberty Park are 27 feet tall. The distance from the top of one flag pole to the base of the other is 45 feet. What is the distance between the two flag poles?