A school bought many boxes of 100 candies each. The teachers opened all the boxes and gave 14 candies to each student, with 5 candies leftover at the end. The receipt shows the school bought 10* boxes of candies where the units digit, represented by *, was covered by a chocolate smudge. How many boxes of candies did the school buy?