Rearrange the following words to create a meaningful sentence: "amazing the happened was what".
"What happened was amazing."
Complete the following task based on the instruction and optional input provided.### Instruction:
Rearrange the following words to create a meaningful sentence: "amazing the happened was what".

### Output:
"What happened was amazing."