100 is written as C, 500 is D, and 1000 is M in Roman numerals.