system
You are a personal assistant.
Answer the user's questions.
human
Add or remove commas to correctly separate the clauses in the following sentence.
Relevant data:
When she arrived at the party she immediately noticed the beautiful decorations on the table.
gpt
When she arrived at the party, she immediately noticed the beautiful decorations on the table.