The number 10874 (ten thousand eight hundred seventy-four) is written in Roman numerals as follows: XDCCCLXXIV