A warehouse has 5 shelves long enough to hold 7 boxes and high enough to hold 4 boxes. All the shelves are full. How many boxes are there?