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

### Instruction:
In Mary's class, there are 25 students. Their teacher told them they could pay $50 each to finance a big science project that they and their society would benefit greatly from. They all paid the full amount except for 4 students, who paid half. How much was the class able to gather together?

### Response:
 Kiasi cha awali ni $50 hivyo nusu ni $50/2 = $<<50/2=25>>25
Wanafunzi 4 walilipa nusu ($25) kwa jumla ya 4*$25 = $<<4*25=100>>100
Kuna wanafunzi 25-4 = <<25-4=21>>21 waliobaki
Wanafunzi 21 walilipa kiasi kamili ($50) kwa jumla ya 21*$50 = $<<21*50=1050>>1050
Walikuwa wamekusanya jumla ya $1050+$100 = $<<1050+100=1150>>1150