Input (grade 10): It is bordered by Iran in the south and west, Pakistan in the south and east, Turkmenistan, Uzbekistan and Tajikistan in the north, and China in the far northeast.
Output (grade 10): It is bordered by Iran in the west, Pakistan in the south and east, Turkmenistan, Uzbekistan, Tajikistan in the north, and China in the northeast.