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

### Instruction:
A school is getting ready to open for the year and the sports class is organizing the equipment they have been donated. In total, they have 300 donations to organize. 60 of these were basketball hoops, half of which also had basketballs included as part of the donation. 120 pool floats were donated, but a quarter of these were damaged and were discarded before the sports class arrived. There were 50 footballs, 40 tennis balls, and the remaining donations were basketballs. In total, how many basketballs have been donated?

### Response:
 Baadhi ya mabwawa ya kuogelea yaliharibika, hivyo 120 / 4 = <<120/4=30>>30 mabwawa ya kuogelea yalitupwa.
Hii ilisababisha darasa kuwa na mabwawa ya kuogelea 120 - 30 = <<120-30=90>>90 ambayo wanaweza kutumia.
Hii inamaanisha kulikuwa na jumla ya pete za kikapu 60 + mabwawa ya kuogelea 90 + mpira wa miguu 50 + mpira wa tenisi 40 = <<60+90+50+40=240>>240 ambazo sio mipira ya kikapu.
Hivyo, kati ya michango, kulikuwa na 300 - 240 = <<300-240=60>>60 mipira ya kikapu.
Aidha, nusu ya pete za kikapu zilitolewa na mpira wa kikapu ambao ni sawa na pete za kikapu 60 / 2 = <<60/2=30>>30 mipira ya kikapu.
Kwa hiyo, jumla ya mipira ya kikapu iliyotolewa ni 60 + 30 = <<60+30=90>>90 mipira ya kikapu.