Input (grade 13): The state is bordered to the north by Sonora and Chihuahua; to the south, by Nayarit; to the east by Durango, and to the west, across the Gulf of California, Baja California Sur.
Output (grade 8): It is bordered by Sonora to the north, Chihuahua to the northeast, Durango to the east, and Nayarit to the south.