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

### Instruction:
 Cameron anaprinti tasnifu yake katika maktaba ya shule na ana karatasi 400 za ukubwa wa A4. Ikiwa 40% ya karatasi hazikuchapishwa kulingana na ubora anaoutaka na amezitenga kama zisizofaa, hesabu idadi jumla ya nyaraka halali.


### Response:
 Ikiwa alikuwa na karatasi 400, idadi jumla ya nyaraka alizotenga kama zisizofaa ni 40/100 * 400 kurasa = <<40/100*400=160>>160 kurasa.
Idadi ya nyaraka halali ni 400 kurasa - 160 kurasa = <<400-160=240>>240 kurasa.