Input (grade 8): The northern section of Upper Egypt, between El-Ayait and Sohag is sometimes known as Middle Egypt. The designation Upper Egypt is most frequently used as a division for Ancient Egypt.
Output (grade 7): The northern part of Upper Egypt, between El-Aiyat and Asyut is sometimes called Middle Egypt.