Input (grade 8): Morocco has a coast on the Atlantic Ocean that reaches past the Strait of Gibraltar into the Mediterranean Sea.
Output (grade 6): The Mediterranean Sea lies to the north of Morocco, and the Atlantic Ocean to the west.