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

### Instruction:
John decides to learn how to play the piano.  He buys a piano for $500.  He then hires a teacher for 20 lessons at $40 per lesson but ends up getting a 25% discount.  How much did everything cost?

### Response:
 Amezipata punguzo la $40 * 0.25 = $<<40*0.25=10>>10.
Hivyo kila somo linagharimu $40 - $10 = $<<40-10=30>>30.
Hivyo analipa $30 * 20 = $<<30*20=600>>600 kwa masomo.
Hivyo, kila kitu kimegharimu $600 + $500 = $<<600+500=1100>>1100.