Greek officials agreed to reform the pension system as one of the conditions for receiving a $ 139 billion economic bailout from the European Union and the International Monetary Fund .