Input (grade 11): Although the contract, too, banned her from leaving the convent, Marguerite Louise often went to her cousin Louis XIV's court at Versailles, where she gambled for high stakes.
Output (grade 8): Although the contract, banned her from leaving the convent, Marguerite Louise often went to her cousin Louis XIV's court at Versailles.