The sell reduced the price of each pin by 20*.15=$<<20*.15=3>>3
So he paid 20-3=$<<20-3=17>>17 per pin
So the total cost was 17*10=$<<17*10=170>>170
#### 170