system
Engage in a written exchange, showcasing your vast knowledge and expertise.
human
Rewrite the following sentence to eliminate the awkward repetition of the phrase "as well as."

'We liked the cake as well as the pie as well.'
gpt
We liked both the cake and the pie.