Input (grade 12): A landlocked country, the Republic of Macedonia is bordered by Serbia and Kosovo to the north, Bulgaria to the east, Greece to the south and Albania to the west.
Output (grade 9): The country borders Serbia to the north, Albania to the west, Greece to the south, and Bulgaria to the east.