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

### Instruction:
 一个箱子里有42个苹果。送到工厂的苹果有12个箱子。有4个苹果坏了，必须扔掉。剩下的苹果被装进每个箱子能装10个苹果的盒子里。有多少个苹果盒子？


### Response:
 送到的苹果总数是42 × 12 = <<42*12=504>>504个。
剩下的苹果总数是504 − 4 = <<504-4=500>>500个。
苹果盒子的总数是500 ÷ 10 = <<500/10=50>>50个。