Mr. Johnson’s class is selling boxes of Washington apples to raise money for a class trip. Every student was given 24 boxes to sell. Each box had 12 apples. All 18 students sold all of their boxes. How many apples did Mr. Johnson’s class sell all together?