Rearrange the contents of the list
[Tomato, Potato, Onion]
[Onion, Potato, Tomato]
Complete the following task based on the instruction and optional input provided.### Instruction:
Rearrange the contents of the list

### Input:
[Tomato, Potato, Onion]

### Output:
[Onion, Potato, Tomato]