In the army kitchen there are 4 pots for every 3 pans for every 21 glasses. All together there are 476 of these items. How many pans are there?