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

### Instruction:
 Baada ya kununua mashati yenye thamani ya $27 kutoka duka, Dennis alipokea noti 2 za $10 na $3 kwa sarafu za pesa kama mabadiliko yake. Dennis alikuwa na pesa kiasi gani mwanzoni?


### Response:
 Dennis alipokea jumla ya $10 x 2 = $20 kutoka noti za $10.
Hivyo, alipokea jumla ya $20 + $3 = $<<20+3=23>>23 kama mabadiliko.
Hivyo, Dennis alikuwa na pesa mwanzoni $23 + $27 = $<<23+27=50>>50.