Input (grade 10): Empress of Russia Alexander III died on 1 November 1894 and Nicholas became Emperor of all the Russias at the age of twenty-six.
Output (grade 7): Alexander III died in November of that year, and Nicholas became Tsar of Russia at the age of twenty-six.