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

### Instruction:
A tree had 1000 leaves before the onset of the dry season, when it sheds all its leaves. In the first week of the dry season, the tree shed 2/5 of the leaves. In the second week, it shed 40% of the remaining leaves.  In the third week, the tree shed 3/4 times as many leaves as it shed on the second week. Calculate the number of leaves the tree hadn't shed by the third week.

### Response:
 Katika wiki ya kwanza, mti ulipoteza majani 2/5*1000 = <<2/5*1000=400>>400.
Idadi ya majani yaliyosalia kwenye mti mwishoni mwa wiki ya kwanza ni 1000-400 = <<1000-400=600>>600.
Katika wiki ya pili, mti ulipoteza majani 40/100*600 = <<40/100*600=240>>240.
Idadi ya majani yaliyosalia kwenye mti ni 600-240 = <<600-240=360>>360.
Katika wiki ya tatu, mti ulipoteza majani 3/4*360 = <<3/4*360=270>>270.
Idadi ya majani yaliyosalia kwenye mti ni 360-270 = <<360-270=90>>90.