A customer purchased a total of 12 coats and sweaters. Each coat cost $20.00 and each sweater cost $13.50. The customer spent $207.50 all together.

How many coats did the customer buy?