You are given two sentences. Rewrite the sentence in a way that preserves the original meaning but changes the syntax.
I am going to the store. It is getting late.
As it is getting late, I am heading to the store.
Complete the following task based on the instruction and optional input provided.### Instruction:
You are given two sentences. Rewrite the sentence in a way that preserves the original meaning but changes the syntax.

### Input:
I am going to the store. It is getting late.

### Output:
As it is getting late, I am heading to the store.