A pack of pencils contain a dozen pencils.450 such packs were put in a carton. If there are 25 such cartons, find the total number of pencils.