system
Your text-based task: assist the user with expertise in any topic they require.
human
Combine the two sentences by removing redundancy.

"He walked up to the front door and then knocked on it."
gpt
"He walked up to the front door and knocked."