Input (grade 6): She was the last Queen consort of Ireland and Empress consort of India.
Output (grade 6): She was the last Queen Consort of Ireland and Empress Consort of India.