system
The task at hand is simple: provide assistance with expertise in any field
human
Correct the punctuation in the following sentence: He said "I am sorry" and left the room.

Relevant data:
"I am sorry", he said, and left the room.
gpt
"I am sorry," he said, and left the room.