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

### Instruction:
Isabel has some money in her piggy bank. She spent half the amount and bought a toy. She then spent half of the remaining money and bought her brother a book. If she has $51 left, how much money, in dollars, did she have at first?

### Response:
 Baada ya kununua mchezo, Isabel ana $2 * 51 = <<2*51=102>>102 iliyosalia.
Isabel alikuwa na $102 * 2 = <<102*2=204>>204 mwanzoni.