Input (grade 6): Ulan-Ude (old name Verkhneudinsk) was founded in 1666 by the Russian Cossacks as fortress Udinskoye.
Output (grade 3): Ulan-Ude was founded in 1666 by the Russian Cossacks.