The number 18874 (eighteen thousand eight hundred seventy-four) is written in Roman numerals as follows: XVIIIDCCCLXXIV