The two pilots had ejected safely before the crash and were taken to a military hospital for a medical examination .