Input (grade 9): The famous Russian mathematician Nikolai Ivanovich Lobachevsky was its rector from 1827 until 1846.
Output (grade 8): The famous Russian mathematician Lobachevsky was its rector from 1827 till 1846.