Input (grade 5): It borders the states of Amazonas and Pará, as well as the nations of Venezuela and Guyana.
Output (grade 6): It shares borders with the states of Pará and Amazonas, as well as the countries Venezuela and Guyana.