A restaurant bought four dozen of eggs from Eggland Best. Each egg carton can fit in 12 eggs. How many eggs did the restaurant have? The restaurant used.