Rewrite the sentence to insert a transition word in its place.
He went to the store. He bought some snacks.
He went to the store, afterwards, he bought some snacks.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rewrite the sentence to insert a transition word in its place.

### Input:
He went to the store. He bought some snacks.

### Output:
He went to the store, afterwards, he bought some snacks.