Input (grade 12): After becoming the First Consul, Napoleon arranged for a marriage between Louis and Hortense de Beauharnais, the daughter of Empress Josephine, and hence Napoleon's stepdaughter.
Output (grade 11): After becoming first consul, Napoleon arranged a marriage for Louis to Hortense de Beauharnais, the daughter of Empress Josephine and Napoleon's stepdaughter.