Nitrogen-rich and Sulfur-rich Gas in the Crab Nebula