Rewrite this text to remove the grammatical issues:
In conclusion, coping with an aging population will require a long time effort and it is a challenge to a country.
In conclusion, coping with an aging population will require a long-term effort, and it is a challenge to a country.