Two airplanes leave the same airport. One heads north, and the other heads east. After some time, the northbound airplane has traveled 24 kilometers. If the two airplanes are 30 kilometers apart, how far has the eastbound airplane traveled?