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

### Instruction:
Paityn has 20 red hats and 24 blue hats. Her friend Zola has 4/5 times as many red hats as she has and twice the number of blue hats. If they combine all the hats together and share them equally between themselves, calculate the number of hats each gets.

### Response:
 Idadi ya barakoa nyekundu ambazo Zola ana ni 4/5 * 20 = <<4/5*20=16>>16 barakoa
Zola pia ana barakoa buluu mara mbili ya idadi ya Paityn, ambayo ni 2 * 24 = <<2*24=48>>48 barakoa.
Pamoja, Zola ana jumla ya barakoa 48 + 16 = <<48+16=64>>64.
Wakati Paityn pia anaongeza barakoa zake, wana jumla ya barakoa 64 + 20 + 24 = <<64+20+24=108>>108.
Wakigawana barakoa sawasawa, kila mmoja anapata 108/2 = <<108/2=54>>54 barakoa.