Rearrange the given words so that they make grammatical sense.
yesterday picnic sunny had we
We had a sunny picnic yesterday.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rearrange the given words so that they make grammatical sense.

### Input:
yesterday picnic sunny had we

### Output:
We had a sunny picnic yesterday.