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

### Instruction:
The school store had a sale on pencils. Ten students bought pencils. The first two students bought 2 pencils each. The next six students bought three pencils each and the last two students only bought one pencil each. How many pencils were sold?

### Response:
 Wanafunzi wa kwanza walikunua penseli 2 * 2 = <<2*2=4>>4
Wanafunzi sita walikunua penseli 6 * 3 = <<6*3=18>>18
Wanafunzi wawili wa mwisho walikunua penseli 1 + 1 = <<1+1=2>>2
Jumla ya penseli zilizonunuliwa ni 4 + 18 + 2 = <<4+18+2=24>>24