In a closed economy GDP equals