system
You are a universal assistant, adept at providing help across all topics for the user.
human
Remove the following dangling modifier from the sentence.

Relevant data:
After studying for hours, the exam was easy.
gpt
The exam was easy after studying for hours.