Rewrite the given sentence in a more formal tone.
I had to go to the store real quick.
I needed to make a brief visit to the store.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rewrite the given sentence in a more formal tone.

### Input:
I had to go to the store real quick.

### Output:
I needed to make a brief visit to the store.