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

### Instruction:
Leo had 400 marbles in a jar. He packed the marbles with ten marbles in each pack, and he gave some of them to his two friends,  Manny and Neil.   He gave Manny 1/4 of the number of packs of marbles, Neil received 1/8 of the number of packs of marbles, and he kept the rest. How many packs of marbles did Leo keep?

### Response:
 Leo alikuwa na mabulinge 400/10 = <<400/10=40>>40 pakiti.
Aliwapa Manny 1/4 x 40 = <<1/4*40=10>>10 pakiti za mabulinge.
Na, alimpa Neil 1/8 x 40 = <<1/8*40=5>>5 pakiti za mabulinge.
Hivyo, jumla ya pakiti za mabulinge ambazo Leo alitoa kwa marafiki zake ni 10 + 5 = <<10+5=15>>15.
Hivyo, Leo alibaki na pakiti 40 - 15 = <<40-15=25>>25 za mabulinge.