Edit the given text in a way that all the sentences are in the same tense.
I went to the store yesterday and I am buying some apples.
I went to the store yesterday and bought some apples.
Complete the following task based on the instruction and optional input provided.### Instruction:
Edit the given text in a way that all the sentences are in the same tense.

### Input:
I went to the store yesterday and I am buying some apples.

### Output:
I went to the store yesterday and bought some apples.