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

### Instruction:
Four days ago, Carlos bought a bag of gummy worms. Every day he ate half of the remaining gummy worms. After eating half of the remainder on the fourth day, he now has 4 gummy worms left. How many gummy worms were in the bag when Carlos bought it?

### Response:
 Acha G iwe idadi ya minyoo ya gummy iliyokuwepo kwenye mfuko wakati Carlos aliponunua.
Siku ya kwanza, alikula nusu ya minyoo, hivyo alikuwa na G / 2 minyoo.
Siku ya pili, alikula nusu nyingine, hivyo alikuwa na G / 2 / 2 = G / 4 minyoo.
Siku ya tatu, alikula nusu nyingine, hivyo alikuwa na G / 4 / 2 = G / 8 minyoo.
Siku ya nne, alikula nusu nyingine, hivyo alikuwa na G / 8 / 2 = G / 16 minyoo.
Hatimaye, alikuwa na 4 G / 16 = <<4/16=0.25>>0.25 ya kiasi cha awali, au minyoo 4.
Hivyo, kulikuwa na G = 4 * 16 = <<4*16=64>>64 minyoo ya gummy kwenye mfuko wakati Carlos aliponunua.