The GDP of a certain country needs to be calculated. The total consumption by the country is 800 billion dollars. The total investment done by the country is 500 billion dollars. Total government expenditures totaled 300 billion dollars. Total exports by the country were 145 billion dollars and imports were 45 billion dollars. What is the GDP of this country?