People who are in the military often spend several years living in foreign countries.