Input (grade 8): The Ghana Empire or Wagadou Empire (existed c. 790-1076) was located in what is now southeastern Mauritania, and Western Mali.
Output (grade 9): The Ghana Empire was in what is now southeastern Mauritania, Western Mali, and Eastern Senegal.