Sam’s mom bought some apples:

4 bags of 10 apples,

5 bags of 20 apples,

12 bags of 30 apples,

How many apples did Sam’s mom buy?

Total: 4 × 10 + 5 × 20 + 12 × 30 = 40 + 100 + 360 = 500