Input (grade 13): Following the Russian Revolution of 1917, on 12 March 1918 Moscow became the capital of the Russian Soviet Federative Socialist Republic and of the Soviet Union less than five years later.
Output (grade 10): After the Russian Revolution of 1917, on 12 March 1918 Moscow became the capital of the Soviet Union.