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

### Instruction:
Brianna started out with a bag of 24 marbles.  She lost four marbles through a hole in the bag.  Then, she gave away twice as many marbles as she had lost through the hole in the bag.  Finally, her dog ate half as many marbles as Brianna had lost through the hole in the bag.  How many marbles did Brianna have remaining?

### Response:
 Marabulinge mara mbili ya mabulinge aliyoyapoteza ni 2*4=<<2*4=8>>8.
Nusu ya mabulinge aliyoyapoteza ni 4/2=<<4/2=2>>2.
Ikiwa Brianna alitoa mara mbili ya mabulinge aliyoyapoteza, basi alikuwa na mabulinge 24-4-8=<<24-4-8=12>>12 yaliyosalia.
Ikiwa mbwa wake alila nusu ya mabulinge aliyoyapoteza kupitia tundu kwenye mfuko, basi mbwa wake alila mabulinge 4/2=<<4/2=2>>2.
Baada ya mbwa wake kula mabulinge 2, Brianna alikuwa na mabulinge 12-2=<<12-2=10>>10 yaliyosalia.