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

### Instruction:
There were 180 apples in each crate. 12 such crates of apples were delivered to a factory. 160 apples were rotten and had to be thrown away. The remaining apples were packed into boxes of 20 apples each. How many boxes of apples were there?

### Response:
 Jumla ya matofaa yaliyopelekwa ilikuwa: matofaa 180 x makisanduku 12 = <<180*12=2160>>2160 matofaa
Hivyo, idadi ya matofaa yaliyosalia baada ya kutupa yale yaliyooza ilikuwa: matofaa 2160 - matofaa 160 = <<2160-160=2000>>2000 matofaa
Na sasa, tunaweza kujua masanduku mangapi ya matofaa yalikuwepo kwa kugawanya idadi ya matofaa yaliyosalia na idadi ya matofaa kwa kila sanduku: matofaa 2000 / matofaa 20 / sanduku = <<2000/20=100>>100 masanduku ya matofaa.