Input (grade 9): The constitution was revised, and the president became the ruler of Pakistan.
Output (grade 8): The constitution was changed and the president became the ruler of Pakistan.