The number 16874 (sixteen thousand eight hundred seventy-four) is written in Roman numerals as follows: XVIDCCCLXXIV