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

### Instruction:
 John alifanya kazi masaa 8 kwa siku kila siku kutoka tarehe 3 hadi 8, ikiwa ni pamoja na tarehe 3 na sio pamoja na tarehe 8. Alifanya kazi kwa masaa mangapi?


### Response:
 Alihesabu siku 8-3=<<8-3=5>>5
Hivyo alifanya kazi kwa masaa 5*8=<<5*8=40>>40