Dealing with the IMF: dangers and opportunities