Input (grade 8): Locarno was the administrative center of the parish of Locarno.
Output (grade 9): Locarno is the capital of the Locarno district in the Swiss canton of Ticino.