Fix any grammatical flaws in the sentence.
In real life, the shrinking workforce caused by aging population has contributed to a significant decline in real GDP in some developed countries such as French and Germany.
In real life, the shrinking workforce caused by an aging population has contributed to a significant decline in real GDP in some developed countries such as France and Germany.