Two poles of heights 8 meters and 15 meters stand upright on the ground. Their feets are 24 meters apart. What is the distance between their tops?