A company purchased $4,000 worth of merchandise. Transportation costs were an additional $350. The company later returned $275 worth of merchandise and paid the invoice with the 2% cash discount period. The total amount paid for this merchandise is