The number 99871 (ninety-nine thousand eight hundred seventy-one) is written in Roman numerals as follows: XCIXDCCCLXXI