The number 17874 (seventeen thousand eight hundred seventy-four) is written in Roman numerals as follows: XVIIDCCCLXXIV