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

### Instruction:
 Kuna mashindano ya kula pai shuleni. Adam anakula pai tatu zaidi ya Bill. Sierra anakula pai mara mbili ya Bill. Ikiwa Sierra alikula pai 12, pai ngapi zilikuliwa jumla?


### Response:
 Bill alikula 12 / 2 = <<12/2=6>>6 pai.
Adam alikula 6 + 3 = <<6+3=9>>9 pai.
Walikula jumla ya 6 + 9 + 12 = <<6+9+12=27>>27 pai.