Input (grade 9): In 1798, the lands of the canton of Graubünden became part of the Helvetic Republic as the Canton of Raetia.
Output (grade 12): The lands of the canton of Graubünden were part of the Helvetic Republic, but the "perpetual ally" of Switzerland became a canton in 1803.