Input (grade 7): Richard II is imprisoned until he agrees to replace all the councillors in his court.
Output (grade 6): Richard II is imprisoned until he agrees replace all the councillors in his court.