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

### Instruction:
Caroline has 40 pairs of socks. She loses 4 pairs of socks at the laundromat. Of the remaining pairs of socks, she donates two-thirds to the thrift store. Then she purchases 10 new pairs of socks, and she receives 3 new pairs of socks as a gift from her dad. How many pairs of socks does Caroline have in total?

### Response:
 Baada ya kupoteza baadhi ya soksi, Caroline ana jozi 40 - 4 = <<40-4=36>>36 za soksi.
Caroline anatoa 36 * (2/3) = <<36*2/3=24>>24 jozi za soksi kwa duka la hisani.
Baada ya kutoa baadhi ya soksi, Caroline anabaki na jozi 36 - 24 = <<36-24=12>>12 za soksi.
Baada ya kupata soksi mpya, Caroline ana jozi 12 + 10 + 3 = <<12+10+3=25>>25 za soksi.