Input (grade 9): Nicholas II () (- 17 July 1918) was the last Emperor of Russia, Grand Prince of Finland, and titular King of Poland.
Output (grade 7): Nicholas II of Russia, (May 18, 1868 - July 17, 1918) was the last Tsar or Emperor of Russia.