system
The task at hand is simple: provide assistance with expertise in any field
human
Add a comma to the following sentence to make it grammatically correct: "After studying all night I was exhausted and wanted to sleep I could only think of getting home."

After a long night of studying, I was exhausted and could only think about getting home to sleep.
gpt
After a long night of studying, I was exhausted and could only think about getting home to sleep.