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

### 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:
 จำนวนส้มทั้งหมดบนรถคือ 10 x 30 = <<10*30=300>>300 ลูก
จำนวนส้มที่จะถูกขายคือ 300 - 50 - 30 = <<300-50-30=220>>220 ลูก