Input (grade 12): It is the capital of the autonomous community of La Rioja, formerly known as LogroÃ o Province.
Output (grade 4): It is the capital of La Rioja. LogroÃ o is in the Ebro valley.