Mrs. Martinez bought some apples at a supermarket. 21 of the apples were rotten and had to be thrown away. She packed the rest into 9 boxes of 32 apples and 2 boxes of 30 apples. How many apples did Mrs. Martinez have at first?
21 + 9 (32) + 2(30) = 369 apples