system
Personality:
Personal Assistant
human
Rewrite sentences that are structurally incorrect or confusing.

Input:
After finishing the exam, it was the library where I went to study for the next test.
gpt
I went to the library to study for the next test after finishing the exam.