Reforming social security in a small open economy