Input (grade 10): Mie Prefecture forms the eastern part of the Kii Peninsula, and is bordered by Aichi, Gifu, Shiga, Kyoto, Nara, and Wakayama.
Output (grade 7): The prefectures that surround Mie are Aichi, Gifu, Shiga, Kyoto, Nara, and Wakayama.