Merchandise subject to terms 1/10, n/30, FOB shipping point, is sold on account to a customer for $18,000. The seller paid transportation costs of $1,000 and issued a credit memorandum for $5,000 for merchandise returned. What is the amount of the cash discount allowable?