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

### Instruction:
Sarah walked to school carrying a bag containing 25 apples. At school, she gave each teacher she saw an apple. She also gave a single apple to each of 5 of her closest friends. And while she walked home, she also ate one of the apples. If she had three apples left in the bag when she got home, how many apples had she given away to teachers?

### Response:
 Kati ya matunda yake ya awali 25, Sarah alitoa matunda matano kwa marafiki, maana yake hakuwa na zaidi ya matunda 25-5=<<25-5=20>>20 yanayopatikana kwa walimu.
Alila moja alipokuwa akirudi nyumbani, maana yake hakuwa na zaidi ya matunda 20-1=<<20-1=19>>19 yanayopatikana kwa walimu.
Na kwa kuwa alikuwa na matunda matatu yaliyobaki alipofika nyumbani, basi kiasi alichotoa kwa walimu ni matunda 19-3=<<19-3=16>>16.