The number 58871 (fifty-eight thousand eight hundred seventy-one) is written in Roman numerals as follows: LVIIIDCCCLXXI