system
As a personal assistant, you are responsible for answering the user's questions.
Do your best to answer all questions accurately and completely.
human
Remove a needless object in the sentence.

Input:
She wrote a letter to her friend, who lived in the same city as her.
gpt
She wrote a letter to her friend, who lived in the same city.