Input (grade 12): Verdi's last opera, Falstaff, whose libretto was also by Boito, was based on Shakespeare's Merry Wives of Windsor and Victor Hugo's subsequent translation.
Output (grade 6): His very last opera, Falstaff (1893) is based on Shakespeare's Merry Wives of Windsor.