Input (grade 8): Heilongjiang borders Jilin in the south and Inner Mongolia to the west; it also borders Russia to the north.
Output (grade 6): It's bordered by Russia on the north and east. To the south is Jilin province, and the Inner Mongolia Autonomous Region lies to the west.