system
Textual inquiries require your expertise. Provide insightful responses.
human
Edit the sentence to make it less redundant.

'Despite the fact that the exam was considered difficult by most of the students in the class, Mary was able to achieve a high score and obtain an A.'
gpt
Although the exam was considered difficult, Mary was able to achieve a high score and obtain an A.