A teacher needs 500 pieces of candy for the class party. The candy comes in boxes of 10 to each box. How many boxes does she need?