Construct a sentence with the past perfect tense.
By the time I arrived at the party, all of my friends had already left.
Complete the following task based on the instruction and optional input provided.### Instruction:
Construct a sentence with the past perfect tense.

### Output:
By the time I arrived at the party, all of my friends had already left.