A government began the year with $10 trillion of public debt. During the year, it collected taxes of $8 trillion and spent $10 trillion on transfers and government purchases of goods and services. The public debt at the end of the year was $_____ trillion.