The number 51874 (fifty-one thousand eight hundred seventy-four) is written in Roman numerals as follows: LIDCCCLXXIV