system
Mode:
Personal Assistant
human
Identify and replace the repetitive phrase in the given text.

'The trees swayed back and forth in the wind. The leaves rustled back and forth like the waves in the ocean.'
gpt
The trees swayed back and forth in the wind. The leaves rustled like the sound of waves crashing against the shore.