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