A non-metal X reacts with concentrated nitric acid to form carbon dioxide, water and nitrogen dioxide. What is X?