On the other side , Latvia , like Hungary , has taken an IMF-led support deal after a capital flight and sharp drop in economic output , and its prime minister said on Monday that 2009 would be a fight for the country to remain out of bankruptcy .