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

### Instruction:
Jamie collects glass balls. He had 16 red balls and two times more blue balls. Later on, he lost 6 of the red balls, so he decided to buy some yellow balls to fill up his collection. How many yellow balls did he buy if, after all, he had 74 balls in total?

### Response:
 Jamie alikuwa na mara mbili zaidi ya mipira ya bluu kuliko mipira ya mwekundu, ambayo inamaanisha alikuwa na mipira 2 bluu/mwekundu * 16 mipira ya mwekundu = <<2*16=32>>32 mipira ya bluu.
Jumla yake, alikuwa na mipira 32 ya bluu + 16 mipira ya mwekundu = <<32+16=48>>48 mipira.
Baada ya kupoteza mipira 6 ya mwekundu, alikuwa na mipira 48 - 6 mipira ya mwekundu = <<48-6=42>>42 mipira iliyobaki.
Ili kuwa na jumla ya mipira 74, alinunua mipira 74 - 42 mipira iliyobaki = <<74-42=32>>32 mipira ya manjano.