A healthy compost pile should have much more carbon than nitrogen.
Carbon-rich matter (like branches, stems, dried leaves, peels, bits of wood, bark dust or sawdust pellets, shredded brown paper bags, corn stalks, coffee filters, conifer needles, egg shells, straw, peat moss, wood ash) gives compost its light, fluffy body.
Nitrogen or protein-rich matter (manures, food scraps, green lawn clippings, and green leaves) provides raw materials for making enzymes.
A healthy compost pile should have much more carbon than nitrogen. A simple rule of thumb is to use one-third green and two-thirds brown materials. The bulkiness of the brown materials allows oxygen to penetrate and nourish the organisms that reside there. Too much nitrogen makes for a dense, smelly, slowly decomposing anaerobic mass. Good composting hygiene means covering fresh nitrogen-rich material, which can release odors if exposed to open air, with carbon-rich material, which often exudes a fresh, wonderful smell. If in doubt, add more carbon!
Chart Below should help you classify you compost items: