Assume the given sentence is written incorrectly: "We invited guests to a party wearing formal clothes." Rewrite the sentence to sound grammatically correct.
"We invited guests to a party and requested that they wear formal clothes."
Complete the following task based on the instruction and optional input provided.### Instruction:
Assume the given sentence is written incorrectly: "We invited guests to a party wearing formal clothes." Rewrite the sentence to sound grammatically correct.

### Output:
"We invited guests to a party and requested that they wear formal clothes."