Rewrite the given sentence using a synonym of the word in parenthesis.
The town leaders displayed their (ostentatious) wealth by purchasing a gold statue for the town square.
The town leaders demonstrated their extravagant wealth by purchasing a gold statue for the town square.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rewrite the given sentence using a synonym of the word in parenthesis.

### Input:
The town leaders displayed their (ostentatious) wealth by purchasing a gold statue for the town square.

### Output:
The town leaders demonstrated their extravagant wealth by purchasing a gold statue for the town square.