The government said that Brazil , South America 's largest economy , posted a trade surplus of $ 3.35 billion last month , up from $ 2.58 billion in March of last year and $ 2.79 billion in February .