A warehouse contains pallets of dog food ready to be shipped to stores to be sold. If the warehouse contains 52 pallets with 48 dog food bags per pallet, how many dog food bags does the warehouse contain?