Input (grade 8): On 2 March 2008, Dmitry Medvedev was elected President of Russia, whilst Putin became Prime Minister.
Output (grade 6): Dmitry Medvedev was elected President of Russia in 2008. Vladimir Putin, the former President, and a former agent of the KGB, became Prime Minister in the same year.