Title: A dynamic small open economy model of ageing populations