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

### Instruction:
 Keanu alinunua samaki fulani kutoka duka kwa ajili ya wanyama wake. Alimpa paka wake samaki nusu ya idadi ya samaki aliyompa mbwa wake. Ikiwa alimpa mbwa wake samaki 40, na kila samaki alimgharimu $4, hesabu kiasi jumla cha pesa alizotumia dukani kununua samaki wote.


### Response:
 Paka alipokea nusu ya idadi ya samaki aliyompa mbwa, ambayo inamaanisha paka alipokea 1/2*40 = 1/2*40 = 20 samaki
Alinunua samaki 40 kwa ajili ya mbwa na 20 samaki kwa ajili ya paka, maana yake alinunua samaki 40+20 =<<40+20=60>>60 dukani.
Ikiwa kila samaki alimgharimu $4, gharama jumla ya samaki alizonunua dukani ni 60*$4 = $<<60*4=240>>240