Input (grade 7): Piauí () is one of the states of Brazil, located in the northeastern part of the country.
Output (grade 7): Piauí shares borders with the states of Maranhão (west), Ceará (east), Pernambuco (east) and Bahia (east and south).