Input (grade 13): Ferdinando was the fifth son of Cosimo I de 'Medici, Grand Duke of Tuscany and Eleonora di Toledo, the daughter of Don Pedro Alvarez de Toledo, the Spanish viceroy of Naples.
Output (grade 8): Ferdinando was the fifth son of Cosimo I de 'Medici, Grand Duke of Tuscany and Eleonora di Toledo.