The number 871258 (eight hundred seventy-one thousand two hundred fifty-eight) is written in Roman numerals as follows: DCCCLXXICCLVIII