High School

Two vertical poles with heights of 12 inches and 22 inches are separated by a horizontal distance of 24 inches. What is the distance between the tops of these poles?