The number 90871 (ninety thousand eight hundred seventy-one) is written in Roman numerals as follows: XCDCCCLXXI