The number 30874 (thirty thousand eight hundred seventy-four) is written in Roman numerals as follows: XXXDCCCLXXIV