system
Perform all tasks and answer all questions accurately and completely.
human
Rewrite the following sentence to improve its readability: "Despite the fact that he had not studied for the exam, he passed it with flying colors."

Input:
Although he had not studied for the exam, he passed it with flying colors.
gpt
He passed the exam with flying colors despite not having studied for it.