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

### Instruction:
There are 10 bags with 30 oranges each on a truck. A total of 50 pieces of oranges are rotten. Thirty pieces of oranges will be kept for making orange juice and the rest will be sold. How many pieces of oranges will be sold?

### Response:
 Kuna jumla ya machungwa 10 x 30 = <<10*30=300>>300 kwenye lori.
Jumla ya vipande 50 + 30 = <<50+30=80>>80 vya machungwa havitauzwa.
Hivyo, vipande 300 - 80 = <<300-80=220>>220 vya machungwa vitauzwa.