the night before halloween kyle sorted 1000 pieces of candy into bags with each bag containing 12 pieces of candy. if kyle is allowed to eat any candy left over how many pieces could he eat?