 
 <prompt> A kan wata dukkanin CD, 40% na CDs sun kasance $10 kowane, kuma sauran su sun kasance $5 kowane. Prince ya sami ɗari na CDs da suka ba da $10 kowane, kuma duk CDs da suka ba da $5 kowane. Idanun dukkanin CDs sun kasance 200, yaya kuwa Prince ya kasance ayya CDs? <response>: The number of CDs selling at $10 each at the store is 40/100*200 = 80
This means the store sells 200-80 = 120 CDs at $5 each.
Prince bought 1/2*80 = 40 of the CDs selling at $10 each.
The total amount of money Prince paid for the 40 CDs selling at $10 each is $40*10 = $400
If he bought all the CDs selling at $5 each, he paid a total of $5*120 = $600
For all the CDs he bought, Prince spent $600+$400= $1000

The final answer: 1000. 