A company purchased $3,300 worth of merchandise. Transportation costs were an additional $290. The company returned $230 worth of merchandise and then paid the invoice within the 3% cash discount period. The total cost of this merchandise is: