Input (grade 10): Chad is bounded to the north by Libya, to the east by Sudan, to the west by Niger, Nigeria and Cameroon, and to the south by the Central African Republic.
Output (grade 9): To the north is Libya, to the south is the Democratic Republic of the Congo, to the east is Sudan, and to the west is Niger.