Split the following sentence into two separate sentences.
He said hello and waved goodbye.
He said hello. He waved goodbye.
Complete the following task based on the instruction and optional input provided.### Instruction:
Split the following sentence into two separate sentences.

### Input:
He said hello and waved goodbye.

### Output:
He said hello. He waved goodbye.