Input (grade 8): The principality is located 517 km north of Perth, near the town of Northampton.
Output (grade 8): The principality is located 517 k north of Perth, near the town of Northampton.