Two RAF pilots managed to eject themselves from the aircraft.