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

### Instruction:
A city has a population of 300,000.  50,000 people immigrate to the country and then 30,000 people leave.  After that 1/8 of the population gets pregnant and 1/4 of those people have twins.  How many people are there after the births?

### Response:
 Kulikuwa na uhamiaji wa watu 50,000-30,000=<<50000-30000=20000>>20,000
Hivyo idadi ya watu kabla ya kuzaliwa ni 300,000+20,000=<<300000+20000=320000>>320,000
Hii inamaanisha 320,000/8=<<320000/8=40000>>40,000 wanapata ujauzito
Hivyo 40,000/4=<<40000/4=10000>>10,000 wana watoto mapacha
Hii inamaanisha wana watoto 10,000*2=<<10000*2=20000>>20,000
Kuna watoto 30,000 kutoka kwa kuzaliwa moja moja
Hivyo idadi ya watu jumla ni 320,000+30,000+20,000=<<320000+30000+20000=370000>>370,000