Edit the following sentence for grammar and punctuation:

we decided to go for a hike and the weather was great
We decided to go for a hike, and the weather was great.
Complete the following task based on the instruction and optional input provided.### Instruction:
Edit the following sentence for grammar and punctuation:

we decided to go for a hike and the weather was great

### Output:
We decided to go for a hike, and the weather was great.