Input (grade 6): With a population of 1.7 million (2008), the city is located inland from Jeddah, in a narrow valley, and above sea level.
Output (grade 10): The city is located 73 kilometres inland from Jeddah, in the narrow sandy Valley of Abraham, 277 metres above sea level.