Input (grade 1): Its medieval name was Briga dives.
Output (grade 2): The wealth of Brig is because of the Simplon Pass.