Below is an instruction that describes a task. Write a response that appropriately completes the request in English. Please answer in English.

### Instruction:
John decided to buy 10 pins for himself.  They are normally $20 each but they were on sale for 15% off.  How much did he spend on pins?

### Response:
The pins were $20 each and he bought 10 so that's 20*10 = $<<20*10=200>>200
They were on sale for 15% off so that's 200*.15 = $<<200*.15=30>>30 discount
The pins cost $200 and he has a $30 discount so the pins cost 200-30 =$<<200-30=170>>170
#### 170