Company X sells widgets. The following information summarizes the company's operating activities for the year:
Beginning inventory $7,000
Sales revenue $25,000
Sales commissions $1,000
Rent for office $2,000
Utilities for the office $1,500
Purchases $6,000
Ending inventory $5,000
What is cost of goodssold?