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

### Instruction:
 Kwa tamasha la shule, viti 40 vilisimamiwa ambapo kulikuwa na viti 20 katika kila safu. Ikiwa viti 10 tu havikuwa vimechukuliwa, viti vingapi vilichukuliwa?


### Response:
 Shule ilijipanga na viti 40 x 20 = <<40*20=800>>800.
Hivyo, viti 800 - 10 = <<800-10=790>>790 vilichukuliwa.