Input (grade 6): It borders Paraguay and Bolivia to the north, Brazil and Uruguay to the northeast, and Chile to the west and south.
Output (grade 6): It is bordered by Paraguay and Bolivia in the north, Brazil and Uruguay in the northeast, and Chile in the west and south.