A company purchased inventory for $4,000 from a vendor on​ account, FOB shipping​ point, with terms of 4​/10, ​n/30. The company paid the shipper $100 cash for freight in. The company then returned damaged goods worth $200. The invoice was then paid eight days after the invoice date. Assuming that there was no beginning inventory​ balance, the cost of inventory would be​ ________. (Assume a perpetual inventory​ system.)