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

### Instruction:
Maria has a pen and a pencil. She bought the pen for half the price of the pencil. The pencil cost her $8. How much did Maria pay for both the pen and the pencil?

### Response:
 Maria alilipa nusu ya bei ya penseli kwa kalamu, hivyo alilipa 8 * 0.5 = $<<8*0.5=4>>4 kwa kalamu.
Hivyo, kalamu na penseli zote zilimgharimu Maria 8 + 4 = $<<8+4=12>>12.