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

### Instruction:
In Professor Plum's biology class there are 40 students. Of those students, 80 percent have puppies. Of those who have puppies, 25% also have parrots. How many students have both puppies and parrots?

### Response:
 Tunanza na idadi ya awali ya wanafunzi, 40 na kuzidisha na 0.8 kwa 40 * 0.8 = <<40*0.8=32>>32 ambao wanamiliki mbwa.
Kisha, tunapata idadi ya wanafunzi ambao wanamiliki mbwa na kasuku kwa kuzidisha 32 * 0.25 ili kupata 8 ambao wanamiliki mbwa na kasuku.